hi albert

what i normally do to see how the package was compiled
is get the source RPM and check the config options
used to build it. 

i didnt notice that the MDK8 CDs dont have the source
RPM files anymore. too bad i can see how MDK built
samba in MDK8. but just to show you how, i downloaded
one from rh 7.1

the following is the compile command for
samba-2.0.10-2.src.rpm from rh:

./configure i686-mandrake-linux --prefix=/usr
--exec-prefix=/usr --bindir=/usr/bin
--sbindir=/usr/sbin --sysconfdir=/etc
--datadir=/usr/share --includedir=/usr/include
--libdir=/usr/lib --libexecdir=/usr/lib
--localstatedir=/var/lib --sharedstatedir=/usr/com
--mandir=/usr/share/man --infodir=/usr/share/info
--libdir=/etc/samba --with-lockdir=/var/lock/samba
--with-privatedir=/etc/samba
--with-swatdir=/usr/share/swat --with-smbmount
--with-automount --with-pam --with-mmap --with-quotas
--without-smbwrapper

do get that info, do: 

 rpm --rebuild samba-2.0.10-2.src.rpm

then watch out for the configure options while
rebuilding then break it ... =)

hope that works for you as well. 


dianne


--- "Albert E. Whale" <[EMAIL PROTECTED]>
wrote:
> Oh yeah, here's the reason I want to know how to
> build the Binaries (I am using
> the Tar File from Samba).
> 
> Whenever I attempt to rpm --rebuild ***.src.rpm the
> required Binaries are not
> installed on my machine.  Further more, I am unable
> to install these binaries
> Because I am forced to use the Glibc 2.1.1 libraries
> which are all that the
> Informix Software packages will run on.
> 
> Now, can someone tell me what the command to the
> configure command looks like
> when you attempt to compile the Samba Tar bundle for
> a Linux Mandrake Server?
> 
> Franki wrote:
> 
> > you don't compile binaries, you compile source..
> >
> > the easiest way is to download the .src rpm,, then
> in a console in the same
> > directory as the rpm type rpm --rebuild
> xxx.xxx.src.rpm (xxx bein the name
> > of the rpm)
> >
> > then go to /usr/src/rpms/i586 (or whatever your
> cpu type is) and you will
> > find a new rpm in there that is the version of the
> src that you just rebuilt
> > compiled for your system.
> >
> > rgds
> >
> > Frank
> >
> > -----Original Message-----
> > From: [EMAIL PROTECTED]
> > [mailto:[EMAIL PROTECTED]]On Behalf
> Of Albert E. Whale
> > Sent: Thursday, 26 July 2001 4:44 AM
> > To: [EMAIL PROTECTED]
> > Subject: [expert] Compiling Samba
> >
> > I have a Linux Mandrake 7.1 Server which cannot be
> upgraded due to
> > dependencies with the glibc libraries.
> >
> > Can someone please tell me what Configure Command
> is used to compile the
> > Linux Mandrake Binaries for Samba?
> >
> > --
> > Albert E. Whale -
> http://www.abs-comptech.com/aewhale.html
> >
>
----------------------------------------------------------------------
> > ABS Computer Technology, Inc. - ESM, Computer &
> Networking Specialists
> > Sr. Network, OpenView and Systems Consultant
> 
> --
> Albert E. Whale -
> http://www.abs-comptech.com/aewhale.html
>
----------------------------------------------------------------------
> ABS Computer Technology, Inc. - ESM, Computer &
> Networking Specialists
> Sr. Network, OpenView and Systems Consultant
> 
> 
> 
> 
> 


__________________________________________________
Do You Yahoo!?
Make international calls for as low as $.04/minute with Yahoo! Messenger
http://phonecard.yahoo.com/

Reply via email to