Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 4809 - wxPython cannot be installed
Summary: wxPython cannot be installed
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Nick Hadaway
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-07-10 09:30 UTC by Low Kian seong
Modified: 2002-09-02 11:22 UTC (History)
1 user (show)

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


Attachments
wxPython emerge output (report_wxPython.txt,15.79 KB, text/plain)
2002-07-10 09:45 UTC, Low Kian seong
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Low Kian seong 2002-07-10 09:30:03 UTC
The ebuild for wxPython cannot be emerged.  
 
I got this output : 
gcc -DNDEBUG -mcpu=athlon -march=athlon -mmmx -m3dnow -O3 -pipe -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_REENTRANT 
-fno-rtti -fno-exceptions -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 
-I/usr/lib/glib/include -I/usr/X11R6/include -mcpu=athlon -march=athlon -mmmx 
-m3dnow -O3 -pipe 
src/gtk/image.cpp: In function `void* 
SwigwxTIFFHandlerTowxImageHandler(void*)': 
src/gtk/image.cpp:896: `wxTIFFHandler' undeclared (first use this function) 
src/gtk/image.cpp:896: (Each undeclared identifier is reported only once for 
each function it appears in.) 
src/gtk/image.cpp:896: `src' undeclared (first use this function) 
src/gtk/image.cpp:898: parse error before `)' token 
src/gtk/image.cpp: In function `void* SwigwxTIFFHandlerTowxObject(void*)': 
src/gtk/image.cpp:906: parse error before `)' token 
src/gtk/image.cpp: In function `PyObject* _wrap_new_wxTIFFHandler(PyObject*, 
PyObject*, PyObject*)': 
src/gtk/image.cpp:914: `_result' undeclared (first use this function) 
src/gtk/image.cpp:923: parse error before `)' token 
src/gtk/image.cpp:923: parse error before `(' token 
error: command 'gcc' failed with exit status 1 
 
!!! ERROR: The ebuild did not complete successfully. 
!!! Function src_compile, Line 32, Exitcode 1 
!!! (no error message) 
 
!!! emerge aborting on  
/usr/portage/dev-python/wxPython/wxPython-2.3.2.1-r1.ebuild
Comment 1 Low Kian seong 2002-07-10 09:45:56 UTC
Created attachment 2115 [details]
wxPython emerge output

this is the output when i tried to emerge the second time. I don't think it's a
gcc problem as I tried it using a system using 2.96 also with same results. I
also have Python-2.1 on my system
Comment 2 Jon Nelson (RETIRED) 2002-07-16 20:40:32 UTC
What version of gcc are you using?
Comment 3 Low Kian seong 2002-07-17 22:13:18 UTC
gcc version tried = 3.1 and 2.96
Comment 4 Ilian Zarov 2002-07-30 17:45:11 UTC
 I can confirm this on my gcc3 system, though emerging twice gives the same result 
(void* SwigwxTIFFHandlerTowxImageHandler(void*)). Seems to me it's a problem 
with wxPython itself, maybe it should go upstream. I just hope it gets noticed as 
there are quite a bit of unassigned bugs on sf.net/projects/wxPython. 
Comment 5 Nick Hadaway 2002-08-20 14:14:49 UTC
I have a post submitted to the wx-dev list and am waiting for a response.

Of the research I have done so far, it looks like things SHOULD be working 
properly as the stated functions are declared in <wx/imagtiff.h> which is 
included by <wx/image.h> which is in the src/gtk/image.cpp file which is 
failing compile.

For some reason the compiler isn't including these files otherwise the 
functions would already by declared.

As I do more research and find a solution I will post on this bug report.
Comment 6 Nick Hadaway 2002-08-21 08:35:15 UTC
Make sure that wxGTK has been compiled with tiff support.

Add tiff to your use variables in /etc/make.conf and then re-emerge wxGTK.

That should get rid of the error you mention here with the wxPython compile.

I am currently testing the ebuild with tiff support enabled.  I will post on
this bug report when I finish.
Comment 7 Nick Hadaway 2002-08-22 14:41:55 UTC
wxPython-2.3.2.1-r1 has been updated and it should now compile without error.
GLCANVAS and GIZMOS extensions are now forced to not install as they are 
failing compiles currently.

The new ebuild should be available on rsync servers within 24 hours.
Please report back on this bug report if compilation was successful.

When either or both of the extensions are fixed, wxPython will move to -r2 as 
additional support is added into the ebuild.
Comment 8 Nick Hadaway 2002-08-29 23:49:20 UTC
both the GLCANVAS and GIZMOS extensions have been enabled.   
wxPython-2.3.2.1-r2 contains the fixes.  PyOpenGL is now a required dependancy  
for opengl support.  The new ebuilds for PyOpenGL and wxPython should be  
available in portage within 24 hours.  
  
emerge rsync  
emerge wxPython 
 
Please report back on this bug with your experiences with the new ebuilds. 
Comment 9 Nick Hadaway 2002-09-02 11:22:45 UTC
many reports of compilation success.  closing bug report.