View previous topic :: View next topic |
Author |
Message |
highfort n00b
Joined: 04 Nov 2002 Posts: 1
|
Posted: Mon Nov 04, 2002 12:38 am Post subject: compile problem with wxPython-2.3.3.1-r2.ebuild |
|
|
Running Gentoo 1.4, I am trying to emerge -u world. The update to wxPython is failing. The error messages are:
Code: |
gcc -DNDEBUG -fPIC -DSWIG_GLOBAL -DHAVE_CONFIG_H -DWXP_USE_THREAD=1 -Isrc -I/usr/include/python2.2 -c src/gtk/image.cpp -o build/temp.linux-i686-2.2/src/gtk/image.o -I/usr/lib/wx/include/gtk-2.3 -DGTK_NO_CHECK_CASTS -D__WXGTK__ -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/X11R6/include -UNDEBUG -march=athlon -O3 -pipe -fomit-frame-pointer -ffast-math -fforce-addr -falign-functions=4
src/gtk/image.cpp: In function `void*
SwigwxTIFFHandlerTowxImageHandler(void*)':
src/gtk/image.cpp:1220: `wxTIFFHandler' undeclared (first use this function)
src/gtk/image.cpp:1220: (Each undeclared identifier is reported only once for
each function it appears in.)
src/gtk/image.cpp:1220: `src' undeclared (first use this function)
src/gtk/image.cpp:1222: parse error before `)' token
src/gtk/image.cpp: In function `void* SwigwxTIFFHandlerTowxObject(void*)':
src/gtk/image.cpp:1230: parse error before `)' token
src/gtk/image.cpp: In function `PyObject* _wrap_new_wxTIFFHandler(PyObject*,
PyObject*, PyObject*)':
src/gtk/image.cpp:1238: `_result' undeclared (first use this function)
src/gtk/image.cpp:1247: parse error before `)' token
src/gtk/image.cpp:1247: parse error before `(' token
error: command 'gcc' failed with exit status 1
|
If I run configure --with-libtiff directly in the work directory and then do a 'make', it compiles fine. But compiling through setup.py doesn't seem to work.
Any ideas? |
|
Back to top |
|
|
Stuartje Apprentice
Joined: 12 Dec 2002 Posts: 165
|
Posted: Thu Dec 12, 2002 3:28 pm Post subject: |
|
|
Same problem:
Code: |
src/gtk/image.cpp: In function `void*
SwigwxTIFFHandlerTowxImageHandler(void*)':
src/gtk/image.cpp:1220: `wxTIFFHandler' undeclared (first use this function)
src/gtk/image.cpp:1220: (Each undeclared identifier is reported only once for
each function it appears in.)
src/gtk/image.cpp:1220: `src' undeclared (first use this function)
src/gtk/image.cpp:1222: parse error before `)' token
src/gtk/image.cpp: In function `void* SwigwxTIFFHandlerTowxObject(void*)':
src/gtk/image.cpp:1230: parse error before `)' token
src/gtk/image.cpp: In function `PyObject* _wrap_new_wxTIFFHandler(PyObject*,
PyObject*, PyObject*)':
src/gtk/image.cpp:1238: `_result' undeclared (first use this function)
src/gtk/image.cpp:1247: parse error before `)' token
src/gtk/image.cpp:1247: parse error before `(' token
error: command 'gcc' failed with exit status 1
!!! ERROR: dev-python/wxPython-2.3.3.1-r2 failed.
!!! Function src_compile, Line 49, Exitcode 1
!!! build failed ... make sure you compiled wxGTK with all the graphic libraries enabled via USE
|
|
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|