[Samba] RE: Problems building Samba 2.2.4 under HPUX 10.20
Roland Langner
Roland.Langner at mch.osram.de
Tue May 14 05:56:04 GMT 2002
Hi,
that was my problem:
i tried to build Samba 2.2.4 under HPUX 10.20, but configure generated a
Makfile with systax errors.
make
Make: line 664: syntax error. Stop.
Makefile Line 664 shows:
: $(WINBIND_NSS_PICOBJS)
there should be something before the :
configure said:
checking whether to build winbind... no, unsupported on hpux10.20
is there a woraround, or can somebody tell me whats before the :
-----------------------------------------------------------------------------------------------
Many people wrote me that they are interested in a solution too. I found
a way to get the build.
Sorry i can´t answer all the mails, so i will answer here.
Here are some patch instructions to get the build with HPUX 10:
Im using gcc V3.0
(I just compared the problem files with version 2.2.3a)
In the source directory do the ./configure under root account;
edit Makefile
change Line 664 from
: $(WINBIND_NSS_PICOBJS)
to
nsswitch/libnss_winbind.so: $(WINBIND_NSS_PICOBJS)
in source/nsswitch edit
hp_nss_common.h
change
#include <synch.h>
#include <pthread.h>
to
#ifdef HAVE_SYNCH_H
#include <synch.h>
#endif
#ifdef HAVE_PTHREAD_H
#include <pthread.h>
#endif
nss.h:
change the line with
#elif defined(HPUX)
to
#elif defined(HPUX) && defined(HAVE_NSSWITCH_H)
Now make should work.
Regards
Roland Langner
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Roland.Langner.vcf
Type: text/x-vcard
Size: 287 bytes
Desc: Card for Roland Langner
Url : http://lists.samba.org/archive/samba/attachments/20020514/c2110917/Roland.Langner.vcf
More information about the samba
mailing list