michaelcoon
March 11th, 2010, 05:22 PM
Hi,
i have to setup an a little bit odd server ;-(
It has to be an Ubuntu 8.04 Server 64bit with an Apache 32bit.
I first tested ubuntu 8.04 32bit and apache 32bit which works fine and very easy, also ubuntu 64bit and apache 64bit is easy to install, but i try since 2 days to get the 32bit bit version of apache working on an 64bit ubuntu.
Here is what i have done:
- installing ubuntu 64bit server 8.04, only ssh and samba server ticked during the installation.
- apt-get install build-essential
- apt-get install libc6-dev-i386
- wget http://archive.apache.org/dist/httpd/httpd-2.2.8.tar.gz
- tar xvfz httpd-2.2.8.tar.gz
- cd httpd-2.2.8
- export CFLAGS=-m32
- export CPPFLAGS=-m32
- ./configure --prefix=/usr/local/apache2 --build=i686-unknown-linux-gnu --enable-mode-shared=all build_alias=i686-unknown-linux-gnu --enable-modules=all --enable-mods-shared=all
I always get this error message:
checking for chosen layout... apr
checking for gcc... gcc
checking for C compiler default output file name... configure: error: C compiler cannot create executables
See `config.log' for more details.
configure failed for srclib/apr
attached is the config.log
I found various things via google but nothing solved my problem to bring 32bit apache on this 64bit system. I hope some of you can help me.
Thanks Michael
i have to setup an a little bit odd server ;-(
It has to be an Ubuntu 8.04 Server 64bit with an Apache 32bit.
I first tested ubuntu 8.04 32bit and apache 32bit which works fine and very easy, also ubuntu 64bit and apache 64bit is easy to install, but i try since 2 days to get the 32bit bit version of apache working on an 64bit ubuntu.
Here is what i have done:
- installing ubuntu 64bit server 8.04, only ssh and samba server ticked during the installation.
- apt-get install build-essential
- apt-get install libc6-dev-i386
- wget http://archive.apache.org/dist/httpd/httpd-2.2.8.tar.gz
- tar xvfz httpd-2.2.8.tar.gz
- cd httpd-2.2.8
- export CFLAGS=-m32
- export CPPFLAGS=-m32
- ./configure --prefix=/usr/local/apache2 --build=i686-unknown-linux-gnu --enable-mode-shared=all build_alias=i686-unknown-linux-gnu --enable-modules=all --enable-mods-shared=all
I always get this error message:
checking for chosen layout... apr
checking for gcc... gcc
checking for C compiler default output file name... configure: error: C compiler cannot create executables
See `config.log' for more details.
configure failed for srclib/apr
attached is the config.log
I found various things via google but nothing solved my problem to bring 32bit apache on this 64bit system. I hope some of you can help me.
Thanks Michael