Re: tru64 5.1 & 2.4.2p2
On Thu, Oct 31, 2002 at 11:29:31AM -0500, [EMAIL PROTECTED] wrote: > More stuff: > > I changed libtool to use ksh, but it still fails with "../libtool: print: not >found" . print does work in a test script & in interactive shell. Don't know > if it can't find print or is it complaining about the parameter passed to > print ( $echo. ) > > I tried 2.4.3 on 4.0G - it too fails with that error. > > The libtools generated in 2.4.3 & 2.4.2p2 differ. > > I copied the 2.4.2p2 libtool to 2.4.3 & it built fine. Installed, > amcheck'd & the backups ran fine last night. I know, it's a bug in the newer libtool. Could you try this: untar amanda ./configure edit config.status change -> s%@LIBTOOL@%$(SHELL) $(top_builddir)/libtool% to -> s%@LIBTOOL@%/bin/ksh $(top_builddir)/libtool% make Jean-Louis -- 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: tru64 5.1 & 2.4.2p2
More stuff: I changed libtool to use ksh, but it still fails with "../libtool: print: not found" . print does work in a test script & in interactive shell. Don't know if it can't find print or is it complaining about the parameter passed to print ( $echo. ) I tried 2.4.3 on 4.0G - it too fails with that error. The libtools generated in 2.4.3 & 2.4.2p2 differ. I copied the 2.4.2p2 libtool to 2.4.3 & it built fine. Installed, amcheck'd & the backups ran fine last night. -- toby bluhm philips medical systems, mr development, cleveland, ohio [EMAIL PROTECTED] 440-483-5323 Jean-Louis Martineau <[EMAIL PROTECTED]> Sent by: [EMAIL PROTECTED] 10/28/2002 05:19 PM To: Tobias Bluhm/CLE/MS/PHILIPS@AMEC cc: [EMAIL PROTECTED] Subject:Re: tru64 5.1 & 2.4.2p2 Classification: On Mon, Oct 28, 2002 at 03:47:44PM -0500, [EMAIL PROTECTED] wrote: > I'm using /bin/sh > > First line libtool: > > #! /sbin/sh > > Echo in libtool: > > # An echo program that does not interpret backslashes. > echo="print -r" Could you change the first line of libtool to use ksh instead of sh? > What's the relationship between the libtool above & "./configure > --disable-libtool" which is how I ran configure ( and user, group,etc. ) Don't know, that may be a bug in autoconf/automake. Jean-Louis > > > -- > toby bluhm > philips medical systems, mr development, cleveland, ohio > [EMAIL PROTECTED] > 440-483-5323 > > > > > Jean-Louis Martineau <[EMAIL PROTECTED]> > 10/28/2002 01:58 PM > > > To: Tobias Bluhm/CLE/MS/PHILIPS@AMEC > cc: [EMAIL PROTECTED] > Subject:Re: tru64 5.1 & 2.4.2p2 > Classification: > > > > Hi tobias, > > Which shell are you using? > What's the first line of libtool? > What's the value of 'echo' in the libtool program? > > Jean-Louis > > On Mon, Oct 28, 2002 at 09:39:41AM -0500, [EMAIL PROTECTED] wrote: > > I tried 2.4.3 & get a libtool error ( as jfkoenig suggested I would! ) > > > > > > /sbin/sh ../libtool --mode=link cc -g -o genversion genversion.o > > versuff.o alloc.o clock.o debug.o error.o util.o file.o -lm > > -ltermcap > > ../libtool: print: not found > > ../libtool: print: not found > > ../libtool: print: not found > > ../libtool: print: not found > > ../libtool: print: not found > > ../libtool: print: not found > > ../libtool: print: not found > > ../libtool: print: not found > > ../libtool: print: not found > > ../libtool: print: not found > > ../libtool: print: not found > > ../libtool: print: not found > > ../libtool: print: not found > > ../libtool: print: not found > > rm -f version.c > > ./genversion > version.c > > sh: ./genversion: not found > > *** Exit 1 > > Stop. > > *** Exit 1 > > Stop. > > > > > > I did however, copy the configure'd amanda 2.4.2p2 directory from one of > > > our Tru64 4.x boxes, ran make install. The backups ran over the weekend > > without a problem. > > > > > > > > -- > > toby bluhm > > philips medical systems, mr development, cleveland, ohio > > [EMAIL PROTECTED] > > 440-483-5323 > > > > > > > > > > [EMAIL PROTECTED] > > Sent by: [EMAIL PROTECTED] > > 10/24/2002 12:58 PM > > > > > > To: [EMAIL PROTECTED] > > cc: (bcc: Tobias Bluhm/CLE/MS/PHILIPS) > > Subject:tru64 5.1 & 2.4.2p2 > > Classification: > > > > > > > > amanda 2.4.2p2 on tru64 5.1 - make stops on error: > > > > > > cc -DHAVE_CONFIG_H -I. -I. -I../config -I./../regex-src-g -c > alloc.c > > cc: Warning: amanda.h, line 946: In this declaration, parameter 1 has a > > different type than specified in an earlier declaration of this > function. > > (mismatparam) > > extern int ruserok P((const char *rhost, int suser, > > ---^ > > cc: Error: amanda.h, line 946: In this declaration, the type of > "ruserok" > > is not compatible with the type of a previous declaration of "ruserok" > at > > line number 705 in file /usr/include/unistd.h. (notcompat) > > extern int ruserok P((const char *rhost, int suser, > > ---^ > > *** Exit 1 > > Stop. > > *** Exit 1 > > Stop. > > > > > > Found a message in the archives that points to > >
Re: tru64 5.1 & 2.4.2p2
Toby, I have a few Tru64 5.1 alphas and I got the same error when using amanda 2.4.2p2. I fixed it by commenting out the ruserok line in common-src/amanda.h. #ifndef HAVE_RUSEROK_DECL //extern int ruserok P((const char *rhost, int suser, //const char *ruser, const char *luser)); #endif It then compiled fine without any problems and we have been backing up these machines since the've been upgraded to 5.1. Hope this helps, Jeremy [EMAIL PROTECTED] wrote: amanda 2.4.2p2 on tru64 5.1 - make stops on error: cc -DHAVE_CONFIG_H -I. -I. -I../config -I./../regex-src-g -c alloc.c cc: Warning: amanda.h, line 946: In this declaration, parameter 1 has a different type than specified in an earlier declaration of this function. (mismatparam) extern int ruserok P((const char *rhost, int suser, ---^ cc: Error: amanda.h, line 946: In this declaration, the type of "ruserok" is not compatible with the type of a previous declaration of "ruserok" at line number 705 in file /usr/include/unistd.h. (notcompat) extern int ruserok P((const char *rhost, int suser, ---^ *** Exit 1 Stop. *** Exit 1 Stop. Found a message in the archives that points to ftp://gandalf.cc.purdue.edu/pub/amanda/configure.jfkoenig as a possible solution, but ftp on gandalf.cc.purdue.edu does not seem to be up. Would that file help me? Does anyone have a copy to send me? Thanks -- toby bluhm philips medical systems, mr development, cleveland, ohio [EMAIL PROTECTED] 440-483-5323 -- - Jeremy Heslop Unix System Administrator Horn Point Laboratory University of Maryland Center for Environmental Science Office - 410-221-8241 Fax - 410-221-8490 [EMAIL PROTECTED]
Re: tru64 5.1 & 2.4.2p2
On Mon, Oct 28, 2002 at 03:47:44PM -0500, [EMAIL PROTECTED] wrote: > I'm using /bin/sh > > First line libtool: > > #! /sbin/sh > > Echo in libtool: > > # An echo program that does not interpret backslashes. > echo="print -r" Could you change the first line of libtool to use ksh instead of sh? > What's the relationship between the libtool above & "./configure > --disable-libtool" which is how I ran configure ( and user, group,etc. ) Don't know, that may be a bug in autoconf/automake. Jean-Louis > > > -- > toby bluhm > philips medical systems, mr development, cleveland, ohio > [EMAIL PROTECTED] > 440-483-5323 > > > > > Jean-Louis Martineau <[EMAIL PROTECTED]> > 10/28/2002 01:58 PM > > > To: Tobias Bluhm/CLE/MS/PHILIPS@AMEC > cc: [EMAIL PROTECTED] > Subject:Re: tru64 5.1 & 2.4.2p2 > Classification: > > > > Hi tobias, > > Which shell are you using? > What's the first line of libtool? > What's the value of 'echo' in the libtool program? > > Jean-Louis > > On Mon, Oct 28, 2002 at 09:39:41AM -0500, [EMAIL PROTECTED] wrote: > > I tried 2.4.3 & get a libtool error ( as jfkoenig suggested I would! ) > > > > > > /sbin/sh ../libtool --mode=link cc -g -o genversion genversion.o > > versuff.o alloc.o clock.o debug.o error.o util.o file.o -lm > > -ltermcap > > ../libtool: print: not found > > ../libtool: print: not found > > ../libtool: print: not found > > ../libtool: print: not found > > ../libtool: print: not found > > ../libtool: print: not found > > ../libtool: print: not found > > ../libtool: print: not found > > ../libtool: print: not found > > ../libtool: print: not found > > ../libtool: print: not found > > ../libtool: print: not found > > ../libtool: print: not found > > ../libtool: print: not found > > rm -f version.c > > ./genversion > version.c > > sh: ./genversion: not found > > *** Exit 1 > > Stop. > > *** Exit 1 > > Stop. > > > > > > I did however, copy the configure'd amanda 2.4.2p2 directory from one of > > > our Tru64 4.x boxes, ran make install. The backups ran over the weekend > > without a problem. > > > > > > > > -- > > toby bluhm > > philips medical systems, mr development, cleveland, ohio > > [EMAIL PROTECTED] > > 440-483-5323 > > > > > > > > > > [EMAIL PROTECTED] > > Sent by: [EMAIL PROTECTED] > > 10/24/2002 12:58 PM > > > > > > To: [EMAIL PROTECTED] > > cc: (bcc: Tobias Bluhm/CLE/MS/PHILIPS) > > Subject:tru64 5.1 & 2.4.2p2 > > Classification: > > > > > > > > amanda 2.4.2p2 on tru64 5.1 - make stops on error: > > > > > > cc -DHAVE_CONFIG_H -I. -I. -I../config -I./../regex-src-g -c > alloc.c > > cc: Warning: amanda.h, line 946: In this declaration, parameter 1 has a > > different type than specified in an earlier declaration of this > function. > > (mismatparam) > > extern int ruserok P((const char *rhost, int suser, > > ---^ > > cc: Error: amanda.h, line 946: In this declaration, the type of > "ruserok" > > is not compatible with the type of a previous declaration of "ruserok" > at > > line number 705 in file /usr/include/unistd.h. (notcompat) > > extern int ruserok P((const char *rhost, int suser, > > ---^ > > *** Exit 1 > > Stop. > > *** Exit 1 > > Stop. > > > > > > Found a message in the archives that points to > > ftp://gandalf.cc.purdue.edu/pub/amanda/configure.jfkoenig as a possible > > solution, but ftp on gandalf.cc.purdue.edu does not seem to be up. > > > > Would that file help me? Does anyone have a copy to send me? > > > > > > Thanks > > > > > > -- > > toby bluhm > > philips medical systems, mr development, cleveland, ohio > > [EMAIL PROTECTED] > > 440-483-5323 > > > > > > -- > 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 > > -- 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: tru64 5.1 & 2.4.2p2
I'm using /bin/sh First line libtool: #! /sbin/sh Echo in libtool: # An echo program that does not interpret backslashes. echo="print -r" What's the relationship between the libtool above & "./configure --disable-libtool" which is how I ran configure ( and user, group,etc. ) -- toby bluhm philips medical systems, mr development, cleveland, ohio [EMAIL PROTECTED] 440-483-5323 Jean-Louis Martineau <[EMAIL PROTECTED]> 10/28/2002 01:58 PM To: Tobias Bluhm/CLE/MS/PHILIPS@AMEC cc: [EMAIL PROTECTED] Subject:Re: tru64 5.1 & 2.4.2p2 Classification: Hi tobias, Which shell are you using? What's the first line of libtool? What's the value of 'echo' in the libtool program? Jean-Louis On Mon, Oct 28, 2002 at 09:39:41AM -0500, [EMAIL PROTECTED] wrote: > I tried 2.4.3 & get a libtool error ( as jfkoenig suggested I would! ) > > > /sbin/sh ../libtool --mode=link cc -g -o genversion genversion.o > versuff.o alloc.o clock.o debug.o error.o util.o file.o -lm > -ltermcap > ../libtool: print: not found > ../libtool: print: not found > ../libtool: print: not found > ../libtool: print: not found > ../libtool: print: not found > ../libtool: print: not found > ../libtool: print: not found > ../libtool: print: not found > ../libtool: print: not found > ../libtool: print: not found > ../libtool: print: not found > ../libtool: print: not found > ../libtool: print: not found > ../libtool: print: not found > rm -f version.c > ./genversion > version.c > sh: ./genversion: not found > *** Exit 1 > Stop. > *** Exit 1 > Stop. > > > I did however, copy the configure'd amanda 2.4.2p2 directory from one of > our Tru64 4.x boxes, ran make install. The backups ran over the weekend > without a problem. > > > > -- > toby bluhm > philips medical systems, mr development, cleveland, ohio > [EMAIL PROTECTED] > 440-483-5323 > > > > > [EMAIL PROTECTED] > Sent by: [EMAIL PROTECTED] > 10/24/2002 12:58 PM > > > To: [EMAIL PROTECTED] > cc: (bcc: Tobias Bluhm/CLE/MS/PHILIPS) > Subject:tru64 5.1 & 2.4.2p2 > Classification: > > > > amanda 2.4.2p2 on tru64 5.1 - make stops on error: > > > cc -DHAVE_CONFIG_H -I. -I. -I../config -I./../regex-src-g -c alloc.c > cc: Warning: amanda.h, line 946: In this declaration, parameter 1 has a > different type than specified in an earlier declaration of this function. > (mismatparam) > extern int ruserok P((const char *rhost, int suser, > ---^ > cc: Error: amanda.h, line 946: In this declaration, the type of "ruserok" > is not compatible with the type of a previous declaration of "ruserok" at > line number 705 in file /usr/include/unistd.h. (notcompat) > extern int ruserok P((const char *rhost, int suser, > ---^ > *** Exit 1 > Stop. > *** Exit 1 > Stop. > > > Found a message in the archives that points to > ftp://gandalf.cc.purdue.edu/pub/amanda/configure.jfkoenig as a possible > solution, but ftp on gandalf.cc.purdue.edu does not seem to be up. > > Would that file help me? Does anyone have a copy to send me? > > > Thanks > > > -- > toby bluhm > philips medical systems, mr development, cleveland, ohio > [EMAIL PROTECTED] > 440-483-5323 > > -- 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: tru64 5.1 & 2.4.2p2
Hi tobias, Which shell are you using? What's the first line of libtool? What's the value of 'echo' in the libtool program? Jean-Louis On Mon, Oct 28, 2002 at 09:39:41AM -0500, [EMAIL PROTECTED] wrote: > I tried 2.4.3 & get a libtool error ( as jfkoenig suggested I would! ) > > > /sbin/sh ../libtool --mode=link cc -g -o genversion genversion.o > versuff.o alloc.o clock.o debug.o error.o util.o file.o -lm > -ltermcap > ../libtool: print: not found > ../libtool: print: not found > ../libtool: print: not found > ../libtool: print: not found > ../libtool: print: not found > ../libtool: print: not found > ../libtool: print: not found > ../libtool: print: not found > ../libtool: print: not found > ../libtool: print: not found > ../libtool: print: not found > ../libtool: print: not found > ../libtool: print: not found > ../libtool: print: not found > rm -f version.c > ./genversion > version.c > sh: ./genversion: not found > *** Exit 1 > Stop. > *** Exit 1 > Stop. > > > I did however, copy the configure'd amanda 2.4.2p2 directory from one of > our Tru64 4.x boxes, ran make install. The backups ran over the weekend > without a problem. > > > > -- > toby bluhm > philips medical systems, mr development, cleveland, ohio > [EMAIL PROTECTED] > 440-483-5323 > > > > > [EMAIL PROTECTED] > Sent by: [EMAIL PROTECTED] > 10/24/2002 12:58 PM > > > To: [EMAIL PROTECTED] > cc: (bcc: Tobias Bluhm/CLE/MS/PHILIPS) > Subject:tru64 5.1 & 2.4.2p2 > Classification: > > > > amanda 2.4.2p2 on tru64 5.1 - make stops on error: > > > cc -DHAVE_CONFIG_H -I. -I. -I../config -I./../regex-src-g -c alloc.c > cc: Warning: amanda.h, line 946: In this declaration, parameter 1 has a > different type than specified in an earlier declaration of this function. > (mismatparam) > extern int ruserok P((const char *rhost, int suser, > ---^ > cc: Error: amanda.h, line 946: In this declaration, the type of "ruserok" > is not compatible with the type of a previous declaration of "ruserok" at > line number 705 in file /usr/include/unistd.h. (notcompat) > extern int ruserok P((const char *rhost, int suser, > ---^ > *** Exit 1 > Stop. > *** Exit 1 > Stop. > > > Found a message in the archives that points to > ftp://gandalf.cc.purdue.edu/pub/amanda/configure.jfkoenig as a possible > solution, but ftp on gandalf.cc.purdue.edu does not seem to be up. > > Would that file help me? Does anyone have a copy to send me? > > > Thanks > > > -- > toby bluhm > philips medical systems, mr development, cleveland, ohio > [EMAIL PROTECTED] > 440-483-5323 > > -- 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: tru64 5.1 & 2.4.2p2
I tried 2.4.3 & get a libtool error ( as jfkoenig suggested I would! ) /sbin/sh ../libtool --mode=link cc -g -o genversion genversion.o versuff.o alloc.o clock.o debug.o error.o util.o file.o -lm -ltermcap ../libtool: print: not found ../libtool: print: not found ../libtool: print: not found ../libtool: print: not found ../libtool: print: not found ../libtool: print: not found ../libtool: print: not found ../libtool: print: not found ../libtool: print: not found ../libtool: print: not found ../libtool: print: not found ../libtool: print: not found ../libtool: print: not found ../libtool: print: not found rm -f version.c ./genversion > version.c sh: ./genversion: not found *** Exit 1 Stop. *** Exit 1 Stop. I did however, copy the configure'd amanda 2.4.2p2 directory from one of our Tru64 4.x boxes, ran make install. The backups ran over the weekend without a problem. -- toby bluhm philips medical systems, mr development, cleveland, ohio [EMAIL PROTECTED] 440-483-5323 [EMAIL PROTECTED] Sent by: [EMAIL PROTECTED] 10/24/2002 12:58 PM To: [EMAIL PROTECTED] cc: (bcc: Tobias Bluhm/CLE/MS/PHILIPS) Subject:tru64 5.1 & 2.4.2p2 Classification: amanda 2.4.2p2 on tru64 5.1 - make stops on error: cc -DHAVE_CONFIG_H -I. -I. -I../config -I./../regex-src-g -c alloc.c cc: Warning: amanda.h, line 946: In this declaration, parameter 1 has a different type than specified in an earlier declaration of this function. (mismatparam) extern int ruserok P((const char *rhost, int suser, ---^ cc: Error: amanda.h, line 946: In this declaration, the type of "ruserok" is not compatible with the type of a previous declaration of "ruserok" at line number 705 in file /usr/include/unistd.h. (notcompat) extern int ruserok P((const char *rhost, int suser, ---^ *** Exit 1 Stop. *** Exit 1 Stop. Found a message in the archives that points to ftp://gandalf.cc.purdue.edu/pub/amanda/configure.jfkoenig as a possible solution, but ftp on gandalf.cc.purdue.edu does not seem to be up. Would that file help me? Does anyone have a copy to send me? Thanks -- toby bluhm philips medical systems, mr development, cleveland, ohio [EMAIL PROTECTED] 440-483-5323