itortu Posted March 18, 2009 Share Posted March 18, 2009 I am trying to compile Apache 2.2.11 on 32 bit binaries on a 64 bit machine (redhat) These are the steps I am taking: $ tar -xvzf httpd-2.2.11.tar.gz $ cd ./httpd-2.2.11 $ export CFLAGS=-m32 $ export CPPFLAGS=-m32 $ ./configure --prefix=/opt/contrib-qa/apache2 --build=i686-unknown-linux-gnu --enable-mode-shared=all build_alias=i686-unknown-linux-gnu --enable-modules=all --enable-mods-shared=all --enable-so --enable-rewrite --enable-auth-digest=shared --enable-proxy-ajp checking for chosen layout... Apache checking for working mkdir -p... yes checking build system type... i686-unknown-linux-gnu checking host system type... i686-unknown-linux-gnu checking target system type... i686-unknown-linux-gnu Configuring Apache Portable Runtime library ... checking for APR... reconfig configuring package in srclib/apr now checking build system type... i686-unknown-linux-gnu checking host system type... i686-unknown-linux-gnu checking target system type... i686-unknown-linux-gnu Configuring APR library Platform: i686-unknown-linux-gnu checking for working mkdir -p... yes APR Version: 1.3.3 checking for chosen layout... apr checking for gcc... gcc checking for C compiler default output file name... configure: error: in `/opt/contrib-qa/httpd-2.2.11/srclib/apr': configure: error: C compiler cannot create executables See `config.log' for more details. configure failed for srclib/apr I am not confused and without any idea of what is going on. can someone please try to explain what this error means and if there is work around to the issue? Thank you so much. Quote Link to comment Share on other sites More sharing options...
trq Posted March 18, 2009 Share Posted March 18, 2009 Have you looked at the config.log? Can we see it? Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.