Amanda-Users

Re: make install problem, irix, amanda 2.4.4p1 (7/16 snapshot)

2003-09-18 11:08:51
Subject: Re: make install problem, irix, amanda 2.4.4p1 (7/16 snapshot)
From: Brian Cuttler <brian AT wadsworth DOT org>
To: Paul Bijnens <paul.bijnens AT xplanation DOT com>
Date: Thu, 18 Sep 2003 11:04:09 -0400 (EDT)
Hi Paul,

Yes, figuring it was a cross platform thing I copied the kit to
the local irix system and re-ran configure and make. It did install
but I got errors (unsecured ports and dumper must be suid-root).

To correct I removed the --withport options and re-built. Eventually
I resorted to using the root account rather than amanda, I really
want to get away from that and have on Solaris but on Irix I've had
some problems, perhaps in part because /usr/local (ie /usr/local/sbin
and /usr/local/libexec) are crossmounted from a single NFS server.

After that I was close to running, amcheck was ok but amdump reports

  driver: FATAL exec /usr/local/libexec/dumper (dumper1): Exec format error

Perhaps because I'd compiled on IRIX 6.5.19m and was running on a
different server (multiple servers, mucho-multiple clients) with
IRIX 6.5.14m and something wasn't backwards compattible.

I'll try again with a build on an older copy of the OS.

Still that doesn't address the running as root issue.

                                                thanks,

                                                Brian


> Brian Cuttler wrote:
> 
> > bali 16# make install
> > Making install in config
> > Making install in common-src
> >         /bin/sh ../config/mkinstalldirs /usr/local/lib
> >  /bin/sh ../libtool --mode=install /usr/local/bin/install -c  libamanda.la 
> > /usr/local/lib/libamanda.la
> > /usr/local/bin/install -c .libs/libamanda-2.4.4p1-20030716.so 
> > /usr/local/lib/libamanda-2.4.4p1-20030716.so
> > /usr/local/bin/install: can't open libamanda-2.4.4p1-20030716.so: No such 
> > file or directory.
> 
> 
> I have no experience with Irix, but it seems that configure
> got the wrong syntax for the current install program used.
> 
> GNU fileutils 4.1 install program has syntax:
> 
>      /usr/bin/ginstall -c  file dest
>       (the -c option is ignored - just for compatibility)
> 
> install as found Solaris 2.8:
> 
>       /usr/sbin/install -c dira file
> 
>       -c dira
>             Install file in the directory specified  by  dira,  if
>             file  does  not  yet  exist.  If  it is found, install
>             issues a message saying that the file already  exists,
>             and exits without overwriting it.
> 
> 
> The install you use on Irix seems to follow the Solaris convention
> while, when I run configure on Solaris is uses "config/install-sh"
> and not the system supplied install.
> 
> You did a "make distclean" before you compiled the program, did you?
> 
> Maybe just rename the /usr/local/bin/install (temporarily) before
> so that even configure cannot find it?
> 
> 
> -- 
> Paul Bijnens, Xplanation                            Tel  +32 16 397.511
> Technologielaan 21 bus 2, B-3001 Leuven, BELGIUM    Fax  +32 16 397.512
> http://www.xplanation.com/          email:  Paul.Bijnens AT xplanation DOT com
> ***********************************************************************
> * I think I've got the hang of it now:  exit, ^D, ^C, ^\, ^Z, ^Q, F6, *
> * quit,  ZZ, :q, :q!,  M-Z, ^X^C,  logoff, logout, close, bye,  /bye, *
> * stop, end, F3, ~., ^]c, +++ ATH, disconnect, halt,  abort,  hangup, *
> * PF4, F20, ^X^X, :D::D, KJOB, F14-f-e, F8-e,  kill -1 $$,  shutdown, *
> * kill -9 1,  Alt-F4,  Ctrl-Alt-Del,  AltGr-NumLock,  Stop-A,  ...    *
> * ...  "Are you sure?"  ...   YES   ...   Phew ...   I'm out          *
> ***********************************************************************
> 
> 


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