Amanda-Users

Re: amanda 2.5.1 on Solaris 9

2006-09-13 11:34:15
Subject: Re: amanda 2.5.1 on Solaris 9
From: Jon LaBadie <jon AT jgcomp DOT com>
To: amanda-users AT amanda DOT org
Date: Wed, 13 Sep 2006 11:23:59 -0400
On Wed, Sep 13, 2006 at 09:29:38AM -0500, Lee, Raymond wrote:
> P.S., I did a "make uninstall" and "make distclean" on the 2.5.0p2
> version before trying to install 2.5.1.
> 
> Thanks,
> Ray
> 
> -----Original Message-----
> From: owner-amanda-users AT amanda DOT org
> [mailto:owner-amanda-users AT amanda DOT org] On Behalf Of Lee, Raymond
> Sent: Wednesday, September 13, 2006 10:15 AM
> To: amanda-users AT amanda DOT org
> Subject: amanda 2.5.1 on Solaris 9
> 
> 
> Hi,
> 
> I'm having trouble getting the amanda 2.5.1 server installed on Solaris
> 9.  It always gets hung during "make install" when it gets to
> restore-src.  The client-only install works fine.  I tried the server
> install on a couple of different Solaris 9 boxes with the same error.
> 2.5.0p2 installed just fine on the same box before this.  Here's what I
> have:
> 
> ./configure \
> --with-user=amanda \
> --with-group=backups \
> --with-index-server=amanda-server \
> --with-tape-server=amanda-server \
> --with-tape-device=/dev/rmt/0cbn \
> --with-changer-device=/dev/scsi/changer/c2t0d0 \
> --with-gnutar=/usr/local/bin/tar \
> --with-gnutar-listdir=/usr/local/var/amanda/gnutar-lists \
> --with-assertions=yes \
> --with-debugging=/var/log/amanda/debug \
> --with-fqdn=yes \
> --with-pid-debug-files=yes \
> --without-built-manpages \
> --with-ssh-security
> 
> 
> gcc -shared -Wl,-h -Wl,librestore-2.5.1.so -o .libs/librestore-2.5.1.so
> .libs/restore.o  -R/usr/local/lib -L/usr/local/lib -lamanda -lamtape
> -lamserver -lgen -lm -lreadline -ltermcap -lsocket -lnsl -lresolv -lintl
> -lc
> Text relocation remains                         referenced
>     against symbol                  offset      in file
> <unknown>                           0xa24
> /usr/local/lib/libtermcap.a(tparam.o)
> .

Libtermcap has always seems to be a problem with Solaris.
I eliminate it and use ncurses instead.  Try adding these
to your configure line:

        --without-termcap \
        --without-ltermcap \
        --without-LIBTERMCAP \
        --with-ncurses=yes \
        --with-lncurses=yes \
        --with-LIBNCURSES=yes \

This assumes you have a libncurses available.

-- 
Jon H. LaBadie                  jon AT jgcomp DOT com
 JG Computing
 4455 Province Line Road        (609) 252-0159
 Princeton, NJ  08540-4322      (609) 683-7220 (fax)

<Prev in Thread] Current Thread [Next in Thread>