Solaris Build Error - Fixed - Patch to configure.in

Richard Bollinger rabollinger at attbi.com
Fri Mar 8 09:53:02 GMT 2002


Understood.  Unfortunately the fix hadn't been applied to the 2_2 CVS version of configure.in

I'm hoping someone will do so.

----- Original Message -----
From: "Esh, Andrew" <AEsh at tricord.com>
To: "'Richard Bollinger'" <rabollinger at attbi.com>; "David Shapiro"
<David.Edward.Shapiro at btitele.com>
Cc: "Samba Technical" <samba-technical at samba.org>
Sent: Friday, March 08, 2002 12:30 PM
Subject: RE: Solaris Build Error - Fixed - Patch to configure.in


> It seems like this change has been going in and out of the configure system
> for a while. There may be some confusion involved. The source for the
> configure file is configure.in. That is the only file which patches should
> be submitted for. Whoever applies the patch should run autoconf, and create
> a new configure file. Then, both files should be checked into CVS.
>
> Those who are doing builds should always run autoconf, if they can. This
> will take configure.in, and configure it to run on the local build platform.
> The resulting configure script will be the most correct one for that
> platform, in all cases.
>
> By only patching the configure file, the changes will be overwritten by
> those of us who always run autoconf. The configure file is only provided as
> a convenience for those builders who do not or cannot run autoconf.
>
> -----Original Message-----
> From: Richard Bollinger [mailto:rabollinger at attbi.com]
> Sent: Friday, March 08, 2002 10:09 AM
> To: David Shapiro
> Cc: Samba Technical
> Subject: Re: Solaris Build Error - Fixed - Patch to configure.in
>
>
> I looked on CVSWEB and regular CVS update and didn't get your update yet on
> the 2_2 tag or head.
> Are you sure it was committed?
>
> Rich B
>
> ----- Original Message -----
> From: "David Shapiro" <David.Edward.Shapiro at btitele.com>
> To: "'Richard Bollinger'" <rabollinger at attbi.com>
> Sent: Friday, March 08, 2002 10:21 AM
> Subject: RE: Solaris Build Error - Fixed - Patch to configure.in
>
>
> > Oh, that was the fix I sent in earlier.  But I thought you said you got
> the
> > latest cvs for some reason, which includes the fix of the typo. Oh well...
> >
> > David
> >
> > -----Original Message-----
> > From: Richard Bollinger [mailto:rabollinger at attbi.com]
> > Sent: Friday, March 08, 2002 10:14 AM
> > To: David Shapiro
> > Subject: Re: Solaris Build Error - Fixed - Patch to configure.in
> >
> >
> > Read further down my message - the fix was clear and included.... merely a
> > typo in configure.in
> >
> > ----- Original Message -----
> > From: "David Shapiro" <David.Edward.Shapiro at btitele.com>
> > To: "'Richard Bollinger'" <rabollinger at attbi.com>; "Samba Technical"
> > <samba-technical at samba.org>
> > Sent: Friday, March 08, 2002 10:06 AM
> > Subject: RE: Solaris Build Error - Fixed - Patch to configure.in
> >
> >
> > > Did you run it from within the source directory?
> > >
> > > David
> > >
> > > -----Original Message-----
> > > From: Richard Bollinger [mailto:rabollinger at attbi.com]
> > > Sent: Friday, March 08, 2002 8:54 AM
> > > To: Samba Technical
> > > Subject: Solaris Build Error - Fixed - Patch to configure.in
> > >
> > >
> > > Latest CVS build on sparc-sun-solaris2.6 using cc: WorkShop Compilers
> 5.0
> > > 98/12/15 C 5.0 fails:
> > > ...
> > > Compiling nsswitch/wb_common.c with -KPIC
> > > cc -O  -DIPPORT_KERMIT=1023 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
> -s
> > -o
> > > nsswitch/winbind_nss_solaris nsswitch/winbind_nss_solaris.c
> > > "nsswitch/winbind_nss_solaris.c", line 14: cannot find include file:
> > > "includes.h"
> > > "nsswitch/winbind_nss_config.h", line 30: cannot find include file:
> > > <config.h>> "nsswitch/winbind_nss_config.h", line 66: cannot find
> includefile:>
> "nsswitch/nss.h"> "nsswitch/winbind_nss_config.h", line 71: undefinedor not
> a type:> NSS_STATUS>
> "nsswitch/winbind_nss_config.h", line 71: syntaxerror before or at:>
> _nss_winbind_setpwent>
> "nsswitch/winbind_nss_config.h",line 71: warning: old-style declaration or>
> incorrect type
> for:>_nss_winbind_setpwent> ...> cc: acomp failed
> fornsswitch/winbind_nss_solaris.c> *** Error code
> 2> make: Fatal error: Commandfailed for target
> `nsswitch/winbind_nss_solaris'> > > Patches:>
> > ---.../source/configure.in Mon Mar  4 07:15:58 2002> +++ ./configure.in
> Fri Mar8 08:47:12 2002>
> @@ -2587,12 +2587,12 @@>                  ;;>   *solaris*)>HAVE_WINBIND=yes>
> -
> WINBIND_NSS_EXTRA_OBJS="nsswitch/winbind_nss_solaris">
> +WINBIND_NSS_EXTRA_OBJS="nsswitch/winbind_nss_solaris.o">WINBIND_NSS_EXTRA_L
> IBS="-lsocket">   ;;>
> *hpux11*)>   HAVE_WINBIND=yes>
> -WINBIND_NSS_EXTRA_OBJS="nsswitch/winbind_nss_solaris">
> +WINBIND_NSS_EXTRA_OBJS="nsswitch/winbind_nss_solaris.o"
> > >   ;;
> > >          *)
> > >   HAVE_WINBIND=no
> > >
> > > (of course, you could just rerun autoconf instead of applying this
> patch):
> > > --- ../source/configure Thu Mar  7 15:18:31 2002
> > > +++ ./configure Fri Mar  8 08:47:23 2002
> > > @@ -12953,12 +12953,12 @@
> > >                  ;;
> > >   *solaris*)
> > >   HAVE_WINBIND=yes
> > > - WINBIND_NSS_EXTRA_OBJS="nsswitch/winbind_nss_solaris"
> > > + WINBIND_NSS_EXTRA_OBJS="nsswitch/winbind_nss_solaris.o"
> > >   WINBIND_NSS_EXTRA_LIBS="-lsocket"
> > >   ;;
> > >   *hpux11*)
> > >   HAVE_WINBIND=yes
> > > - WINBIND_NSS_EXTRA_OBJS="nsswitch/winbind_nss_solaris"
> > > + WINBIND_NSS_EXTRA_OBJS="nsswitch/winbind_nss_solaris.o"
> > >   ;;
> > >          *)
> > >   HAVE_WINBIND=no
> > >
> > >
> > >
> > >
> > >
> >
>
>





More information about the samba-technical mailing list