Hi Everyone,
This time I am trying to install amanda 2.4.2p2 on a TRU64 5.1
server. Does anyone have this running ? The source Im using has the
advfs.diff and vrestore.diff patches applied.
The first time I ran the ./configure it was unable to detect a C
compiler so I ran the command below and the configure completed
successfully
CC=cc ./configure --prefix=/usr/lib --without-server --with-user=amanda
--with-group=system --with-tape-server=genome4.marc.hort.cri.nz
--with-tape-device=/dev/nst0 --with-fqdn
When I run the make however I get
No suffix list.
Making all in config
No suffix list.
Making all in common-src
/sbin/sh ../libtool --mode=compile cc -DHAVE_CONFIG_H -I. -I.
-I../config -I./../regex-src -g -c alloc.c
cc -DHAVE_CONFIG_H -I. -I. -I../config -I./../regex-src -g -c alloc.c -o
alloc.o
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.
The line that is refered to in /usr/include/unistd.h is
extern int ruserok __((char *, int, char *, char *));
Does anyone know how I can fix this ?? :)
Would compiling with gcc make any difference to this problem ??
Thank you for your time.
_______________________________________
Output from configure
_______________________________________
creating cache ./config.cache
checking host system type... alphaev6-dec-osf5.1
checking target system type... alphaev6-dec-osf5.1
checking build system type... alphaev6-dec-osf5.1
checking cached system tuple... ok
checking for a BSD compatible install... config/install-sh -c
checking whether build environment is sane... yes
checking whether make sets ${MAKE}... yes
checking for working aclocal... found
checking for working autoconf... found
checking for working automake... found
checking for working autoheader... found
checking for working makeinfo... found
checking for raw ftape device... /dev/null
checking for Kerberos and Amanda kerberos4 bits... no
checking for gcc... cc
checking whether the C compiler (cc ) works... yes
checking whether the C compiler (cc ) is a cross-compiler... no
checking whether we are using GNU C... no
checking whether cc accepts -g... yes
checking for object suffix... o
checking for Cygwin environment... no
checking for mingw32 environment... no
checking for executable suffix... no
checking for ar... /usr/bin/ar
checking for mawk... no
checking for gawk... gawk
checking for gawk command line variable assignment... yes with -v
checking for bison... bison -y
checking for cat... /sbin/cat
checking for compress... /usr/bin/compress
checking for dd... /sbin/dd
checking for egrep... /usr/bin/egrep
checking for getconf... /bin/getconf
checking for gnuplot... /usr/local/bin/gnuplot
checking for grep... /sbin/grep
checking for gtar... no
checking for gnutar... no
checking for tar... /sbin/tar
configure: warning: *** /sbin/tar is not GNU tar, so it will not be
used.
checking for smbclient... no
checking for gzip... /usr/bin/gzip
checking for Mail... /usr/bin/Mail
checking for mt... /sbin/mt
checking for chio... no
checking for chs... no
checking for mtx... no
checking for lpr... /usr/bin/lpr
checking which flag to use to select a printer... -P
checking for pcat... /usr/bin/pcat
checking for perl5... no
checking for perl... /usr/bin/perl
checking for sh... /sbin/sh
checking for ufsdump... no
checking for dump... /sbin/dump
checking for ufsrestore... no
checking for restore... /sbin/restore
checking whether /sbin/dump supports -E or -S for estimates... E
checking for xfsdump... no
checking for xfsrestore... no
checking for vxdump... no
checking for vxrestore... no
checking for vdump... /sbin/vdump
checking for vrestore... /sbin/vrestore
checking for large file compilation CFLAGS...
checking for large file compilation LDFLAGS...
checking for large file compilation LIBS...
checking for ranlib... ranlib
checking for non-GNU ld... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... no
checking for BSD-compatible nm... /usr/local/bin/nm -B
checking whether ln -s works... yes
updating cache ./config.cache
loading cache ./config.cache within ltconfig
checking whether we are using GNU C... no
checking for object suffix... o
checking for executable suffix... (cached) no
checking for cc option to produce PIC... none
checking if cc supports -c -o file.o... yes
checking if cc supports -c -o file.lo... yes
checking if cc static flag works...
checking if the linker (/usr/bin/ld) is GNU ld... no
checking whether the linker (/usr/bin/ld) supports shared libraries...
no
checking command to parse /usr/local/bin/nm -B output... ok
checking how to hardcode library paths into programs... unsupported
checking for /usr/bin/ld option to reload object files... -r
checking dynamic linker characteristics... no
checking if libtool supports shared libraries... no
checking whether to build shared libraries... no
checking whether to build static libraries... yes
checking for objdir... .libs
creating libtool
updating cache ./config.cache
loading cache ./config.cache
checking how to run the C preprocessor... cc -E
checking for working const... yes
checking for working volatile... yes
checking for working unsigned long constants... yes
checking for ANSI C header files... yes
checking for off_t... yes
checking for pid_t... yes
checking for size_t... yes
checking for ssize_t... yes
checking for uid_t in sys/types.h... yes
checking return type of signal handlers... void
checking whether struct tm is in sys/time.h or time.h... time.h
checking for flex... flex
checking for flex... (cached) flex
checking for yywrap in -lfl... yes
checking lex output file root... lex.yy
checking whether yytext is a pointer... yes
checking for ANSI C header files... (cached) yes
checking for dirent.h that defines DIR... yes
checking for opendir in -ldir... no
checking for sys/wait.h... yes
checking for wait.h... yes
checking whether wait uses union wait... no
checking whether time.h and sys/time.h may both be included... yes
checking for arpa/inet.h... yes
checking for camlib.h... no
checking for chio.h... no
checking for db.h... yes
checking for dbm.h... yes
checking for fcntl.h... yes
checking for fstab.h... yes
checking for grp.h... yes
checking for history.h... no
checking for libc.h... no
checking for limits.h... yes
checking for linux/ftape-header-segment.h... no
checking for linux/ftape-vendors.h... no
checking for linux/ftape.h... no
checking for linux/zftape.h... no
checking for mntent.h... no
checking for mnttab.h... no
checking for ndbm.h... yes
checking for netdb.h... yes
checking for netinet/in_systm.h... yes
checking for netinet/ip.h... yes
checking for readline.h... no
checking for readline/history.h... no
checking for readline/readline.h... no
checking for scsi/sg.h... no
checking for scsi/scsi_ioctl.h... no
checking for stdlib.h... yes
checking for string.h... yes
checking for strings.h... yes
checking for sys/chio.h... no
checking for sys/dsreq.h... no
checking for sys/fcntl.h... yes
checking for sys/file.h... yes
checking for sys/ioctl.h... yes
checking for sys/ipc.h... yes
checking for sys/mman.h... yes
checking for sys/mntent.h... no
checking for sys/mount.h... yes
checking for sys/mtio.h... yes
checking for sys/param.h... yes
checking for sys/scarray.h... no
checking for sys/scsiio.h... no
checking for sys/scsi.h... no
checking for sys/scsi/impl/uscsi.h... no
checking for sys/scsi/scsi/ioctl.h... no
checking for sys/select.h... yes
checking for sys/shm.h... yes
checking for sys/stat.h... yes
checking for sys/statfs.h... no
checking for sys/statvfs.h... yes
checking for sys/tape.h... no
checking for sys/time.h... yes
checking for sys/types.h... yes
checking for sys/vfs.h... no
checking for sys/vfstab.h... no
checking for syslog.h... yes
checking for unistd.h... yes
checking for vtblc.h... no
checking whether byte ordering is bigendian... no
checking for main in -lcur_colr... no
checking for main in -lintl... no
checking for main in -lnsl... no
checking for main in -lsocket... no
checking for main in -lsun... no
checking for tgetent in -ltermcap... yes
checking for readline in -lreadline... yes
checking for modf in -lm... yes
checking for dbm_open in -lc... yes
checking whether _POSIX2_RE_DUP_MAX is defined... yes
checking whether CHAR_MIN is defined... yes
checking whether CHAR_MAX is defined... yes
checking whether CHAR_BIT is defined... yes
checking for accept... yes
checking for accept declaration in sys/types.h sys/socket.h... yes
checking for working alloca.h... yes
checking for alloca... yes
checking for atexit... yes
checking for atof... yes
checking for atof declaration in stdlib.h... yes
checking for basename... yes
checking for bind... yes
checking for bind declaration in sys/types.h sys/socket.h... yes
checking for bcopy... yes
checking for bcopy declaration in string.h strings.h stdlib.h... yes
checking for bzero... yes
checking for bzero declaration in string.h strings.h stdlib.h... yes
checking whether closedir returns void... no
checking for closelog... yes
checking for closelog declaration in syslog.h... yes
checking for connect... yes
checking for connect declaration in sys/types.h sys/socket.h... yes
checking for dbm_open... yes
checking for dbm_open declaration in ... no
checking for fclose... yes
checking for fclose declaration in stdio.h... yes
checking for fflush... yes
checking for fflush declaration in stdio.h... yes
checking for flock... yes
checking for flock declaration in sys/file.h... no
checking for fprintf... yes
checking for fprintf declaration in stdio.h... yes
checking for fputc... yes
checking for fputc declaration in stdio.h... yes
checking for fputs... yes
checking for fputs declaration in stdio.h... yes
checking for fread... yes
checking for fread declaration in stdio.h stdlib.h... yes
checking for fseek... yes
checking for fseek declaration in stdio.h... yes
checking for fwrite... yes
checking for fwrite declaration in stdio.h stdlib.h... yes
checking for getcwd... yes
checking for getfsent... yes
checking for gethostname... yes
checking for gethostname declaration in unistd.h... yes
checking for getmntent in -lsun... no
checking for getmntent in -lseq... no
checking for getmntent in -lgen... no
checking for getmntent... no
checking for getopt... yes
checking for getopt declaration in stdlib.h unistd.h libc.h... yes
checking for getpeername... yes
checking for getpeername declaration in sys/types.h sys/socket.h... yes
checking for getpgrp... yes
checking whether getpgrp takes no argument... yes
checking for getsockname... yes
checking for getsockname declaration in sys/types.h sys/socket.h... yes
checking for getsockopt... yes
checking for getsockopt declaration in sys/types.h sys/socket.h... yes
checking for gettimeofday... yes
checking for gettimeofday declaration in time.h sys/time.h... yes
checking for gettimeofday number of arguments... 2
checking for getvfsent... no
checking for initgroups... yes
checking for isascii... yes
checking for initgroups... (cached) yes
checking for initgroups declaration in grp.h sys/types.h unistd.h
libc.h... yes
checking for ioctl... yes
checking for ioctl declaration in sys/ioctl.h unistd.h libc.h... yes
checking for listen... yes
checking for listen declaration in sys/types.h sys/socket.h... yes
checking for lstat... yes
checking for lstat declaration in sys/types.h sys/stat.h... yes
checking for malloc... yes
checking for malloc declaration in stdlib.h... yes
checking for memmove... yes
checking for memmove... (cached) yes
checking for memmove declaration in string.h strings.h... yes
checking for memset... yes
checking for memset declaration in string.h... yes
checking for mkdir... yes
checking for mktemp... yes
checking for mktemp declaration in stdlib.h... yes
checking for mktime... yes
checking for mktime... (cached) yes
checking for mktime declaration in time.h sys/time.h... yes
checking for unistd.h... (cached) yes
checking for getpagesize... yes
checking for working mmap... yes
checking for on_exit... no
checking for openlog... yes
checking for openlog declaration in syslog.h... yes
checking for pclose... yes
checking for pclose declaration in stdio.h... yes
checking for perror... yes
checking for perror declaration in stdio.h... yes
checking for printf... yes
checking for printf declaration in stdio.h... yes
checking for putenv... yes
checking for puts... yes
checking for puts declaration in stdio.h... yes
checking for realloc... yes
checking for realloc declaration in stdlib.h... yes
checking for recvfrom... yes
checking for recvfrom declaration in sys/types.h sys/socket.h... yes
checking for remove... yes
checking for remove declaration in stdio.h... yes
checking for rename... yes
checking for rename declaration in stdio.h... yes
checking for rewind... yes
checking for rewind declaration in stdio.h... yes
checking for rmdir... yes
checking for ruserok... yes
checking for ruserok declaration in netdb.h sys/socket.h libc.h... no
checking for select... yes
checking for select declaration in sys/types.h sys/socket.h sys/select.h
time.h sys/time.h... yes
checking for select() argument type... fd_set
checking for sendto... yes
checking for sendto declaration in sys/types.h sys/socket.h... yes
checking for setegid... yes
checking for setegid declaration in unistd.h... yes
checking for seteuid... yes
checking for seteuid declaration in unistd.h... yes
checking for setmntent... no
checking for setresgid... no
checking for setresuid... no
checking for setpgid... yes
checking for setpgid... (cached) yes
checking for setpgid declaration in sys/types.h unistd.h... yes
checking for setpgrp... yes
checking whether setpgrp takes no argument... no
checking for setpgrp... (cached) yes
checking for setpgrp declaration in sys/types.h unistd.h libc.h... yes
checking for setsockopt... yes
checking for setsockopt declaration in sys/types.h sys/socket.h... yes
checking for shmget... yes
checking for shmdt() argument type... void
checking for shmat... yes
checking for shmat declaration in sys/types.h sys/ipc.h sys/shm.h... yes
checking for shmctl... yes
checking for shmctl declaration in sys/types.h sys/ipc.h sys/shm.h...
yes
checking for shmdt... yes
checking for shmdt declaration in sys/types.h sys/ipc.h sys/shm.h... yes
checking for shmget... (cached) yes
checking for shmget declaration in sys/types.h sys/ipc.h sys/shm.h...
yes
checking for snprintf... yes
checking for snprintf declaration in stdio.h... yes
checking for vsnprintf... yes
checking for vsnprintf declaration in stdio.h... yes
checking for sigaction... yes
checking for sigemptyset... yes
checking for sigvec... yes
checking for socket... yes
checking for socket declaration in sys/types.h sys/socket.h... yes
checking for socketpair... yes
checking for socketpair declaration in sys/types.h sys/socket.h... yes
checking for sscanf... yes
checking for sscanf declaration in stdio.h... yes
checking for statfs... yes
checking for statvfs... yes
checking for strerror... yes
checking for strerror... (cached) yes
checking for strerror declaration in string.h... yes
checking for strftime... yes
checking for strftime... (cached) yes
checking for strftime... (cached) yes
checking for strftime declaration in time.h sys/time.h... yes
checking for strncasecmp... yes
checking for strncasecmp... (cached) yes
checking for strncasecmp declaration in string.h... yes
checking for strstr... yes
checking for syslog... yes
checking for syslog declaration in syslog.h... yes
checking for system... yes
checking for system declaration in stdlib.h... yes
checking for time... yes
checking for time declaration in time.h sys/time.h... yes
checking for tolower... yes
checking for tolower declaration in ctype.h... yes
checking for toupper... yes
checking for toupper declaration in ctype.h... yes
checking for ungetc... yes
checking for ungetc declaration in stdio.h... yes
checking for vprintf... yes
checking for vfprintf... yes
checking for vfprintf declaration in stdio.h stdlib.h... yes
checking for vprintf... (cached) yes
checking for vprintf declaration in stdio.h stdlib.h... yes
checking for vsprintf... yes
checking for vsprintf declaration in stdio.h stdlib.h... yes
checking for wait4... yes
checking for waitpid... yes
checking for strcasecmp... yes
checking for strcasecmp... (cached) yes
checking for strcasecmp declaration in string.h... yes
checking disk device prefixes... /dev/ - /dev/r
checking whether posix fcntl locking works... no
checking whether flock locking works... no
checking whether lockf locking works... no
checking whether lnlock locking works... no
configure: warning: *** No working file locking capability found!
configure: warning: *** Be VERY VERY careful.
updating cache ./config.cache
creating ./config.status
creating amplot/amcat.awk
creating amplot/amplot.sh
creating amplot/Makefile
creating changer-src/chg-manual.sh
creating changer-src/chg-multi.sh
creating changer-src/chg-mtx.sh
creating changer-src/chg-chs.sh
creating changer-src/chg-rth.pl
creating changer-src/chg-chio.pl
creating changer-src/chg-zd-mtx.sh
creating changer-src/Makefile
creating client-src/patch-system.sh
creating client-src/Makefile
creating common-src/versuff.c
creating common-src/Makefile
creating example/amanda.conf
creating example/Makefile
creating example/amanda.conf.chg-scsi
creating example/chg-scsi-linux.conf
creating example/chg-scsi-solaris.conf
creating example/chg-scsi-hpux.conf
creating man/amadmin.8
creating man/amanda.8
creating man/amcheck.8
creating man/amcheckdb.8
creating man/amcleanup.8
creating man/amdump.8
creating man/amflush.8
creating man/amlabel.8
creating man/amoverview.8
creating man/amrecover.8
creating man/amrmtape.8
creating man/amtoc.8
creating man/amverify.8
creating man/Makefile
creating man/amstatus.8
creating man/amreport.8
creating man/amgetconf.8
creating docs/Makefile
creating recover-src/Makefile
creating restore-src/Makefile
creating server-src/amcheckdb.sh
creating server-src/amcleanup.sh
creating server-src/amdump.sh
creating server-src/amfreetapes.sh
creating server-src/amoverview.pl
creating server-src/amrmtape.sh
creating server-src/amtoc.pl
creating server-src/amverify.sh
creating server-src/Makefile
creating server-src/amstatus.pl
creating tape-src/Makefile
creating config/Makefile
creating Makefile
creating config/config.h
______________________________________________________
The contents of this e-mail are privileged and/or confidential to the
named recipient and are not to be used by any other person and/or
organisation. If you have received this e-mail in error, please notify
the sender and delete all material pertaining to this e-mail.
______________________________________________________