[htdig3-dev] Minor configure glitch


Subject: [htdig3-dev] Minor configure glitch
From: Andrew M. Kuchling (akuchlin@mems-exchange.org)
Date: Sun Feb 06 2000 - 11:11:23 PST


I found a small glitch in 3.2b1; the /opt/www default prefix is still
used in a few places, even though I used --prefix. My full configure
invocation was:

 ./configure --prefix=/www/misc/htdig
    --with-cgi-bin-dir=/www/cgi-bin
    --with-image-dir=/www/misc/htdig/html
    --with-search-dir=/www/misc/htdig/html

"make install" failed with:
Installing default configuration files...
o/bin/sh ../mkinstalldirs /opt/www/conf
mkdir /opt/www
mkdir: Failed to make directory "/opt/www"; Permission denied
mkdir /opt/www/conf
mkdir: Failed to make directory "/opt/www/conf"; No such file or directory

configure.in contains this code to set the configuration directory:

AC_ARG_WITH(config-dir, [ --with-config-dir=DIR where your config directory is [default=$ac_default_prefix/conf]],
 CONFIG_DIR="$withval", CONFIG_DIR="$ac_default_prefix/conf")
AC_SUBST(CONFIG_DIR)

I suspect $ac_default_prefix is the wrong variable to use, though I'm
not sure what the correct one is. I hacked it for now by replacing
all occurrences of $ac_default_prefix in configure.in to $prefix, and
running autoconf to generate a new configure script.

-- 
A.M. Kuchling			http://starship.python.net/crew/amk/
Sending a newgroup message without permission of Leader Kibo: Poster is forced
to adopt twelve wacky sitcom children.
    -- Kibo, in the Happynet Manifesto

------------------------------------ To unsubscribe from the htdig3-dev mailing list, send a message to htdig3-dev-unsubscribe@htdig.org You will receive a message to confirm this.



This archive was generated by hypermail 2b28 : Sun Feb 06 2000 - 11:13:30 PST