CVS Compile error: Linux

Samuel Liddicott sam at campbellsci.co.uk
Wed Jun 30 11:11:27 GMT 1999


here is a diff that will make it work.  It disables smbsh and smbwrapper,
which I never used anyway...

*** samba2.spec Wed Jun 30 12:08:25 1999
--- samba2.spec.works	Wed Jun 30 12:08:10 1999
***************
*** 97,104 ****

  %build
  cd source
! ./configure --prefix=/usr --libdir=/etc --with-smbwrapper
! make all smbwrapper

  %install
  rm -rf $RPM_BUILD_ROOT
--- 97,104 ----

  %build
  cd source
! ./configure --prefix=/usr --libdir=/etc
! make all

  %install
  rm -rf $RPM_BUILD_ROOT
***************
*** 116,122 ****

  # Install standard binary files
  for i in nmblookup smbclient smbpasswd smbrun smbstatus testparm testprns
\
!       make_smbcodepage make_printerdef rpcclient smbsh smbwrapper.so
  do
  install -m755 -s source/bin/$i $RPM_BUILD_ROOT/usr/bin
  done
--- 116,122 ----

  # Install standard binary files
  for i in nmblookup smbclient smbpasswd smbrun smbstatus testparm testprns
\
!       make_smbcodepage make_printerdef rpcclient
  do
  install -m755 -s source/bin/$i $RPM_BUILD_ROOT/usr/bin
  done
***************
*** 275,282 ****
  %attr(-,root,root) /usr/bin/smbtar
  %attr(-,root,root) /usr/bin/smbprint
  %attr(-,root,root) /usr/bin/smbadduser
- %attr(0755,root,root) /usr/bin/smbsh
- %attr(0755,root,root) /usr/bin/smbwrapper.so
  %attr(-,root,root) /usr/share/swat/help/welcome.html
  %attr(-,root,root) /usr/share/swat/help/DOMAIN_MEMBER.html
  %attr(-,root,root) /usr/share/swat/help/lmhosts.5.html
--- 275,280 ----



> -----Original Message-----
> From: samba-ntdom at samba.org [mailto:samba-ntdom at samba.org]On Behalf Of
> Samuel Liddicott
> Sent: 29 June 1999 14:53
> To: Multiple recipients of list
> Subject: RE: CVS Compile error: Linux
>
>
> No, I'm redhat 5.2 with glibc-2.0.7-29 and whatever kernel
> headers it comes
> with. 2.0.36 I think.  A few months ago I was compiling the head fine.
>
> > >
> > > Compiling smbwrapper/smbw.c with -fpic
> > > In file included from smbwrapper/smbw.c:23:
> > > smbwrapper/realcalls.h:62: #error No open64() wrapper
> > > smbwrapper/realcalls.h:113: #error No seekdir() wrapper



More information about the samba-ntdom mailing list