Re: make w/ amanda ignoring DESTDIR

2002-09-17 Thread Jean-Louis Martineau

Hi Brandon,

It works on IRIX with GNU make
It doesn't works on IRIX with /sbin/make

/sbin/make will works if you remove all the DESTDIR = line from the Makefile.

The Makefile.in in amanda are build with automake-1.4, you could
try with a more recent release off automake.

The package you successfully build use which release of automake?

Jean-Louis

On Tue, Sep 17, 2002 at 12:47:19PM -0500, Brandon D. Valentine wrote:
 On Mon, 16 Sep 2002, Jean-Louis Martineau wrote:
 
 It works for me.
 Which release of make are you using, it must be gnu make?
 
 I'm using the SysV/POSIX make that comes with IRIX in /sbin/make.  It
 works just fine to compile most GNU packages that use automake,
 including amanda.  Everything works smoothly right up until I try to
 install to a temproot.  It only wants to install in /usr/local
 irregardless of what I set DESTDIR to in the environment or on the make
 command line.
 
 Are you saying this works for you in general or specifically on an SGI?
 
  grep DESTDIR Makefile common-src/Makefile
 [snip]
 
 I have the same reference to DESTDIR in the Makefile.in
 Do you get them?
 
 I have an identical set of occurences of DESTDIR throughout Makefile and
 Makefile.in, yes.  It's a pristine amanda source directory.  From what I
 see in the amanda-hackers archives it looks like there were problems
 with amanda being DESTDIR clean in the past but that the patches which
 correct the problem were committed prior to 2.4.2p2, the version I am
 using.
 
 Thanks,
 
 -- 
 Brandon D. Valentine [EMAIL PROTECTED]
 Computer Geek, Center for Structural Biology
 
 This isn't rocket science -- but it _is_ computer science.
   - Terry Lambert on [EMAIL PROTECTED]

-- 
Jean-Louis Martineau email: [EMAIL PROTECTED] 
Departement IRO, Universite de Montreal
C.P. 6128, Succ. CENTRE-VILLETel: (514) 343-6111 ext. 3529
Montreal, Canada, H3C 3J7Fax: (514) 343-5834



Re: make w/ amanda ignoring DESTDIR

2002-09-17 Thread Brandon D. Valentine

On Tue, 17 Sep 2002, Jean-Louis Martineau wrote:

It works on IRIX with GNU make
It doesn't works on IRIX with /sbin/make

/sbin/make will works if you remove all the DESTDIR = line from the Makefile.

Thanks, Jean.  Your suggestion made me do some further digging.  IRIX's
make is among a handful of variants which do not allow command-line
variable definitions to override those that preexist in the Makefiles.
It seems like the solution to this that the GNU people took was to
remove all instances of DESTDIR = from their Makefile.in's.  Maybe
I'll submit some patches to amanda-hackers to fix it.  It's a niggling
little bug but if a one-line patch to each of the Makefile.in's will fix
it then it's worth people not running into the problem in the future.
An explanation of the problem is here:

http://sources.redhat.com/ml/bug-automake/1999/msg00267.html

-- 
Brandon D. Valentine [EMAIL PROTECTED]
Computer Geek, Center for Structural Biology

This isn't rocket science -- but it _is_ computer science.
- Terry Lambert on [EMAIL PROTECTED]




Re: make w/ amanda ignoring DESTDIR

2002-09-17 Thread Jean-Louis Martineau

On Tue, Sep 17, 2002 at 02:14:43PM -0500, Brandon D. Valentine wrote:
 On Tue, 17 Sep 2002, Jean-Louis Martineau wrote:
 
 It works on IRIX with GNU make
 It doesn't works on IRIX with /sbin/make
 
 /sbin/make will works if you remove all the DESTDIR = line from the Makefile.
 
 Thanks, Jean.  Your suggestion made me do some further digging.  IRIX's
 make is among a handful of variants which do not allow command-line
 variable definitions to override those that preexist in the Makefiles.
 It seems like the solution to this that the GNU people took was to
 remove all instances of DESTDIR = from their Makefile.in's.  Maybe
 I'll submit some patches to amanda-hackers to fix it.  It's a niggling
 little bug but if a one-line patch to each of the Makefile.in's will fix
 it then it's worth people not running into the problem in the future.

The patch is not useful, the Makefile.in are automaticaly generated
from the Makefile.am by automake.

I have build a new snapshot of amanda-2.4.3b4 with automake-1.5, this
fixe the problem with IRIX make.

The snapshot is at
http://www.iro.umontreal.ca/~martinea/amanda/amanda-2.4.3b4-20020917-with-automake-1.5.tar.gz

