Amanda-Users

Re: file locking on HPUX11.00 and amanda 2.4.4p1

2003-08-02 18:29:07
Subject: Re: file locking on HPUX11.00 and amanda 2.4.4p1
From: Jon LaBadie <jon AT jgcomp DOT com>
To: amanda-users AT amanda DOT org
Date: Sat, 2 Aug 2003 18:25:37 -0400
On Fri, Aug 01, 2003 at 04:40:01PM +0200, Henk Martijn wrote:
> Hi,
> 
> I found the following problem when trying to configure amanda 2.4.4p1:
> 
> ./configure --prefix=/opt/local --with-user=amanda -with-group=sys 
> --with-config=daily --with-tape-devoce=/dev/rmt/0mn
> <snip>
> checking whether posix fcntl locking works... no
> checking whether flock locking works... no
> checking whether lockf locking works... no
> checking whether lnlock locking works... no
> configure: WARNING: *** No working file locking capability found!
> configure: WARNING: *** Be VERY VERY careful.
> configure: creating ./config.status
> <snip>
> 
> with amanda 2.4.3 it finds fcntl.
> 
> what is wrong?

Wish I could tell you.  I had same thing happen on Solaris
several years ago.  And it had all the locking techniques 
configure was supposed to be testing for.

I went into the config/config.h file and found the #define
for the style locking I wanted it to use and changed it from
no to yes (or whatever boolean it was using).

For me, in later builds it did not happen.

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