Amanda-Users

Re: 2.6 upgrade file locations

2008-08-13 08:03:15
Subject: Re: 2.6 upgrade file locations
From: stan <stanb AT panix DOT com>
To: "Dustin J. Mitchell" <dustin AT zmanda DOT com>
Date: Wed, 13 Aug 2008 07:49:24 -0400
On Mon, Aug 11, 2008 at 04:34:17PM -0400, stan wrote:
> On Mon, Aug 11, 2008 at 10:24:59AM -0400, Dustin J. Mitchell wrote:
> > On Mon, Aug 11, 2008 at 9:26 AM, stan <stanb AT panix DOT com> wrote:
> > > Since I install each application in /opt/{APP_NAME}, I'd prefer not to 
> > > have
> > > the 2n'r "amanda" levels. In the past I used dirctives like:
> > >
> > > --sbindir=/opt/amanda/sbin
> > 
> > You'll want to look at --with-amlibdir, --with-amlibexecdir, and
> > --with-amperldir.
> > 
> Thanks.
> 
Hmm, this is still not doing what I want. 

here is my confgure script:

./configure \
--with-config=DailyDump \
--prefix=/opt/amanda2 \
--with-index-server=amanda.meadwestvaco.com \
--with-tape-server=amanda.meadwestvaco.com \
--with-tape-device=chg-multi \
--with-changer-device=chg-multi \
--with-user=amanda \
--with-group=operator \
--with-debugging \
--with-sbindir=/opt/amanda2/sbin \
--with-libexecdir=/opt/amanda2/libexec \
--with-libdir=/opt/amanda2/lib \
--with-configdir=/opt/amanda2/etc \
--with-amlibdir=/opt/amanda2/lib \
--with-amlibexecdir=/opt/amanda2/libexec \
--with-amperldir=/opt/amanda2/perlib \
--with-gnutar-listdir=/opt/amanda2/var/gnutar-lists \
--with-mandir=/opt/amanda2/man  \
--with-buffered-dump \
--without-rundump  \
--with-maxtapeblocksize=256

And I still wind up with the followig locations on install:


1516    ./sbin
204     ./perlib/auto/Amanda/Util
176     ./perlib/auto/Amanda/Tapefile
492     ./perlib/auto/Amanda/Device
368     ./perlib/auto/Amanda/Logfile
808     ./perlib/auto/Amanda/Config
520     ./perlib/auto/Amanda/Types
264     ./perlib/auto/Amanda/Cmdline
268     ./perlib/auto/Amanda/Debug
3104    ./perlib/auto/Amanda
3108    ./perlib/auto
164     ./perlib/Amanda
3276    ./perlib
5156    ./lib
24      ./libexec/application
1976    ./libexec
68      ./share/man/man5
216     ./share/man/man8
288     ./share/man
808     ./share/amanda
1100    ./share
4       ./include/amanda
8       ./include
76      ./var/lib/amanda/example/label-templates
124     ./var/lib/amanda/example
60      ./var/lib/amanda/template.d
188     ./var/lib/amanda
192     ./var/lib
196     ./var
13232   .

As you can see, I still have a cople fo residual directories with the
redundant "amanda" level. Any sugestions as to how to coerece configure
into not placing things in them?


-- 
One of the main causes of the fall of the roman empire was that, lacking
zero, they had no way to indicate successful termination of their C
programs.