I would appreciate if many people try it, if it break nothing, I will
use automake-1.5 to build the stable 2.4.3

Jean-Louis

 An explanation of the problem is here:
 
 http://sources.redhat.com/ml/bug-automake/1999/msg00267.html
 
 -- 
 Brandon D. Valentine [EMAIL PROTECTED]
 Computer Geek, Center for Structural Biology
 
 This isn't rocket science -- but it _is_ computer science.
   - Terry Lambert on [EMAIL PROTECTED]

-- 
Jean-Louis Martineau email: [EMAIL PROTECTED] 
Departement IRO, Universite de Montreal
C.P. 6128, Succ. CENTRE-VILLETel: (514) 343-6111 ext. 3529
Montreal, Canada, H3C 3J7Fax: (514) 343-5834



Re: make w/ amanda ignoring DESTDIR

2002-09-17 Thread Brandon D. Valentine

On Tue, 17 Sep 2002, Jean-Louis Martineau wrote:

I would appreciate if many people try it, if it break nothing, I will
use automake-1.5 to build the stable 2.4.3

Thanks, Jean.  I'll test the builds here on my IRIX and Linux machines
and report back.  I'll just hand edit the Makefiles to remove 'DESTDIR
=' so I can get on with building my 2.4.2p2 packages since I'm waiting
on the 2.4.3 stable release to move over to it in any more than a
developmental environment.

-- 
Brandon D. Valentine [EMAIL PROTECTED]
Computer Geek, Center for Structural Biology

This isn't rocket science -- but it _is_ computer science.
- Terry Lambert on [EMAIL PROTECTED]




Re: make w/ amanda ignoring DESTDIR

2002-09-17 Thread Brandon D. Valentine

On Tue, 17 Sep 2002, Jean-Louis Martineau wrote:

The patch is not useful, the Makefile.in are automaticaly generated
from the Makefile.am by automake.

I made one anyway in case I ever need to build 2.4.2p2 packages again on
IRIX.  It's only 8k so I've attached it for the archives in case anyone
else finds it useful.

-- 
Brandon D. Valentine [EMAIL PROTECTED]
Computer Geek, Center for Structural Biology

This isn't rocket science -- but it _is_ computer science.
- Terry Lambert on [EMAIL PROTECTED]


diff -ru amanda-2.4.2p2.orig/Makefile.in amanda-2.4.2p2/Makefile.in
--- amanda-2.4.2p2.orig/Makefile.in Tue Apr  3 14:55:47 2001
+++ amanda-2.4.2p2/Makefile.in  Tue Sep 17 17:58:18 2002
@@ -32,8 +32,6 @@
 includedir = @includedir@
 oldincludedir = /usr/include
 
-DESTDIR =
-
 pkgdatadir = $(datadir)/@PACKAGE@
 pkglibdir = $(libdir)/@PACKAGE@
 pkgincludedir = $(includedir)/@PACKAGE@
Only in amanda-2.4.2p2/amplot: Makefile
diff -ru amanda-2.4.2p2.orig/amplot/Makefile.in amanda-2.4.2p2/amplot/Makefile.in
--- amanda-2.4.2p2.orig/amplot/Makefile.in  Tue Apr  3 14:55:43 2001
+++ amanda-2.4.2p2/amplot/Makefile.in   Tue Sep 17 18:01:55 2002
@@ -34,8 +34,6 @@
 includedir = @includedir@
 oldincludedir = /usr/include
 
-DESTDIR =
-
 pkgdatadir = $(datadir)/@PACKAGE@
 pkglibdir = $(libdir)/@PACKAGE@
 pkgincludedir = $(includedir)/@PACKAGE@
Only in amanda-2.4.2p2/amplot: amcat.awk
Only in amanda-2.4.2p2/amplot: amplot.sh
Only in amanda-2.4.2p2/changer-src: Makefile
diff -ru amanda-2.4.2p2.orig/changer-src/Makefile.in 
amanda-2.4.2p2/changer-src/Makefile.in
--- amanda-2.4.2p2.orig/changer-src/Makefile.in Tue Apr  3 14:55:43 2001
+++ amanda-2.4.2p2/changer-src/Makefile.in  Tue Sep 17 18:02:06 2002
@@ -34,8 +34,6 @@
 includedir = @includedir@
 oldincludedir = /usr/include
 
-DESTDIR =
-
 pkgdatadir = $(datadir)/@PACKAGE@
 pkglibdir = $(libdir)/@PACKAGE@
 pkgincludedir = $(includedir)/@PACKAGE@
