Summary: | mod_php will not compile with gcc 3 | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | simprix <simprix> |
Component: | [OLD] GCC Porting | Assignee: | Martin Schlemmer (RETIRED) <azarah> |
Status: | RESOLVED WORKSFORME | ||
Severity: | normal | CC: | mholzer |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | x86 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
simprix
2003-03-16 17:08:34 UTC
Do an 'emerge rsync', and make sure /usr/portage/sys-devel/gcc/ChangeLog contains: -------------------------------- 09 Mar 2003; Martin Schlemmer <azarah@gentoo.org> gcc-3.2.2*.ebuild : Fix handling of fix_libtool_files.sh to be more $FILESDIR independant. We basically install it to /sbin now, and then call it from there. Also export LD_LIBRARY_PATH with new gcc library path in it to prevent gcc-config from borking when run. This will hopefully fix bugs #15288, #16632, #16797. -------------------------------- Then run: # fix_libtool_files.sh 3.2.1 grep: /usr/lib/gcc-lib/i586-pc-linux-gnu/3.2.1/libstdc++.la: No such file or directory sed: can't read /usr/lib/gcc-lib/i586-pc-linux-gnu/3.2.1/libstdc++.la: No such file or directory libtool: link: `/usr/lib/gcc-lib/i586-pc-linux-gnu/3.2.1/libstdc++.la' is not a valid libtool archive make: *** [libphp4.la] Error 1 !!! ERROR: dev-php/mod_php-4.3.1 failed. !!! Function src_compile, Line 221, Exitcode 2 !!! compile problem same thing, I may be doing something wrong The problem is that some or other libtool linker script (.la file) still have references to gcc-3.2.1's libs. This is what the 'fix_libtool_files.sh 3.2.1' command is for ... to look for all files with references to gcc-3.2.1, and fix them. If running it did not fix it, do something like: # find / -type f -name '*.la' -exec grep -l 'i586-pc-linux-gnu\/3\.2\.1' {} \; And edit that file. Please let me know which one it was .... Hi .. and ? Did what I asked gave any results? Are you still interested in getting this solved ? running that command gives me /usr/lib/libaspell.la /usr/lib/libpspell.la there's a script in /usr/portage/sys-devel/gcc/files called fixlibtool or some such. Just run that, and all will be well. From comment #6 I gather that # fix_libtool_files.sh 3.2.1 was not run, else it would have fixed aspell's libtool linker scripts. Please run this and reopen if still issues. |