Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 10324 - dev-python/wxPython-2.3.3.1-r2 fails to compile
Summary: dev-python/wxPython-2.3.3.1-r2 fails to compile
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Unspecified (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: SpanKY
URL:
Whiteboard:
Keywords:
: 10344 (view as bug list)
Depends on:
Blocks:
 
Reported: 2002-11-06 05:32 UTC by slak
Modified: 2003-02-04 19:42 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description slak 2002-11-06 05:32:30 UTC
building 'wxc' extension
...
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 -mcpu=athlon-xp -O3 -pipe
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: The ebuild did not complete successfully.
!!! Function src_compile, Line 49, Exitcode 1
!!! build failed ... make sure you compiled wxGTK with all the graphic libraries enabled via USE
Comment 1 SpanKY gentoo-dev 2002-11-06 07:56:08 UTC
did you do what the error message said to ?

!!! build failed ... make sure you compiled wxGTK with all the graphic librarie/s enabled via USE

in other words, did you compile wxGTK with 'tiff' in your USE variable ?
Comment 2 SpanKY gentoo-dev 2002-11-07 01:24:19 UTC
*** Bug 10344 has been marked as a duplicate of this bug. ***
Comment 3 Andre Restivo 2002-11-07 14:57:57 UTC
It still doesn't work for me (as reported in bug 10344) even with tiff and
openGL in the USE variables :-(
Comment 4 SpanKY gentoo-dev 2002-11-07 15:19:03 UTC
do this:  
`env USE="jpeg png opengl gif tiff zlib gtk X" emerge wxGTK wxPython`