On Thu, May 22, 2003 at 01:40:31PM -0500, Martin, Jeremy wrote:
> Hi,
>
> I created /usr/local/share/client.site which contains just this:
>
>
> NO_SERVER_MODE=true
> CLIENT_LOGIN=amanda
> SETUID_GROUP=amanda
> DEFAULT_CONFIG=client
> PORTRANGE=50000,50100
> UDPPORTRANGE=512,520
>
>
> However when I try to run configure with that .site config, I get this...
>
>
> [root@jayhawker amanda-2.4.4]# ./configure
> --with-config=/usr/local/share/client.site
> checking build system type... i686-pc-linux-gnu
> checking host system type... i686-pc-linux-gnu
> checking target system type... i686-pc-linux-gnu
> checking for a BSD-compatible install... /usr/bin/install -c
> checking whether build environment is sane... yes
> checking for gawk... gawk
> checking whether make sets ${MAKE}... yes
> configure: error: *** --with-user=USER is missing
> [root@jayhawker amanda-2.4.4]#
>
>
> Same thing happens if I try doing ./configure --with-config=client.site
>
> I don't see why I should have to specify --with-user=amanda on the command
> line since CLIENT_LOGIN is supposed to set --with-user according to
> ./example/config.site
>
> Thanks for any insight!
>
>
> Just looking at the configure code I see where it reads in the config.site
> file
> but not where it might use the CLIENT_LOGIN environment parameter.
>
--with-config is to set the default config name only, it set the
DEFAULT_CONFIG variable.
configure will load the $prefix/share/config.site only, don't try to change
the name.
$prefix is the default prefix (/usr/local) or the --prefix argument.
This config.site will be used by all application you will configure.
Amanda configure script will also load a config.local file in the cwd.
Jean-Louis
--
Jean-Louis Martineau email: martineau AT IRO.UMontreal DOT CA
Departement IRO, Universite de Montreal
C.P. 6128, Succ. CENTRE-VILLE Tel: (514) 343-6111 ext. 3529
Montreal, Canada, H3C 3J7 Fax: (514) 343-5834
|