Hi all, I have been trying unsuccessfully to upgrade from 2.3.0.4 to 2.4.2p2 on a Solaris 2.6 box. I have removed the existing install of 2.3.0.4 so it would not get in the way.
I'm compiling with the following params: ./configure --prefix=/usr/local/amanda --libexecdir=/usr/local/amanda/lib --with-configdir=/proj/amanda --with-suffixes --with-fqdn --with-bsd-security --with-config=NONE --with-tape-device=/dev/rmt/0mn --with-smbclient=/usr/local/samba/bin/smbclient --with-user=root --with-group=root --with-db=gdbm --with-debugging --with-includes=/usr/local/include /usr/local/gnu/include --with-libraries=/usr/local/lib /usr/local/gnu/lib The configure completes successfully but make fails with the following output: ____________________________________________________________ cc -DHAVE_CONFIG_H -I. -I. -I../config -I../common-src -I../tape-src -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -I/usr/local/gnu/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -g -O2 -c infofile.c -o infofile.o infofile.c:46: parse error before `*' infofile.c:46: warning: data definition has no type or storage class infofile.c: In function `open_infofile': infofile.c:391: warning: assignment makes pointer from integer without a cast infofile.c: In function `get_info': infofile.c:525: incompatible types in assignment infofile.c: In function `get_firstkey': infofile.c:554: incompatible types in assignment infofile.c: In function `get_nextkey': infofile.c:597: incompatible types in assignment infofile.c: In function `put_info': infofile.c:658: `DBM_REPLACE' undeclared (first use in this function) infofile.c:658: (Each undeclared identifier is reported only once infofile.c:658: for each function it appears in.) make[1]: *** [infofile.lo] Error 1 make[1]: Leaving directory `/tmp_mnt/home/des/fs3/u17/mpdavig/stuff/downloads/amanda-2.4.2p2/server-src' make: *** [all-recursive] Error 1 ____________________________________________________________ This would lead me to believe there is a problem with "gdbm". I currently have gdbm 1.8.0 installed to /usr/local/gnu and gdbm.h and ndbm.h are installed to /usr/local/gnu/include. I also checked to make sure these were the only instances of the include files on the system. Has anyone come across this issue before? -- Thanks, Marc Davignon Systems Administrator, Merrill Lynch ITG
