Samba 2.0 - HPUX notes

Dirk De Wachter Dirk.DeWachter at
Wed Nov 18 13:57:12 GMT 1998

> > 2. Many of the tests on HPUX fail because it needs the option -Ae 
> > added to the CPPFLAGS first. In order not to confuse HPUX users, I 
> OK, 
> $ CC=cc CPPFLAGS=-Ae configure
> > 4. On a trusted system (with shadow passwords) shadow.h is checked and
> > found. But the 'getspnam()' check fails with 'code not found', because
> > it is found in the library 'libsec'. Therefore to check for getspnam()
> > '-lsec' should be added to the CFLAGS too.
> Hmm, If you have autoconf on your system you could add
> AC_CHECK_LIB(sec, getspnam) to your and rebuild configure
> with autoconf.
> Then the question becomes where best to put it.
> If -lsec is unique to HPUX it should probably go with the 
>  *hpux*) AC_DEFINE(HPUX);; line in the case "$host_os" in section.
The point is not that it can(not) be done. The point is, if we want 
this to be a production release code, we cannot ask every user to 
perform these actions before compiling on HPUX. I believe it should 
sort of "compile out of the box" and configure should cope with these 
(although special) aspects of HPUX.


  Dirk De Wachter, MScEE, MScBME, PhD
  scientific researcher, systems administrator mailto:Dirk.DeWachter at
  Hydraulics Laboratory, Ibitech, University Gent         voice:+32 9 264 3281
  St.-Pietersnieuwstraat 41, B-9000 Gent Belgium          faxto:+32 9 264 3595

More information about the samba-technical mailing list