httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jerry K <>
Subject [users@httpd] Solaris 11 compile/configure problems with httpd 2.2.22 and 2.4.2
Date Sat, 23 Jun 2012 02:32:04 GMT
I am experiencing problems with the configure script in attempting to
compile, and actually just running the ./configure script on (2)
different Solaris 11 Sparc based systems.

Systems - T5120 w/32 Gb ram and ample disk space
          T2000 w/16 Gb ram and also ample disk space

Both systems are new/fresh/recent Solaris 11 installs.
I have compiled a multitude of other open source software under Solaris
11, and I am confident in my C compiler (GCC 4.5.2 as supplied by
Oracle/Solaris 11).

bash-4.1# which gcc

bash-4.1# gcc -v

Using built-in specs.
Target: sparc-sun-solaris2.11
Configured with:
CXX=/ws/onnv-tools/SUNWspro/sunstudio12.1/bin/CC --prefix=/usr/gcc/4.5
--mandir=/usr/gcc/4.5/share/man --bindir=/usr/gcc/4.5/bin
--libdir=/usr/gcc/4.5/lib --sbindir=/usr/gcc/4.5/sbin
--enable-languages=c,c++,fortran,objc --enable-shared
--with-mpfr-include=/usr/include/mpfr --prefix=/usr/gcc/4.5
--mandir=/usr/gcc/4.5/share/man --infodir=/usr/gcc/4.5/share/info
--libexecdir=/usr/gcc/4.5/lib CFLAGS='-g -O2 '
Thread model: posix
gcc version 4.5.2 (GCC)

I am failing at the same place, both with Apache httpd 2.2.22 and 2.4.2.

It should go without saying that I successfully compiled and installed
apr and apr-util prior to attempting the 2.4.2 compile.

This is what my ./configure output looks like for httpd-2.2.22.  It is
identical on both systems.  I get similar, if not identical, output for
httpd 2.4.2.

bash-4.1# pwd


bash-4.1# ./configure

checking for chosen layout... Apache
checking for working mkdir -p... yes
checking build system type... sparc-sun-solaris2.11
checking host system type... sparc-sun-solaris2.11
checking target system type... sparc-sun-solaris2.11

Configuring Apache Portable Runtime library ...

checking for APR... yes
  setting CPP to "cc -E"
  setting CFLAGS to " "
  setting LDFLAGS to " "

Configuring Apache Portable Runtime Utility library...

checking for APR-util... yes
checking for gcc... gcc
checking for C compiler default output file name...
configure: error: in `/usr/local/src/h/httpd-2.2.22':
configure: error: C compiler cannot create executables
See `config.log' for more details.



I am not sure what the correct procedure is for sharing the config.log
file.  Rather that making this email longer that it already is or adding
it to this email as an attachment, I placed it here:

TIA for any positive comments or suggestions.


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message