Summary: | wxGTK 2.6.0 doesn't compile | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Joerg Erdmenger <joe> |
Component: | [OLD] Library | Assignee: | Gentoo wxWidgets project <wxwidgets> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | provicemo, radek |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Joerg Erdmenger
2005-05-03 08:46:17 UTC
Please try it with CFLAGS="-march=pentium3 -pipe -O2" and let us know if that works. If that doesn't work, please post the output of "emerge -pv =x11-libs/wxGTK-2.6.0" so I can see what USE flags were picked up. If anyone else has this problem, unmerging 2.4.2 probably isn't a good idea. Only three packages use wxGTK-2.6.0 at the moment, so 2.4.2 is still needed by the 27 other wx* packages in portage. I just tried with CFLAGS="-O2 -march=athlon-xp -pipe" opposed to my usual CFLAGS="-O3 -march=athlon-xp -msse -mmmx -m3dnow -momit-leaf-frame-pointer -fomit-frame-pointer -funroll-loops -ftracer -ffast-math -fprefetch-loop-arrays -finline-limit=600 -mfpmath=387 -pipe" and recieved the same error as the original poster. # emerge -pv x11-libs/wxGTK These are the packages that I would merge, in order: Calculating dependencies ...done! [ebuild NS ] x11-libs/wxGTK-2.6.0 -debug -dmalloc -doc -gnome +gtk2 -joystick +jpeg -odbc +opengl +png -sdl -tiff +unicode -wxgtk1 -zlib 0 kB Could one of you please try emerging again and tell me if it says yes or no for these two lines? Its about 40 lines down after the emerge starts, then you can quit: checking for --enable-ffile... yes checking for --enable-file... yes I'm testing out this change, if you try it and it works, please let me know. Its just a one line change in /usr/portage/eclass/wxlib.eclass --- wxlib.eclass.org 2005-05-03 16:44:39.763513912 -0700 +++ wxlib.eclass 2005-05-03 16:45:09.837941904 -0700 @@ -85,6 +85,7 @@ fi ${S}/configure --enable-monolithic \ --host=${CHOST} \ + --disable-debugreport \ --libdir=/usr/$(get_libdir) \ --prefix=/usr \ --infodir=/usr/share/info \ Making the change to /usr/portage/eclass/wxlib.eclass makes it compile fine. And this does appear: checking for --enable-ffile... yes checking for --enable-file... yes Ok, thanks Ben. I committed the new eclass to CVS. I'm not sure why a few people had this problem but after some research debugreport doesn't seem necessary and wxpython suggests disabling it anyways. Feel free to re-open if you get the same error. |