| Summary: | gcc-3.4.6 fails to compile with gcj (libjava) option | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | Robert Bradbury <robert.bradbury> |
| Component: | [OLD] Development | Assignee: | Gentoo Linux bug wranglers <bug-wranglers> |
| Status: | RESOLVED NEEDINFO | ||
| Severity: | normal | ||
| Priority: | High | ||
| Version: | unspecified | ||
| Hardware: | All | ||
| OS: | Linux | ||
| URL: | N/a | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
| Attachments: | emerge --info | ||
|
Description
Robert Bradbury
2009-04-09 12:12:45 UTC
Please post your "emerge --info" and attach the config.log file of the failed emerge to this bug. Created attachment 187869 [details]
emerge --info
Can't attach the config/build log (its too simple to remove gcj from the USE flags and recompile it -- which does work, but overwrites and then deletes the contents of the build directory). Best I can do is the output from the build that failed... It looks like the critical parts are: ... creating ./config.status creating Makefile creating include/Makefile Configuring in i686-pc-linux-gnu/libjava creating cache ./config.cache checking whether ln -s works... yes checking for a BSD compatible install... /bin/install -c checking whether build environment is sane... yes ... checking for memcpy... yes checking for dlopen in -ldl... (cached) no checking for socket libraries... checking for connect... yes checking for gethostbyname... yes checking for deflate in -lz... yes checking for pkg-config... /usr/bin/pkg-config checking for GTK+ - version >= 2.2.0... no *** Could not run GTK+ test program, checking why... *** The test program failed to compile or link. See the file config.log for the *** exact error that occured. This usually means GTK+ is incorrectly installed. make[1]: *** [configure-target-libjava] Error 1 I think I checked this last time this version of gcc wouldn't compile and I think the configure "GTK+" test is trying to compile a program with a function that is no longer in up-to-date GTK (2.14.7) libraries. Check the libjava configure file to see how it is checking the GTK+ version. Bad excuse. You can simply re-enable the USE flag and re-emerge the affected gcc-package. |