Okay, this is turning out to be fun ... I've tried on two different
servers, one running FreeBSD 4.5, the other 4.4 ... two different versions
of autoconf (2.52 and 2.13) ... using HEAD ... buildconf looks like:
oh, and just recently, I tried using bash vs tcsh, just to see if it might
be a shell issue ...
#!/bin/sh
./configure \
--prefix=/usr/local \
--enable-layout=FreeBSD \
--with-perl=/usr/bin/perl \
--enable-so \
--with-suexec-docroot=/usr/local/www/data \
--with-mpm=worker \
--enable-threads \
--with-port=80 \
--includedir=/usr/local/include/apache \
--enable-mods-shared='all cgid ssl proxy proxy-connect proxy-ftp proxy-http
cache mem-cache file-cache'
all looks good ...
but it all ends up the same way:
/bin/sh /usr/local/src/httpd-2.0/shlibtool --silent --mode=link gcc -g -O2 -pthread
-DNO_DBM_REWRITEMAP -D_REENTRANT -D_THREAD_SAFE -DAP_HAVE_DESIGNATED_INITIALIZER
-I. -I/usr/local/src/httpd-2.0/os/unix -I/usr/local/src/httpd-2.0/server/mpm/worker
-I/usr/local/src/httpd-2.0/modules/http -I/usr/local/src/httpd-2.0/modules/proxy
-I/usr/local/src/httpd-2.0/include -I/usr/local/src/httpd-2.0/srclib/apr/include
-I/usr/local/src/httpd-2.0/srclib/apr-util/include -I/usr/include/openssl
-I/usr/local/src/httpd-2.0/modules/dav/main -export-dynamic -o
mod_auth_digest.la -rpath {exec_prefix}/libexec -module -avoid-version
mod_auth_digest.lo
shlibtool: link: only absolute run-paths are allowed
Just looking around at the config files, and noticed config.layout, and,
guess what? there *is* no layout for FreeBSD in there, so it won't work
... should there maybe be an error message generated if a layout is
rquested that doesn't exist?
Also, would it be possible to get the following layout added, which is
what the FreeBSD ports uses?
<Layout FreeBSD>
prefix: /usr/local
exec_prefix: $prefix
bindir: $exec_prefix/bin
sbindir: $exec_prefix/sbin
libexecdir: $exec_prefix/libexec/apache
mandir: $prefix/man
sysconfdir: $prefix/etc/apache
datadir: $prefix/www
installbuilddir: $prefix/share/mk/apache
errordir: $datadir/error
iconsdir: $datadir/icons
htdocsdir: $datadir/data
manualdir: ${prefix}/share/doc/apache
cgidir: $datadir/cgi-bin
includedir: $prefix/include/apache
localstatedir: /var
runtimedir: $localstatedir/run
logfiledir: $localstatedir/log
proxycachedir: $datadir/proxy
</Layout>
Thanks ... now back to real bugs ...