Samba-2.2.0 on HP-UX 11.00
H.Merijn Brand
h.m.brand at hccnet.nl
Fri Apr 20 15:13:05 GMT 2001
Some experimenting with several -with-** and --without-** settings finaly lead
to the following working set:
# configure --prefix=/pro/local/samba --with-smbwrapper --with-profile --with-acl-support
with the following remarks
+ both config.sub *and* config.guess are ancient, and did not recognize my
hp-pa2.0w system as it should. Replacing both with a more recent version
(e.g. ftp://dl.xs4all.nl/pub/mirror/gnu/config/) did the trick.
+ lots of warnings on building, like:
Compiling passdb/pass_check.c
cpp: "/usr/include/sys/xti.h", line 488: warning 2001: Redefinition of macro TCP_NODELAY.
cpp: "/usr/include/sys/xti.h", line 489: warning 2001: Redefinition of macro TCP_MAXSEG.
which is to be expected when reading xti.h:
--8<---
/*
* TCP-level Options
*
* First two names collide with netinet/tcp.h - values must be equivalent.
*/
#define TCP_NODELAY 0x1 /* don't delay packets to coalesce */
#define TCP_MAXSEG 0x2 /* get maximum segment size */
#define TCP_KEEPALIVE 8 /* check, if connections are alive */
-->8---
Hmmm, maybe HP should #if those themselves ;-) (I've forwarded a patch proposition to HP)
+ --with-dfs should automatically be turned off, when either sec_login.h or
dce_error.h cannot be found, or croak, like a failing --with-ssl does.
+ I know it should not work (yet)on HP-UX, but curiousity kills the cat:
Compiling utils/smbcacls.c
cpp: "/usr/include/sys/xti.h", line 488: warning 2001: Redefinition of macro TCP_NODELAY.
cpp: "/usr/include/sys/xti.h", line 489: warning 2001: Redefinition of macro TCP_MAXSEG.
cc: "utils/smbcacls.c", line 399: warning 604: Pointers are not assignment-compatible.
cc: "utils/smbcacls.c", line 399: warning 563: Argument #7 is not the correct type.
if you like, and I can find the tuits, I can have a look at it.
+ I somehow hoped smbsh would now work on HP-UX, but
Compiling smbwrapper/smbw.c with +z
cpp: "/usr/include/sys/xti.h", line 488: warning 2001: Redefinition of macro TCP_NODELAY.
cpp: "/usr/include/sys/xti.h", line 489: warning 2001: Redefinition of macro TCP_MAXSEG.
cc: "smbwrapper/smbw.c", line 1465: error 1000: Unexpected symbol: "aclent_t".
cc: "smbwrapper/smbw.c", line 1465: error 1573: Type of "aclbufp" is undefined due to an illegal declaration.
cc: "smbwrapper/smbw.c", line 1467: error 1588: "GETACL" undefined.
cc: "smbwrapper/smbw.c", line 1467: error 1588: "GETACLCNT" undefined.
cc: "smbwrapper/smbw.c", line 1467: error 1563: Expression in if must be scalar.
make: *** [smbwrapper/smbw.po] Error 1
proved my hope to be idle.
+ I *DO NOT* want to use/install swat, please consider making it optional from
configure's point of view.
Samba-2.2.0 now installed and running on HP-UX 11.00 in a very hybrid (small)
network with Win2K (3x), WinNT4 (12x), HP-UX 11.00 (2x), HP-UX 10.20, AIX 4.3,
AIX 4.2 network.
Thank you for this marvelous product!
--
H.Merijn Brand Amsterdam Perl Mongers (http://www.amsterdam.pm.org/)
using perl-5.6.1, 5.7.1 & 623 on HP-UX 10.20 & 11.00, AIX 4.2, AIX 4.3,
WinNT 4, Win2K pro & WinCE 2.11 often with Tk800.022 &/| DBD-Unify
ftp://ftp.funet.fi/pub/languages/perl/CPAN/authors/id/H/HM/HMBRAND/
More information about the samba
mailing list