Only in amanda-2.4.2p2/changer-src: chg-chio.pl
Only in amanda-2.4.2p2/changer-src: chg-chs.sh
Only in amanda-2.4.2p2/changer-src: chg-manual.sh
Only in amanda-2.4.2p2/changer-src: chg-mtx.sh
Only in amanda-2.4.2p2/changer-src: chg-multi.sh
Only in amanda-2.4.2p2/changer-src: chg-rth.pl
Only in amanda-2.4.2p2/changer-src: chg-zd-mtx.sh
diff -ru amanda-2.4.2p2.orig/client-src/Makefile.in 
amanda-2.4.2p2/client-src/Makefile.in
--- amanda-2.4.2p2.orig/client-src/Makefile.in  Tue Apr  3 14:55:44 2001
+++ amanda-2.4.2p2/client-src/Makefile.in   Tue Sep 17 17:58:52 2002
@@ -34,8 +34,6 @@
 includedir = @includedir@
 oldincludedir = /usr/include
 
-DESTDIR =
-
 pkgdatadir = $(datadir)/@PACKAGE@
 pkglibdir = $(libdir)/@PACKAGE@
 pkgincludedir = $(includedir)/@PACKAGE@
Only in amanda-2.4.2p2/client-src: patch-system
diff -ru amanda-2.4.2p2.orig/common-src/Makefile.in 
amanda-2.4.2p2/common-src/Makefile.in
--- amanda-2.4.2p2.orig/common-src/Makefile.in  Tue Apr  3 14:55:44 2001
+++ amanda-2.4.2p2/common-src/Makefile.in   Tue Sep 17 17:59:03 2002
@@ -34,8 +34,6 @@
 includedir = @includedir@
 oldincludedir = /usr/include
 
-DESTDIR =
-
 pkgdatadir = $(datadir)/@PACKAGE@
 pkglibdir = $(libdir)/@PACKAGE@
 pkgincludedir = $(includedir)/@PACKAGE@
Only in amanda-2.4.2p2/common-src: genversion
Only in amanda-2.4.2p2/common-src: genversion.h
Only in amanda-2.4.2p2.orig/common-src: version.c
Only in amanda-2.4.2p2.orig/common-src: versuff.c
diff -ru amanda-2.4.2p2.orig/config/Makefile.in amanda-2.4.2p2/config/Makefile.in
--- amanda-2.4.2p2.orig/config/Makefile.in  Tue Apr  3 14:55:47 2001
+++ amanda-2.4.2p2/config/Makefile.in   Tue Sep 17 18:02:16 2002
@@ -32,8 +32,6 @@
 includedir = @includedir@
 oldincludedir = /usr/include
 
-DESTDIR =
-
 pkgdatadir = $(datadir)/@PACKAGE@
 pkglibdir = $(libdir)/@PACKAGE@
 pkgincludedir = $(includedir)/@PACKAGE@
diff -ru amanda-2.4.2p2.orig/docs/Makefile.in amanda-2.4.2p2/docs/Makefile.in
--- amanda-2.4.2p2.orig/docs/Makefile.inTue Apr  3 14:55:45 2001
+++ amanda-2.4.2p2/docs/Makefile.in Tue Sep 17 17:59:34 2002
@@ -32,8 +32,6 @@
 includedir = @includedir@
 oldincludedir = /usr/include
 
-DESTDIR =
-
 pkgdatadir = $(datadir)/@PACKAGE@
 pkglibdir = $(libdir)/@PACKAGE@
 pkgincludedir = $(includedir)/@PACKAGE@
diff -ru amanda-2.4.2p2.orig/example/Makefile.in amanda-2.4.2p2/example/Makefile.in
--- amanda-2.4.2p2.orig/example/Makefile.in Tue Apr  3 14:55:45 2001
+++ amanda-2.4.2p2/example/Makefile.in  Tue Sep 17 17:59:49 2002
@@ -34,8 +34,6 @@
 includedir = @includedir@
 oldincludedir = /usr/include
 
-DESTDIR =
-
 pkgdatadir = $(datadir)/@PACKAGE@
 pkglibdir = $(libdir)/@PACKAGE@
 pkgincludedir = $(includedir)/@PACKAGE@
diff -ru amanda-2.4.2p2.orig/man/Makefile.in amanda-2.4.2p2/man/Makefile.in
--- amanda-2.4.2p2.orig/man/Makefile.in Tue Apr  3 14:55:45 2001
+++ amanda-2.4.2p2/man/Makefile.in  Tue Sep 17 17:59:17 2002
@@ -34,8 +34,6 @@
 includedir =