[users@httpd] Configuring httpd 2.0.54 --with-apr

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

 



Hi,

I'm attempting to configure and compile apache httpd 2.0.54 on solaris
8, using gcc 2.95.

I have just priorly compiled and installed apr 1.1.1, and would like to
./configure my apache installation --with-apr, like so:

$ ./configure --prefix=/nssunix/apache/apache2 --enable-auth-anon
 --enable-auth-anon --enable-auth-dbm --enable-auth-digest -enable-isapi
 --enable-file-cache --enable-cache --enable-disk-cache
 --enable-mem-cache --enable-ldap --enable-auth-ldap --enable-mime-magic
 --enable-headers --enable-usertrack --enable-ssl --enable-http
 --enable-dav --enable-info --enable-suexec --enable-cgi --enable-cgid
 --enable-dav-fs --enable-vhost-alias --enable-speling --enable-rewrite
 --with-ssl=/opt/openSSL --with-apr=/nssunix/apache/apr

Doing so, I receive the following error:

(snip)
checking target system type... sparc-sun-solaris2.8
checking for working mkdir -p... yes
APR-util Version: 0.9.6
checking for chosen layout... apr-util
Applying apr-util hints file rules for sparc-sun-solaris2.8
  setting apu_iconv_inbuf_const to "1"
  setting apu_crypt_threadsafe to "1"
checking for APR... configure: error: the --with-apr parameter is
incorrect. It must specify an install prefix, a
build directory, or an apr-config file.
configure failed for srclib/apr-util

Which appears to be comming from the following command at line 3000 in
the configure script: (apologies for the line wrapping I inserted to
make it readable in this message)

  if eval $SHELL $ac_abs_srcdir/configure $apr_configure_args \
     --cache-file=$ac_sub_cache_file --srcdir=$ac_abs_srcdir \
     --with-apr=../apr --prefix=$prefix --exec-prefix=$exec_prefix \
     --libdir=$libdir --includedir=$includedir --bindir=$bindir
  then :
    echo "srclib/apr-util configured properly"
  else
    echo "configure failed for srclib/apr-util"
    exit 1
  fi

Note that the "--with-apr=" option there specifies "../apr" as it's
argument.

From this directory, I have these directory layout:

  $ ls -l ../
  total 16824
  lrwxrwxrwx   1 root   root         9 Apr 29 14:32 apr -> apr-1.1.1
  drwxr-xr-x  27 1000   100       1536 May  6 12:44 apr-1.1.1
  -rw-r--r--   1 root   root   1081272 Mar 16 18:29 apr-1.1.1.tar.gz
  drwxr-xr-x  11 1000   1000      1024 May  6 12:44 httpd-2.0.54
  -rw-r--r--   1 root   root   7508193 Apr 11 16:16 httpd-2.0.54.tar.gz

Can someone please give me a hint what's wrong ?

Thanks!
-- Pat


---------------------------------------------------------------------
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