Amanda-Users

Re: Problems compiling Amanda on Solaris

2005-06-23 16:39:47
Subject: Re: Problems compiling Amanda on Solaris
From: Paul Bijnens <paul.bijnens AT xplanation DOT com>
To: amanda-users AT amanda DOT org
Date: Thu, 23 Jun 2005 22:32:36 +0200
Jon LaBadie wrote:
On Thu, Jun 23, 2005 at 10:04:42AM -0400, khalid maqsudi wrote:

Yes,  I had a hard time figuring this out and it was not anywhere on google.
Most solaris distro's default to system V version of make.  That would be
great if you added it to the docs.  Thank you.



Anyone got a pointer to docs describing the difference
in gnu and sysv make?  I wouldn't be surprised if some
gun stuff needed the features of gnu make, but I'm
always amazed how often gnu make doesn't seem to work
with older sysv makefiles.


I'm not 100% sure (because I currently have not access to Solaris 10)
but the actual error was that "ar" was not found by configure, hence
the line in the problemreport:

false cru ...

Instead of "false" there should have been "/usr/ccs/bin/ar" and it is
used to build the libamanda.a archive.

So maybe it boils down to getting the PATH correct: putting /usr/ccs/bin
into the path. And maybe that's also a side effect of using /usr/ccs/bin/make instead of another make, which does not alter the path
for the subcommands.

Anyone with access to Solaris 10 should test this:
make distclean
PATH=/usr/ccs/bin/$PATH
./configure --with-user=... etc
make  (any version)

And let us know if it works.


--
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          *
***********************************************************************