[Fedora-haskell] Re: Problem building wxhaskell-0.9.4-1.src.rpm
Juan Rodríguez Hortalá
juanrodriguezhortala at yahoo.es
Mon Jul 10 16:30:48 EDT 2006
Here I come again. You were right, gcc-c++ wasn't installed. After installing it I have tried again and now I get another kind of error (my system is in spanish sorry):
[root at brigida srpm]# rpmbuild --rebuild wxhaskell-0.9.4-1.src.rpm
Installing wxhaskell-0.9.4-1.src.rpm
warning: user petersen does not exist - using root
warning: group petersen does not exist - using root
warning: user petersen does not exist - using root
warning: group petersen does not exist - using root
warning: user petersen does not exist - using root
warning: group petersen does not exist - using root
Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.12579
+ umask 022
+ cd /usr/src/redhat/BUILD
+ cd /usr/src/redhat/BUILD
+ rm -rf wxhaskell-0.9.4
+ /usr/bin/unzip -qq /usr/src/redhat/SOURCES/wxhaskell-src-0.9.4.zip
+ STATUS=0
+ '[' 0 -ne 0 ']'
+ cd wxhaskell-0.9.4
++ /usr/bin/id -u
+ '[' 0 = 0 ']'
+ /bin/chown -Rhf root .
++ /usr/bin/id -u
+ '[' 0 = 0 ']'
+ /bin/chgrp -Rhf root .
+ /bin/chmod -Rf a+rX,u+w,g-w,o-w .
+ exit 0
Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.47335
+ umask 022
+ cd /usr/src/redhat/BUILD
+ cd wxhaskell-0.9.4
+ ./configure --hc=ghc-6.4 --hcpkg=ghc-pkg-6.4 --libdir=/usr/lib/ghc-6.4/wx --with-opengl
checking system:
wx-config found
ghc-6.4 found
ghc-pkg-6.4 found
haddock found
install program found
creating configuration files:
config
config/config.mk
config/wxcore.pkg
config/wx.pkg
config/wxhaskell-register.bat
config/wxhaskell-unregister.bat
config/setcd
config/macosx-install.info
config/macosx-postinstall
config/macosx-app
config/wxhaskell.spec
config/prologue.txt
config/cache.txt
configuration:
library: wxhaskell-0.9.4 (release 0)
compiler: ghc-6.4
wxwidgets: gtk-2.6.3
with openGL: yes
library dir: /usr/lib/ghc-6.4/wx
done:
type 'make' to build wxhaskell.
type 'make install' to install wxhaskell.
type 'make help' to receive help on all other make targets
+ make all doc
g++ -c wxc/src/ewxw_main.cpp -o out/wxc/ewxw_main.o -MD -I/usr/lib/wx/include/gtk2-unicode-release-2.6 -I/usr/include/wx-2.6 -DGTK_NO_CHECK_CASTS -D__WXGTK__ -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -DNO_GCC_PRAGMA -Iwxc/include
wxc/include/wrapper.h: In constructor ELJDragDataObject::ELJDragDataObject(void*, char*, int (*)(void*), int (*)(void*, void*), int (*)(void*, int, const void*)):
wxc/include/wrapper.h:172: error: no se encuentra una función coincidente para la llamada a wxDataObjectSimple::wxDataObjectSimple(char*&)
/usr/include/wx-2.6/wx/dataobj.h:249: nota: los candidatos son: wxDataObjectSimple::wxDataObjectSimple(const wxDataObjectSimple&)
/usr/include/wx-2.6/wx/dataobj.h:202: nota: wxDataObjectSimple::wxDataObjectSimple(const wxDataFormat&)
wxc/include/wrapper.h: In constructor ELJTextValidator::ELJTextValidator(void*, void*, void*, long int):
wxc/include/wrapper.h:257: error: ambiguous overload para operator= en ((ELJTextValidator*)this)->ELJTextValidator::buf = (const char*)_txt
/usr/include/wx-2.6/wx/string.h:627: nota: los candidatos son: wxString& wxString::operator=(int) <coincidencia cercana>
/usr/include/wx-2.6/wx/string.h:846: nota: wxString& wxString::operator=(wxChar) <coincidencia cercana>
/usr/include/wx-2.6/wx/string.h:860: nota: wxString& wxString::operator=(const wxWCharBuffer&) <coincidencia cercana>
/usr/include/wx-2.6/wx/string.h:611: nota: wxString& wxString::operator=(const wxString&) <coincidencia cercana>
wxc/include/wrapper.h: At global scope:
wxc/include/wrapper.h:330: error: tipos de devolución en conflicto especificados para virtual char* ELJConnection::OnRequest(const wxString&, const wxString&, int*, wxIPCFormat)
/usr/include/wx-2.6/wx/ipcbase.h:85: error: sustituyendo virtual wxChar* wxConnectionBase::OnRequest(const wxString&, const wxString&, int*, wxIPCFormat)
wxc/include/wrapper.h: In constructor ELJConnection::ELJConnection(char*, int):
wxc/include/wrapper.h:300: error: no se encuentra una función coincidente para la llamada a wxTCPConnection::wxTCPConnection(char*&, int&)
/usr/include/wx-2.6/wx/sckipc.h:106: nota: los candidatos son: wxTCPConnection::wxTCPConnection(const wxTCPConnection&)
/usr/include/wx-2.6/wx/sckipc.h:65: nota: wxTCPConnection::wxTCPConnection()
/usr/include/wx-2.6/wx/sckipc.h:64: nota: wxTCPConnection::wxTCPConnection(wxChar*, int)
wxc/include/wrapper.h: In constructor ELJPrintout::ELJPrintout(void*, void*, void*, void*, void*, void*, void*, void*, void*, void*):
wxc/include/wrapper.h:412: error: la conversión de char* a const wxString es ambigua
/usr/include/wx-2.6/wx/string.h:643: nota: los candidatos son: wxString::wxString(wxChar, size_t) <coincidencia cercana>
/usr/include/wx-2.6/wx/string.h:633: nota: wxString::wxString(int) <coincidencia cercana>
wxc/include/wrapper.h: In constructor ELJPreviewFrame::ELJPreviewFrame(void*, void*, void*, void*, void*, void*, void*, int, int, int, int, int):
wxc/include/wrapper.h:474: error: la conversión de char* a const wxString es ambigua
/usr/include/wx-2.6/wx/string.h:643: nota: los candidatos son: wxString::wxString(wxChar, size_t) <coincidencia cercana>
/usr/include/wx-2.6/wx/string.h:633: nota: wxString::wxString(int) <coincidencia cercana>
wxc/include/wrapper.h: At global scope:
wxc/include/wrapper.h:534: error: el argumento por defecto para el parámetro del tipo const wxString& tiene el tipo const char [11]
make: *** [out/wxc/ewxw_main.o] Error 1
error: Bad exit status from /var/tmp/rpm-tmp.47335 (%build)
RPM build errors:
user petersen does not exist - using root
group petersen does not exist - using root
user petersen does not exist - using root
group petersen does not exist - using root
user petersen does not exist - using root
group petersen does not exist - using root
Bad exit status from /var/tmp/rpm-tmp.47335 (%build)
Thanks everybody for your help
---------------------------------
LLama Gratis a cualquier PC del Mundo.
Llamadas a fijos y móviles desde 1 céntimo por minuto.
http://es.voice.yahoo.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.haskell.org//pipermail/fedora-haskell/attachments/20060710/b1214d84/attachment.htm
More information about the Fedora-haskell
mailing list