configure command for SAMBA 2.0.0 fails under HP-UX 10.20

Heiko Nardmann h.nardmann at secunet.de
Thu Jan 21 15:25:00 GMT 1999


Alan GUILLEVIC wrote:

> Good afternoon,
>
> I've downloaded the newly released Samba package 2.0.0, and when
> trying to run "compile" (located in directory source of the package),
> after a moment, script fail with the following errors:
>
> >ERROR: No locking available. Running Samba would be unsafe
> >configure: error: summary failure. Aborting config.
>
> The following lines are extracted from last lines of config.log.
>
> >configure: failed program was:
> >#line 9472 "configure"
> >#include "confdefs.h"
> >#include "./tests/summarry.c"
>
> And the line 9472 (and around) in the file "configure":
>
> >#line 9472 "configure"
> >#include "confdefs.h"
> >#include "${srcdir-.}/tests/summary.c"
> >EOF
> >if { (eval echo configure:9476: \"$ac_link\") 1>&5; (eval $ac_link)
> 2>&5; } && test -s conftest && (./conftest; exit) 2>/dev/null
> >then
> >  echo "configure OK";
> >else
> >  echo "configure: failed program was:" >&5
> >  cat conftest.$ac_ext >&5
> >  rm -fr conftest*
> >  { echo "configure: error: summary failure. Aborting config" 1>&2;
> exit 1; }
> >fi
> >rm -fr conftest*
> >fi
> >
> >
> >builddir=`pwd`
> >
> >
> >trap '' 1 2 15
> >cat > confcache <<\EOF
>
> The machine is a good old H50, running HP-UX 10.20,
> with patch bundle of October 98 and latest Y2K package.
> I'm still looking for the problem, but any helping hands
> would truely appreciated :) Please, could you also send
> answer to the indicated email.
>
>                     Thank you, best regards.
>
>                     Alan GUILLEVIC
>                     info1.dmvf at dial.oleane.com

Is this a 64bit machine?
Then you might set 'CPPFLAGS=-D__LP64__'.
Additionally set 'CFLAGS=-O -D__LP64__'.
Although I am running 11.00 (where this thing fixed it for me)
this might help you, too.

The problem is /usr/include/sys/stdsyms.h.
There an error occurs. This can be reproduced by copying the C code
from the configure script into an external file and separately compiling
it.


--
Ciao ... Heiko Nardmann (Dipl.-Ing.)
Software Development, secunet (www.secunet.de)
Security Networks GmbH, Weidenauer Str. 223-225, D-57076 Siegen
Tel. : +49 271 48950-13                 Fax  : +49 271 48950-50


-------------- next part --------------
HTML attachment scrubbed and removed


More information about the samba mailing list