Hi all,
I thought I could share my experience in compiling amanda on a DEC
Alpha running Compaq Tru64 5.0 (formerly DEC OSF/1). As it was not
straighforward, it could possibly help someone.
As some of you have already noticed, there is a problem with ruserok
being declared twice, so the trick is to edit configure.in and add the check
of ruserok in unistd.h. But then, other problems arise when running
autoconf.
So here is what I had to do to successfully compile amanda.
My config:
DEC-3000 running Tru64 5.0
gcc-2.95
amanda-2.4.1p1
autoconf-2.13
automake-1.4
libtool-1.3.5
First I modified configure.in:
changed ICE_CHECK_DECL(ruserok, netdb.h sys/socket.h libc.h) into
ICE_CHECK_DECL(ruserok, netdb.h sys/socket.h libc.h unistd.h)
Also changed AC_VALIDATE_CACHE_SYSTEM_TYPE in
AC_VALIDATE_CACHED_SYSTEM_TUPLE
(but I think this is in the next release of amanda)
Then I ran
aclocal -I config
autoconf
I had to modify amplot/Makefile.am:
I deleted the line
EXTRA_DATA = amplot.awk amplot.g
and of course changed the line
EXTRA_DIST = $(EXTRA_DATA)
into
EXTRA_DIST = amplot.awk amplot.g
(rem: I do not have gnuplot, so amplot should not be built, yet the error
arises when generating the Makefile for amplot, or am I mistaken ...)
In order to avoid a problem with the --cache-file option of the local libtool, i
copied my libtool (/usr/local/share/libtool) ltconfig and ltmain.sh in the
config/ directory.
Then I could run configure and make.
Now I have to configure the amanda server, but that's another story.
Hope this can help someone.
Raoul
--
Dr Raoul De Guchteneere
Institut d'Astronomie et de G�ophysique Georges Lema�tre
Universit� Catholique de Louvain, Belgium