Please update wxgtk and wxpython to their latest versions. PySoulSeek 0.4.7 requires wxpython 3.3.3+ (latest is 3.3.3.1).. an dlatest for wxgtk is 3.3.3 For wxgtk, renaming the .ebuild does the job WxPython's source file is wxPythonSrc-<version>.tar.gz.. I dont know how to fix that automatically (otherwise I would have submitted an modified ebuild)...
heh i was already doing that ... wxGTK was easy, but wxPython has changed a lot :/
I get bug 9470 while trying to compile wxgtk tho....
my comment #8 in Bug 9470 points to comment #1 in Bug 9663 ... its the current 'fix' for making the 2.3.x series of wxGTK compile ...
wxGTK-2.3.3 has been added (has the fix for #9470)
hey raker, take a look at updating wxPython ? theyve changed things since the last version ... and you seem to be pretty tight with this package ...
wxPython-2.3.3.1 added to cvs ... could you *please* check it out and make sure it works ... this ebuild is *drastically* different from the previous ones because it has been changed upstream bigtime http://www.gentoo.org/cgi-bin/viewcvs.cgi/gentoo-x86/dev-python/wxPython/wxPython-2.3.3.1.ebuild?rev=1.1&content-type=text/vnd.viewcvs-markup
A few problems with the ebuild.. First, wxPython now includes its own wxGTK, it no longer requires an external one, but it can use the version installed independantly on the system too.. I dont know what you prefer The current ebuild only builds the wxgtk part.. You also need to run the setup.py in the wxPython subdir to install the python part.. Check the README.1st.txt in the wxPython tarball.... I tried emerging it on my system using a slightly modified version of the 2.3.2.* ebuild (adding a MY_P and a /wxPython in th eright places), but it complains about tiff stuff.. I dont really know why...
ok, i assumed that running ./configure;make in the root would do the wxPython stuff for me ... ill check that out, thanks
regarding tiff... tiff cannot be an optional depend... it is required... the configure script gives you the option for disabling support for it but it doesn't disable tiff-related code... hence the error..
ok, i added the comments to this version ... test it please :) http://www.gentoo.org/cgi-bin/viewcvs.cgi/gentoo-x86/dev-python/wxPython/wxPython-2.3.3.1-r1.ebuild?rev=1.1&content-type=text/vnd.viewcvs-markup
with this latest version i was able to get a python package that depended on wxGTK-2.3.3 and wxPython-2.3.3.1 to compile/install ... it hadnt with the earlier versions ...
It balks on TIFF...
configure or make stage ? post the error ?
Here is the error I get while trying to compile dev-python/wxPython-2.3.3.1-r1 I get the -NDEBUG warning for every file compiled in the wxPython part (not the built-in wxGTK part of the ebuild) gcc -NDEBUG -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=pentium4 -O3 -pipe gcc: unrecognized option `-NDEBUG' 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 -48, Exitcode 1 !!! (no error message)
FOR SpanKY 1) myconf="" if [ `use opengl` ] ; then myconf="${myconf} BUILD_GLCANVAS=1" else myconf="${myconf} BUILD_GLCANVAS=0" patch -p1 < ${FILESDIR}/noglcanvas.diff || die "patch failed" fi ^^^^^^^^^^^^ This is patch always failed. Original file setup.py changed. Patch not changed. Change patch please. 2)Why you compiles wxGTK again? When wxPython compiled he use wxGTK library instaled in system. wxGTK which instaled in system may not compiled with opton --whith-tiff? when wxPython failed (balcks on TIFF). FOR Olivier Crete : You neded remerge wxGTK with USE=tiff
hmm, so i didnt realize that all the extra stuff was simply wxGTK ... guess ill just rtfm next time and ill have an -r2 out that fixes this junk ;) thx boruss
try this one: http://www.gentoo.org/cgi-bin/viewcvs.cgi/gentoo-x86/dev-python/wxPython/wxPython-2.3.3.1-r2.ebuild#rev1.1
The last one was a success.. It works great.. One last comment, it would be great to add a comment in the wxPython ebuild notifying users that wxGTK needs to be compiled with all the graphics libs (tiff, etc) USE flags on. Maybe on the "|| die".
good call ... ill make it look like: die "make failed ... make sure wxGTK was compiled with all graphic libs enabled"