Amanda-Users

Re: amanda-2.5.0p2 hanging on smbclient with configure

2006-08-08 10:59:12
Subject: Re: amanda-2.5.0p2 hanging on smbclient with configure
From: Paul Bijnens <paul.bijnens AT xplanation DOT com>
To: Gavin Henry <ghenry AT suretecsystems DOT com>
Date: Tue, 08 Aug 2006 16:52:05 +0200
On 2006-08-08 16:17, Gavin Henry wrote:

Currently trying to compile 2.5.0p2 with:

./configure --with-user=amanda --with-group=disk --with-ssh-security
--with-config=Suretec --with-changer-device=/dev/sg2
--with-tape-device=/dev/nst0

But configure just sits there at:

checking for smbclient... /usr/bin/smbclient

Same when adding --with-smbclient=/usr/bin/smbclient


If you do not need smbclient support, then you can configure
with  "--without-smbclient"  and work around this problem.

If you do need it...  then try to investigate what is blocking.
It seems like "configure" is hanging in one of the next steps.

Configure tries to find out what version of smbclient you have
by running the command:

smbclient '\\not.a.host.name\notashare' -U nosuchuser -N -Tx /dev/null

What happens if you run that manually?
The output of that step does not appear on screen however, so it could
be that configure is actually hanging on the step after that.

The next step is finding out where the "gzip" program lives.
Is does that by looking in several directories.
If one of those directories happens to be mounted on a non-responsive
NFS-server, you hang here too.

The list of directories is:
/bin:/usr/bin:/sbin:/usr/sbin:/usr/ucb:/usr/bsd:/etc:/usr/etc
/usr/local/sbin:/usr/local/bin:/usr/ccs/bin
and the value of $PATH from the user that runs configure.

Anything strange when trying "test -e /bin/gzip"?  (Try that for
all the above dirs)


--
Paul Bijnens, xplanation Technology Services        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, *
* init 0, kill -9 1, Alt-F4, Ctrl-Alt-Del, AltGr-NumLock, Stop-A, ... *
* ...  "Are you sure?"  ...   YES   ...   Phew ...   I'm out          *
***********************************************************************