Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 33018 - configuring mod_php fails at checking if gcc works
Summary: configuring mod_php fails at checking if gcc works
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High blocker
Assignee: Robin Johnson
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-11-08 10:37 UTC by Markus Nigbur (RETIRED)
Modified: 2003-11-08 16:30 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Markus Nigbur (RETIRED) gentoo-dev 2003-11-08 10:37:50 UTC
checking for gcc... gcc
checking whether the C compiler (gcc -march=athlon-tbird -O3 -pipe -fforce-addr -fomit-frame-pointer -funroll-loops -falign-functions=4 -maccumulate-outgoing-args ) works... no
configure: error: installation or configuration problem: C compiler cannot create executables.

it happens with 4.3.4 and 4.3.3-r3.
probably an eclass issue, because running configure manually works.
Comment 1 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2003-11-08 16:23:39 UTC
please post the config.log from the build.
Comment 2 Markus Nigbur (RETIRED) gentoo-dev 2003-11-08 16:27:41 UTC
Heh, yes. I just noticed it's ssl related and wanted to provide you this
information :)
Nice how things go some time..

# cat /var/tmp/portage/mod_php-4.3.4/work/php-4.3.4/config.log
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.
 
configure:1638: checking host system type
configure:1726: checking for gcc
configure:1839: checking whether the C compiler (gcc -march=athlon-tbird
-O3 -pipe -fforce-addr -fomit-frame-pointer -funroll-loops -falign-functions=4
-maccumulate-outgoing-args ) works
configure:1855: gcc -o conftest -march=athlon-tbird -O3 -pipe -fforce-addr
-fomit-frame-pointer -funroll-loops -falign-functions=4 -maccumulate-outgoing-args
  conftest.c  -lxmlparse -lxmltok 1>&5
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.2/../../../../i686-pc-linux-gnu/bin/ld:
warning: libssl.so.0.9.6, needed by /usr/lib/libmysqlclient.so.12, not found
(try using -rpath or -rpath-link)
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.2/../../../../i686-pc-linux-gnu/bin/ld:
warning: libcrypto.so.0.9.6, needed by /usr/lib/libmysqlclient.so.12, not
found (try using -rpath or -rpath-link)
/usr/lib/libmysqlclient.so.12: undefined reference to `OpenSSL_add_all_algorithms'
collect2: ld returned 1 exit status
distcc[10844] ERROR: compile on localhost failed
configure: failed program was:
 
#line 1850 "configure"
#include "confdefs.h"
 
main(){return(0);}
Comment 3 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2003-11-08 16:30:33 UTC
revdep-rebuild and it'll go away.