RE: configure error involving APR

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



>-----Original Message-----
>From: LibrarySystems [mailto:jtrimble@xxxxxxxxxx] 
>Sent: Wednesday, February 25, 2009 12:49 PM
>To: users@xxxxxxxxxxxxxxxx
>Subject:  configure error involving APR
>
>
>I'm attempting to install http server on AIX 5.3.0.0.  I'm installing
>httpd-2.2.11 and during the
>configure phase, I'm receiving the following error that has me totally
>perplexed:
>
>/configure: error: in `/httpd-2.2.11/srclib/apr':
>configure: error: C compiler cannot create executables
>
>I cannot make heads or tails from the configure.log file.  
>
>My configure statement is:
>
>./configure --enable-info --enable-mime-magic --enable-proxy --enable-proxy-
>ajp --enable-proxy-balancer --enable-proxy-connect --enable-rewrite
>--enable-so
>--enable-speling --enable-ssl --with-ssl=/usr/local/ssl --enable-suexec
>--with-suexec-caller --with-suexec-logfile=/usr/local/apache2/logs/suexec.log
>--with-suexec-admin=200 CC=gcc
>
>Any suggestions?
>
>TIA
>
>Jeff
---------------------------------------------------------------------
Jeff

I configured and installed 2.2.10 on an Aix 5.3 system...

Note, we used the AIX compiler, xlc_r, and not GCC.

Below is our invoking of configure... 
you will note that we are building "static" modules 
in all cases possible, and we have a couple of in-house modules too.

One other thing is to make sure you have "write" permission
In both your build directory tree and your install directory tree.

-tony

<-------------------- clip here --------------------->

OPENSSL_DIR=/usr/local/dms/openssl.0.9.8f

CC="xlc_r"; export CC

CPPFLAGS="-D_THREAD_SAFE ";    export CPPFLAGS

"./configure" \
"--prefix=/usr/local/apache" \
"--with-mpm=worker" \
"--without-berkeley-db" \
"--with-ssl=$OPENSSL_DIR"    \
"--enable-ssl=static" \
"--enable-dav=static" \
"--enable-dav_fs=static" \
"--enable-dav-lock=static" \
"--enable-logio=static" \
"--enable-auth_extern=static" \
"--enable-dms_apr=static"    \
"--with-module=aaa:mod_auth_extern.c,aaa:mod_dms_apr.c"  \
"--enable-proxy=static"      \
"--enable-proxy_balancer=static" \
"--enable-proxy-ajp=static"  \
"--enable-proxy-http=static" \
"--enable-static-rotatelogs" \
"--with-included-apr"        \
"--enable-static-support"    \
"$@"

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx



[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux