From juanrodriguezhortala at yahoo.es Sat Jul 8 12:13:25 2006 From: juanrodriguezhortala at yahoo.es (=?iso-8859-1?q?Juan=20Rodr=EDguez=20Hortal=E1?=) Date: Sat Jul 8 12:04:03 2006 Subject: [Fedora-haskell] Problem building wxhaskell-0.9.4-1.src.rpm Message-ID: <20060708161325.9541.qmail@web25113.mail.ukl.yahoo.com> Helllo everyone!!!, I have had this problem trying to build wxhaskell, can anybody help me? [root@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.87922 + 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.87922 + 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 /bin/sh: g++: command not found make: *** [out/wxc/ewxw_main.o] Error 127 error: Bad exit status from /var/tmp/rpm-tmp.87922 (%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.87922 (%build) Thanks in advance --------------------------------- 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/20060708/595d31ab/attachment.htm From petersen at haskell.org Sun Jul 9 21:35:54 2006 From: petersen at haskell.org (Jens Petersen) Date: Sun Jul 9 21:26:25 2006 Subject: [Fedora-haskell] Problem building wxhaskell-0.9.4-1.src.rpm In-Reply-To: <20060708161325.9541.qmail@web25113.mail.ukl.yahoo.com> References: <20060708161325.9541.qmail@web25113.mail.ukl.yahoo.com> Message-ID: <44B1AEFA.4020000@haskell.org> Juan Rodr?guez Hortal? wrote: > Helllo everyone!!!, I have had this problem trying to build wxhaskell, > can anybody help me? > 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 > /bin/sh: g++: command not found Sounds like you don't have gcc+c++ installed. I'll add it to the buildrequires, though usually it is assumed in a basic build environment I think. Hope that helps, Jens From seth at cql.com Sun Jul 9 23:37:18 2006 From: seth at cql.com (Seth Kurtzberg) Date: Sun Jul 9 23:05:30 2006 Subject: [Fedora-haskell] Problem building wxhaskell-0.9.4-1.src.rpm In-Reply-To: <44B1AEFA.4020000@haskell.org> References: <20060708161325.9541.qmail@web25113.mail.ukl.yahoo.com> <44B1AEFA.4020000@haskell.org> Message-ID: <3158.71.39.132.67.1152502638.squirrel@mail.cql.com> On Sun, July 9, 2006 6:35 pm, Jens Petersen wrote: > Juan Rodr?guez Hortal? wrote: >> Helllo everyone!!!, I have had this problem trying to build wxhaskell, >> can anybody help me? > >> 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 >> /bin/sh: g++: command not found > > Sounds like you don't have gcc+c++ installed. If it is installed, g++ may not be in the search path. > > I'll add it to the buildrequires, though usually it is assumed in a > basic build environment I think. > > Hope that helps, > > Jens > _______________________________________________ > Fedora-haskell mailing list > Fedora-haskell@haskell.org > http://www.haskell.org//mailman/listinfo/fedora-haskell > > -- Seth Kurtzberg seth@cql.com Software Engineer Specializing in Reliability and Security From petersen at haskell.org Sun Jul 9 23:29:58 2006 From: petersen at haskell.org (Jens Petersen) Date: Sun Jul 9 23:20:32 2006 Subject: [Fedora-haskell] Problem building wxhaskell-0.9.4-1.src.rpm In-Reply-To: <3158.71.39.132.67.1152502638.squirrel@mail.cql.com> References: <20060708161325.9541.qmail@web25113.mail.ukl.yahoo.com> <44B1AEFA.4020000@haskell.org> <3158.71.39.132.67.1152502638.squirrel@mail.cql.com> Message-ID: <44B1C9B6.5070806@haskell.org> Seth Kurtzberg wrote: > On Sun, July 9, 2006 6:35 pm, Jens Petersen wrote: >> Juan Rodr?guez Hortal? wrote: >>> Helllo everyone!!!, I have had this problem trying to build wxhaskell, >>> can anybody help me? >>> 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 >>> /bin/sh: g++: command not found >> Sounds like you don't have gcc+c++ installed. Sorry for the typo: the package name is gcc-c++ > If it is installed, g++ may not be in the search path. Well it is in /usr/bin. But if /usr/bin is not in your path then yes, you're making life hard for yourself and rpmbuild... Jens From juanrodriguezhortala at yahoo.es Mon Jul 10 16:30:48 2006 From: juanrodriguezhortala at yahoo.es (=?iso-8859-1?q?Juan=20Rodr=EDguez=20Hortal=E1?=) Date: Mon Jul 10 16:21:17 2006 Subject: [Fedora-haskell] Re: Problem building wxhaskell-0.9.4-1.src.rpm Message-ID: <20060710203048.57923.qmail@web25110.mail.ukl.yahoo.com> 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@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) /usr/include/wx-2.6/wx/string.h:846: nota: wxString& wxString::operator=(wxChar) /usr/include/wx-2.6/wx/string.h:860: nota: wxString& wxString::operator=(const wxWCharBuffer&) /usr/include/wx-2.6/wx/string.h:611: nota: wxString& wxString::operator=(const wxString&) 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) /usr/include/wx-2.6/wx/string.h:633: nota: wxString::wxString(int) 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) /usr/include/wx-2.6/wx/string.h:633: nota: wxString::wxString(int) 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 From petersen at haskell.org Mon Jul 10 19:51:01 2006 From: petersen at haskell.org (Jens Petersen) Date: Mon Jul 10 19:41:30 2006 Subject: [Fedora-haskell] Re: Problem building wxhaskell-0.9.4-1.src.rpm In-Reply-To: <20060710203048.57923.qmail@web25110.mail.ukl.yahoo.com> References: <20060710203048.57923.qmail@web25110.mail.ukl.yahoo.com> Message-ID: <44B2E7E5.6070806@haskell.org> Juan Rodr?guez Hortal? wrote: > now I get another kind of error (my system is in spanish sorry): Could you please run "LANG=C rpmbuild --rebuild wxhaskell-0.9.4-1.src.rpm" to get the buildlog in English. > [root@brigida srpm]# rpmbuild --rebuild wxhaskell-0.9.4-1.src.rpm Building rpms as root is strongly discouraged btw. Which version of Fedora Core are you building for btw? Jens From petersen at haskell.org Tue Jul 11 05:11:18 2006 From: petersen at haskell.org (Jens Petersen) Date: Tue Jul 11 05:01:51 2006 Subject: [Fedora-haskell] Re: Problem building wxhaskell-0.9.4-1.src.rpm In-Reply-To: <44B2E7E5.6070806@haskell.org> References: <20060710203048.57923.qmail@web25110.mail.ukl.yahoo.com> <44B2E7E5.6070806@haskell.org> Message-ID: <44B36B36.5040708@haskell.org> Jens Petersen wrote: > Could you please run "LANG=C rpmbuild --rebuild > wxhaskell-0.9.4-1.src.rpm" to get the buildlog in English. Ok, I reproduced the problem on my FC5 box. I have a feeling the wxGTK in Fedora Extras may be too new for wxhaskell. I also tried now with compat-wxGTK2-devel-2.4.2-17.fc5 but got a different build error: wxc/src/extra.cpp:224: error: cast from 'wxInputStream*' to 'int' loses precision I suggest seeking advice on the wxhaskell-users list. I admit I haven't built it in a while... Jens From juanrodriguezhortala at yahoo.es Thu Jul 13 05:12:02 2006 From: juanrodriguezhortala at yahoo.es (=?iso-8859-1?q?Juan=20Rodr=EDguez=20Hortal=E1?=) Date: Thu Jul 13 05:02:22 2006 Subject: [Fedora-haskell] Re: Problem building wxhaskell-0.9.4-1.src.rpm Message-ID: <20060713091202.92568.qmail@web25106.mail.ukl.yahoo.com> Hello again. Now I have tried with the sources from [bc24us@genaro GUI]$ cvs -z3 -d:pserver:anonymous@wx...:/cvsroot/wxhaskell co -P wxhaskell and with an unicode patch for wxhaskell made by Eric Kow from the wxhaskell mailing list: [bc24us@genaro wxhaskell]$ wget http://www.loria.fr/~kow/download/patch-wxhaskell-unicode-08 [bc24us@genaro wxhaskell]$ cd wxhaskell/ [bc24us@genaro wxhaskell]$ patch -p1 < ../patch-wxhaskell-unicode-08 Now I'm in Fedora Core 4 x86_64, and I get the same error: [bc24us@genaro wxhaskell]$ LANG=C make g++ -c wxc/src/extra.cpp -o out/wxc/extra.o -MD -I/usr/lib64/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/src/extra.cpp: In member function 'int wxInputSink::GetId()': wxc/src/extra.cpp:224: error: cast from 'wxInputStream*' to 'int' loses precision make: *** [out/wxc/extra.o] Error 1 So I'm afraid that all we can do is waiting for an update ... --------------------------------- 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/20060713/e19449ca/attachment.htm