The ebuild for wxGTK-2.3.2-r2 breaks upon emerging. I did try other versions of wxGTK, as well as downloading 2.3.3. I searched on the forums and found another complaint about the same problem. Below is the error report from the emerge. talli ------ ++ -c -D_GNU_SOURCE -D__WXGTK__ -D_REENTRANT -DGTK_NO_CHECK_CASTS -fno-rtti -fno-exceptions -MMD -mcpu=i686 -pipe -O2 -I./lib/wx/include/gtk-2.3 -I./include -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/X11R6/include -Wall -fPIC -o fs_zip.o ./src/common/fs_zip.cpp In file included from ./src/common/fs_zip.cpp:38: src/common/unzip.h:130: syntax error before `(' src/common/unzip.h:143: syntax error before `(' src/common/unzip.h:154: syntax error before `(' src/common/unzip.h:161: syntax error before `(' src/common/unzip.h:169: syntax error before `(' src/common/unzip.h:182: syntax error before `(' src/common/unzip.h:188: syntax error before `(' src/common/unzip.h:195: syntax error before `(' src/common/unzip.h:208: syntax error before `(' src/common/unzip.h:234: syntax error before `(' src/common/unzip.h:240: syntax error before `(' src/common/unzip.h:247: syntax error before `(' src/common/unzip.h:261: syntax error before `(' src/common/unzip.h:266: syntax error before `(' src/common/unzip.h:271: syntax error before `(' ./src/common/fs_zip.cpp: In method `wxZipFSHandler::~wxZipFSHandler()': ./src/common/fs_zip.cpp:61: implicit declaration of function `int unzClose(...)' ./src/common/fs_zip.cpp: In method `class wxString wxZipFSHandler::FindFirst(const wxString &, int = 0)': ./src/common/fs_zip.cpp:138: implicit declaration of function `int unzOpen(...)' ./src/common/fs_zip.cpp:144: implicit declaration of function `int unzGoToFirstFile(...)' ./src/common/fs_zip.cpp: In method `class wxString wxZipFSHandler::DoFind()': ./src/common/fs_zip.cpp:181: implicit declaration of function `int unzGetCurrentFileInfo(...)' ./src/common/fs_zip.cpp:212: implicit declaration of function `int unzGoToNextFile(...)' make: *** [fs_zip.o] Error 1 !!! ERROR: The ebuild did not complete successfully. !!! Function src_compile, Line -109, Exitcode 2 !!! make failed
which version of GCC?
I was using gcc 2.95.3-r7. This morning, I updated to gcc 3.2-r2. However, upon emerging wxGTK, I received the same error. talli
Someone else also posted this issue on the forums here: http://forums.gentoo.org/viewtopic.php?t=19208 talli
has anyone been able to look at this yet? talli
I have not been able to recreate this problem... how much RAM does your system have?
i have 256 MB of RAM for a 667Mhz PIII talli
raker: i'm experiencing this problem on my box, if you want you can debug the pkg on my machine
http://bugs.gentoo.org/show_bug.cgi?id=9663 but oddly enough, the src code does #include "../zlib/zconf.h" ... but that comment fixed this problem for me ...
blackiepagano root # qpkg -f /usr/X11R6/include/zconf.h x11-base/xfree * blackiepagano root # qpkg -f /usr/include/zconf.h sys-libs/zlib * blackiepagano root # This brings us to a dilemma... but I would think that the zconf.h and zlib.h from xfree86 shouldn't be installed... I"ll post more here as more is learned.
Ok, xfree should be fixed. I do not know if you want to change wxGTK's pkg_setup() to something like: pkg_setup() { # xfree should not install these, remove until the fixed # xfree is in main use. rm -f /usr/X11R6/include/{zconf.h,zlib.h} } Not clean, but is going to be the most "user friendly" approach.
i just added the fix to cvs, have fun guys :)