Amanda-Users

Bug in autoconf 2.57 (was: file locking on HPUX11.00 and amanda 2.4.4p1)

2003-08-07 03:39:28
Subject: Bug in autoconf 2.57 (was: file locking on HPUX11.00 and amanda 2.4.4p1)
From: "Henk Martijn" <Henk.Martijn AT acreo DOT se>
To: <amanda-users AT amanda DOT org>
Date: Thu, 07 Aug 2003 09:33:40 +0200
Hi,

for the Archive:
I found out that the problem was with autoconf 2.57 
(see http://mail.gnu.org/archive/html/autoconf/2003-06/msg00009.html)

It goes wrong already when it looks for the function gettimeofday.

I regenerated "configure" with autoconf 2.56, configure and make run without 
problem.
amanda 2.4.4p1 is up and running now

/Henk

Henk Martijn
ACREO AB   
Electrum 236             Tel:    +46 8 632 7795
S-164 40 Kista            Fax:    +46 8 750 5430
Sweden                       e-mail: henk.martijn AT acreo DOT se


>>> jon AT jgcomp DOT com 00:25:37 2003-08-03 >>>
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)

Attachment: Henk Martijn.vcf
Description: Vcard

<Prev in Thread] Current Thread [Next in Thread>
  • Bug in autoconf 2.57 (was: file locking on HPUX11.00 and amanda 2.4.4p1), Henk Martijn <=