Hi
I have a couple of machines that I fail to build amanda on
(version 2.4.1p1). The machines are Linux Slackware 7.1 and 9libs (for
plan9 support). 9libs installs a file called libc.h in
/usr/local/include and when amanda builds it gives the following error
(I included all the build process, it's not long):
Making all in config
make[1]: Entering directory `/usr/src/amanda-2.4.1p1/config'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/usr/src/amanda-2.4.1p1/config'
Making all in common-src
make[1]: Entering directory `/usr/src/amanda-2.4.1p1/common-src'
/bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I.
-I../config -I./../regex-src -D_FILE_OFFSET_BITS=64 -g -c alloc.c
gcc -DHAVE_CONFIG_H -I. -I. -I../config -I./../regex-src
-D_FILE_OFFSET_BITS=64 -g -c -fPIC -DPIC alloc.c
In file included from amanda.h:120,
from alloc.c:33:
/usr/local/include/libc.h:33: parse error before `Rune'
/usr/local/include/libc.h:34: parse error before `*'
make[1]: *** [alloc.lo] Error 1
make[1]: Leaving directory `/usr/src/amanda-2.4.1p1/common-src'
make: *** [all-recursive] Error 1
the configure script ran with the following options:
./configure --sysconfdir=/etc --with-user=amanda --with-group=backup
--with-index-server=backup --without-bsd-security --with-amandahosts
--without-server --with-gnutar-listdir=/var/amanda
--includedir=/usr/include/
Can anyone please tell me how do I correct this problem (short of
upgrading to amanda 2.4.2pX) ?
Paolo