thomas.tiedtke@snafu.de
2002-Feb-04 05:17 UTC
[Samba] Samba 2.2.3 doesn´t compile on HPUX 10.20
Hi, I try to compile the new 2.2.3 Release on a HPUX 10.20 Box. After a autoconf, configure --prefix=... (nothing else changed as config paths)a gmake give me: Compiling smb/server.c In file included from include/includes.h:722, from smbd/server.c:22 nsswitch/nss.h:81:22: nsswitch.h: No such file or directroy gmake : *** [smbd/server.o] Error1 I take a look on a HPUX 11.x Box, where I have found a \usr\include\nsswitch.h ... On the HPUX 10.20 Boxes was no nsswitch.h found ... maybe introduced with HPUX 11.x? I not sure, but the nsswitch funktion is only necessary to build the winbindd, what is unsupported an HPUX 10.20, so isn´t needful to compile. Regards, Thomas
thomas.tiedtke@snafu.de
2002-Feb-04 09:03 UTC
[Samba] Re: Samba 2.2.3 doesn´t compile on HPUX 10.20
> Hi, > > I try to compile the new 2.2.3 Release on a HPUX 10.20 Box. After a autoconf, > configure --prefix=... (nothing else changed as config paths)a gmake give me: > > Compiling smb/server.c > In file included from include/includes.h:722, > from smbd/server.c:22 > nsswitch/nss.h:81:22: nsswitch.h: No such file or directroy > gmake : *** [smbd/server.o] Error1 > > I take a look on a HPUX 11.x Box, where I have found a > \usr\include\nsswitch.h ... > On the HPUX 10.20 Boxes was no nsswitch.h found ... maybe introduced withHPUX> 11.x? > > I not sure, but the nsswitch funktion is only necessary to build thewinbindd,> what is unsupported an HPUX 10.20, so isn´t needful to compile. > > Regards, > Thomas >Ok! I have take a look at nsswitch/nss.h and comment the following lines out: /* #elif defined(HPUX) <<--- deselect the HPUX Section HP-UX 11 #include "nsswitch/hp_nss_common.h" #include "nsswitch/hp_nss_dbdefs.h" #include <nsswitch.h> #ifndef _HAVE_TYPEDEF_NSS_STATUS #define _HAVE_TYPEDEF_NSS_STATUS typedef nss_status_t NSS_STATUS; #define NSS_STATUS_SUCCESS NSS_SUCCESS #define NSS_STATUS_NOTFOUND NSS_NOTFOUND #define NSS_STATUS_UNAVAIL NSS_UNAVAIL #define NSS_STATUS_TRYAGAIN NSS_TRYAGAIN #endif HPUX */ <<-- End I my opinion this will make a de-selection of the winbindd Support on HPUX Boxes (on both 10x and 11.x). This is not a solution, but a quick and cheap turnaround for me to make a gmake. Regards, Thomas EDV-Service Thomas Tiedtke Hanowsteig 15 12309 Berlin Germany Phone: +49 30 7465653 Fax: +49 39 7458633 eMail: thomas.tiedtke@snafu.de
Does any kind soul have a Red Hat 7.1 RPM for 2.2.3? Any chance the samba team will compile it on Red Hat 7.1? Thanks.
grab the source rpm and go to: /usr/src/redhat/SPECS and type: rpm -ba samba.spec this will create you an rpm in: /usr/src/redhat/RPMS/i386 Good luck Sanjiv Bawa wrote:> Does any kind soul have a Red Hat 7.1 RPM for 2.2.3? > > Any chance the samba team will compile it on Red Hat 7.1? > > Thanks. > > >-- Terry Davis Systems Administrator BirdDog Solutions, Inc. (402) 829-6059
thomas.tiedtke@snafu.de
2002-Feb-05 06:08 UTC
[Samba] Samba 2.2.3 doesn´t compile on HPUX 10.20
Hi, I take today a cvs from Samba_2_2_RELEASE and the compile job on a HPUX 10.20 Box will work without any problems. Thank you, to correct this problem! Regards, Thomas
Jeremy Allison
2002-Feb-06 21:51 UTC
[Samba] Re: [Samba] Re: Samba 2.2.3 doesn´t compile on HPUX 10.20
On Mon, Feb 04, 2002 at 02:42:01PM +0000, thomas.tiedtke@snafu.de wrote:> > Ok! I have take a look at nsswitch/nss.h and comment the following lines out: > > /* #elif defined(HPUX) <<--- deselect the HPUX Section > HP-UX 11 > > #include "nsswitch/hp_nss_common.h" > #include "nsswitch/hp_nss_dbdefs.h" > #include <nsswitch.h> > > #ifndef _HAVE_TYPEDEF_NSS_STATUS > #define _HAVE_TYPEDEF_NSS_STATUS > typedef nss_status_t NSS_STATUS; > > #define NSS_STATUS_SUCCESS NSS_SUCCESS > #define NSS_STATUS_NOTFOUND NSS_NOTFOUND > #define NSS_STATUS_UNAVAIL NSS_UNAVAIL > #define NSS_STATUS_TRYAGAIN NSS_TRYAGAIN > #endif HPUX */ <<-- End > > I my opinion this will make a de-selection of the winbindd Support on HPUX > Boxes (on both 10x and 11.x). This is not a solution, but a quick and cheap > turnaround for me to make a gmake.Fixed for 2.2.3a, thanks. Jeremy.