Amanda-Users

Re: Problem configuring amanda before compiling

2003-11-11 05:41:42
Subject: Re: Problem configuring amanda before compiling
From: Gene Heskett <gene.heskett AT verizon DOT net>
To: "Dana Bourgeois" <em-lists AT netgods DOT us>, <amanda-users AT amanda DOT org>
Date: Tue, 11 Nov 2003 05:38:02 -0500
On Tuesday 11 November 2003 00:11, Dana Bourgeois wrote:
>Thanks.  Doing a 'make distclean' and './configure' didn't change
> anything but still, thanks.
>
If you didn't give configure a list of options, amanda will be pretty 
crippled.  Because I always have the latest snapshot in service, and 
I need to have a consistent set of options so that the next snapshot 
wil run exactly like the last, I long ago cobbled up a script to do 
the configuration and make.  Here it is.
-------------------
#!/bin/sh
# since I'm always forgetting to su amanda...
if [ `whoami` != 'amanda' ]; then
        echo
        echo "!!!!!!!!!!!! Warning !!!!!!!!!!!!"
        echo "Amanda needs to be configured and built by the user amanda,"
        echo "but must be installed by user root."
        echo
        exit 1
fi
make clean
rm -f config.status config.cache
./configure --with-user=amanda \
        --with-group=disk \
        --with-owner=amanda \
        --with-tape-device=/dev/nst0 \
        --with-changer-device=/dev/sg1 \
        --with-gnu-ld --prefix=/usr/local \
        --with-debugging=/tmp/amanda-dbg/ \
        --with-tape-server=coyote.coyote.den \
        --with-amandahosts \
        --with-configdir=/usr/local/etc/amanda

make
---------------------------
Adjust what needs to be adjusted of course, and remove the references 
to the changer if you don't have one.

>
>Dana Bourgeois
>
>> -----Original Message-----
>> From: owner-amanda-users AT amanda DOT org
>> [mailto:owner-amanda-users AT amanda DOT org] On Behalf Of Jon LaBadie
>> Sent: Monday, November 10, 2003 7:25 PM
>> To: amanda-users AT amanda DOT org
>> Subject: Re: Problem configuring amanda before compiling
>>
>> On Mon, Nov 10, 2003 at 06:44:27PM -0800, Dana Bourgeois wrote:
>> > - I didn't see anything that would remove/invalidate/unconfigure
>> > the previous ./configure step).
>>
>> I use "make distclean".
>>
>> --
>> Jon H. LaBadie                  jon AT jgcomp DOT com
>>  JG Computing
>>  4455 Province Line Road        (609) 252-0159
>>  Princeton, NJ  08540-4322      (609) 683-7220 (fax)

-- 
Cheers, Gene
AMD K6-III@500mhz 320M
Athlon1600XP@1400mhz  512M
99.27% setiathome rank, not too shabby for a WV hillbilly
Yahoo.com attornies please note, additions to this message
by Gene Heskett are:
Copyright 2003 by Maurice Eugene Heskett, all rights reserved.