Re: 2.6.1 build process anomoly

2009-02-19 Thread Jean-Louis Martineau

Read previous post and './configure --help' output.
Add --without-amlibexecdir

Jean-Louis

stan wrote:

On Thu, Feb 19, 2009 at 11:18:37AM -0500, Dustin J. Mitchell wrote:
  

On Thu, Feb 19, 2009 at 10:48 AM, stan  wrote:


But, if one is already puting amanda in it's own tree, as we are
(/opt/amanda) then this just adds another (confusing) directory to the path
(EG /opt/amanda/libexec/amanda) `. Is it possible to overide this behavior?
  

Yep -- see --without-amlibdir in the ./configure --help output that
Jean-Louis pasted.




Hmm, I'm having a bad dy. I put:
--without-amlibdir
In my script that runs configure. but i still get:

Build documentation: no
Directories:
  Application: /opt/amanda/libexec/amanda/application
  Configuration: /opt/amanda/etc
  GNU Tar lists: /opt/amanda/var/gnutar-lists
  Perl modules (amperldir): /opt/amanda/lib/perl
  Template and example data files (amdatadir):
  /opt/amanda/share/amanda
  Temporary: /tmp/amanda

I alos put 
--with-amperldir=/opt/amanda/lib/perl

in the same script, and, as you can see it was honored. Also can i change
 /opt/amanda/share/amanda
 to /opt/amanda/share
 somehow?

  




Re: 2.6.1 build process anomoly

2009-02-19 Thread stan
On Thu, Feb 19, 2009 at 11:18:37AM -0500, Dustin J. Mitchell wrote:
> On Thu, Feb 19, 2009 at 10:48 AM, stan  wrote:
> > But, if one is already puting amanda in it's own tree, as we are
> > (/opt/amanda) then this just adds another (confusing) directory to the path
> > (EG /opt/amanda/libexec/amanda) `. Is it possible to overide this behavior?
> 
> Yep -- see --without-amlibdir in the ./configure --help output that
> Jean-Louis pasted.
> 
Found it I needed --without-amlibexecdir alos.

Thanks.

-- 
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.


Re: 2.6.1 build process anomoly

2009-02-19 Thread stan
On Thu, Feb 19, 2009 at 11:18:37AM -0500, Dustin J. Mitchell wrote:
> On Thu, Feb 19, 2009 at 10:48 AM, stan  wrote:
> > But, if one is already puting amanda in it's own tree, as we are
> > (/opt/amanda) then this just adds another (confusing) directory to the path
> > (EG /opt/amanda/libexec/amanda) `. Is it possible to overide this behavior?
> 
> Yep -- see --without-amlibdir in the ./configure --help output that
> Jean-Louis pasted.
> 

Hmm, I'm having a bad dy. I put:
--without-amlibdir
In my script that runs configure. but i still get:

Build documentation: no
Directories:
  Application: /opt/amanda/libexec/amanda/application
  Configuration: /opt/amanda/etc
  GNU Tar lists: /opt/amanda/var/gnutar-lists
  Perl modules (amperldir): /opt/amanda/lib/perl
  Template and example data files (amdatadir):
  /opt/amanda/share/amanda
  Temporary: /tmp/amanda

I alos put 
--with-amperldir=/opt/amanda/lib/perl
in the same script, and, as you can see it was honored. Also can i change
 /opt/amanda/share/amanda
 to /opt/amanda/share
 somehow?

-- 
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.


Re: 2.6.1 build process anomoly

2009-02-19 Thread Jean-Louis Martineau

stan wrote:

On Thu, Feb 19, 2009 at 10:23:59AM -0500, Jean-Louis Martineau wrote:
  

./configure --help
 
--with-amlibexecdir[[[=PATH]]] 
 Where amanda own programs are installed, 
default:  
 
$libexecdir/amanda 
 --without-amlibexecdir  Amanda own programs are installed in 
$libexecdir


Files are installed in an 'amanda' subdir to reduce possible conflict 
with files from others packages.




But, if one is already puting amanda in it's own tree, as we are
(/opt/amanda) then this just adds another (confusing) directory to the path
(EG /opt/amanda/libexec/amanda) `. Is it possible to overide this behavior?
  


--without-amlibexecdir

Jean-Louis





Re: 2.6.1 build process anomoly

2009-02-19 Thread Dustin J. Mitchell
On Thu, Feb 19, 2009 at 10:48 AM, stan  wrote:
> But, if one is already puting amanda in it's own tree, as we are
> (/opt/amanda) then this just adds another (confusing) directory to the path
> (EG /opt/amanda/libexec/amanda) `. Is it possible to overide this behavior?

Yep -- see --without-amlibdir in the ./configure --help output that
Jean-Louis pasted.

Dustin

-- 
Storage Software Engineer
http://www.zmanda.com


Re: 2.6.1 build process anomoly

2009-02-19 Thread stan
On Thu, Feb 19, 2009 at 10:23:59AM -0500, Jean-Louis Martineau wrote:
> ./configure --help
>  
> --with-amlibexecdir[[[=PATH]]] 
>  Where amanda own programs are installed, 
> default:  
>  
> $libexecdir/amanda 
>  --without-amlibexecdir  Amanda own programs are installed in 
> $libexecdir
> 
> Files are installed in an 'amanda' subdir to reduce possible conflict 
> with files from others packages.
> 
But, if one is already puting amanda in it's own tree, as we are
(/opt/amanda) then this just adds another (confusing) directory to the path
(EG /opt/amanda/libexec/amanda) `. Is it possible to overide this behavior?

-- 
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.


Re: 2.6.1 build process anomoly

2009-02-19 Thread Jean-Louis Martineau

./configure --help
 
--with-amlibexecdir[[[=PATH]]] 
 Where amanda own programs are installed, 
default:  
 
$libexecdir/amanda 
 --without-amlibexecdir  Amanda own programs are installed in 
$libexecdir


Files are installed in an 'amanda' subdir to reduce possible conflict 
with files from others packages.


Jean-Louis

stan wrote:

Why, given the following arguemnts to configure:

./configure \
--with-config=DailyDump \
--prefix=/opt/amanda \
--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 \
--sbindir=/opt/amanda/sbin \
--libexecdir=/opt/amanda/libexec \
--libdir=/opt/amanda/lib \
--with-configdir=/opt/amanda/etc \
--with-gnutar-listdir=/opt/amanda/var/gnutar-lists \
--mandir=/opt/amanda/man  \
--with-buffered-dump \
--without-rundump  \
--with-maxtapeblocksize=256

Do the files, which I think should  be installed in /opt/amanda/lib,
actually get installed in /opt/amanda/lib/amanda ?

ama...@amanda:/opt/amanda$ cd libexec
ama...@amanda:/opt/amanda/libexec$ ls
amanda
ama...@amanda:/opt/amanda/libexec$ cd amanda
ama...@amanda:/opt/amanda/libexec/amanda$ ls
amandad   amplot.gpchg-iomega  chg-rth   planner
amanda-sh-lib.sh  amtrmidx chg-jukechg-scsi  rundump
amcat.awk amtrmlog chg-lib.sh  chg-zd-mtxruntar
amcleanupdisk application  chg-manual  chunker   selfcheck
amidxtapedcalcsize chg-mcutil  driversendbackup
amindexd  chg-chio chg-mtx dumpersendsize
amlogroll chg-chs  chg-multi   killpgrp  taper
amplot.awkchg-disk chg-nullnoop  teecount
amplot.g  chg-glue chg-raitpatch-system  versionsuffix