Hi! I'm trying to build amanda on a Solaris 2.6 box (I don't know if there are other things that would describe it better -- if you can think of anything, please let me know...).
I ran configure with the following line (running as root): ># ./configure --with-user=amanda --with-group=root --prefix=/usr/amanda > --without-server --with-index-server=einstein.mgh.harvard.edu The only odd output from configure that I noticed was: >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. I then tried to do a 'make'. The output is below. What do I need to do to get DATAMODEL_NATIVE specified? Thanks, Ricky >Making all in config >Making all in common-src >/usr/bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. > -I../config -I./../regex-src -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 > -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -g -O2 -c alloc.c >gcc -DHAVE_CONFIG_H -I. -I. -I../config -I./../regex-src -D_LARGEFILE_SOURCE > -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -g -O2 > -c alloc.c -o alloc.o >In file included from /usr/include/sys/turnstile.h:12, > from /usr/include/sys/t_lock.h:20, > from /usr/include/sys/vnode.h:37, > from /usr/include/sys/stream.h:21, > from /usr/include/netinet/in.h:38, > from amanda.h:218, > from alloc.c:33: >/opt/Summertime_97.sparc/lib/gcc-lib/sparc-sun-solaris2.5/2.7.2.2/ \ > include/sys/param.h:187: warning: `NBBY' redefined >/usr/include/sys/select.h:45: warning: this is the location of the previous definition >In file included from /usr/include/sys/stream.h:26, > from /usr/include/netinet/in.h:38, > from amanda.h:218, > from alloc.c:33: >/usr/include/sys/model.h:32: #error "No DATAMODEL_NATIVE specified" >*** Error code 1 >make: Fatal error: Command failed for target `alloc.lo' >Current working directory /usr/amanda/src/amanda-2.4.2p2/common-src >*** Error code 1 >make: Fatal error: Command failed for target `all-recursive' ----------------------------------------------------- Richard Morse System Administrator MGH Biostatistics Center 50 Staniford St. Rm 560 [EMAIL PROTECTED] 617/724-9830
