With the help of several people I was able to finally tweak my local configure
to get amanda-2.6.1p2 to compile.
I ran the make check and it ran without any errors.
Here is what I had to do
1) Install SunStudio12.1 in /opt/Sunstudio
2) linked /opt/SUNWspro to /opt/Sunstudio
3) One of my big problems was that I had /opt/csw in my paths, which was
causing most of my problem. I resolved this by adding PATH and LD_LIBRARY_PATH
to my configure file.
Here is my configure file that worked.
##
#
#! /bin/sh
make distclean
AMANDAVERSION="2.6.1p2"
PATH="/opt/SUNWspro/bin:/opt/sfw/bin:/usr/bin:/usr/sbin:/usr/bin:/usr/ccs/bin"
export PATH
LD_LIBRARY_PATH="/usr/lib:/usr/include:/opt/SUNWspro/lib:/opt/sfw/lib:/usr/sfw/lib:/usr/local/lib"
export LD_LIBRARY_PATH
./configure \
CC=/opt/SunStudio/bin/cc \
LDFLAGS="-L/usr/sfw/lib -L/opt/sfw/lib -L/usr/local/lib/amanda
-R/usr/sfw/lib -R/opt/sfw/lib -R/usr/local/lib/amanda " \
CPFLAGS="-I/usr/sfw/include -I/opt/swf/include" \
CLFAGS="/usr/sfw/include -I/opt/sfw/include -I/usr/local/include" \
MTF="-f" \
MTX=/opt/csw/sbin/mtx \
--prefix=/local/amanda/amanda${AMANDAVERSION} \
--with-user=amanda \
--with-owner=amanda \
--with-group=operator \
--with-gnuplot=/opt/csw/bin/gnuplot \
--with-gnutar=/opt/csw/bin/gtar \
--with-gnutar-listdir=/var/amanda/gnutar-lists \
--with-index-server=hertz \
--with-tape-server=hertz \
--with-tape-device=/dev/rmt/1bn \
--with-changer-device=/dev/changer/1 \
--without-ipv6 \
--with-bsd-security --with-amandahosts \
--enable-static-binary \
--disable-s3-device
make
#
##
I want to thank everyone who help. I really do appreciate you taking the time
to respond.
Robert