Problem building wxhaskell-0.9.4-1.src.rpm

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

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

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

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
participants (3)
-
Jens Petersen
-
Juan Rodríguez Hortalá
-
Seth Kurtzberg