[Samba] Compile Samba-2.2.4

Frank Fürst ffrank at rz.uni-potsdam.de
Tue Jun 18 10:12:06 GMT 2002

Irving Carrion <icarrion at allinterior.com> schrieb:

> As the list probably already knows I'm fairly new to Linux / Samba.  Please
> bare with me.  =)
> I've managed to compile Samba-2.2.4.  The first compile went wrong using the
> "configure -with ldap" command (something like that).  Anyway 2 days later
> after apt-get' ting any packages with "lib"  and those that sound like they
> belong in the build =) I got it to compile correctly....  I didn't want to
> apt-get the old version of Samba from the debian packages so I did it this
> way.

Why don't you put

deb-src ftp://ftp.debian.org/debian unstable main non-free contrib

into your sources list and

cd /usr/src
apt-get source samba
cd samba-2.2.4/
dpkg-builpackage -b -rfakeroot

This works fine in woody - you first have to check if the
build-dependencies are satisfied, but they can be apt-getted as woody
binary packages.

If you're still in potato, you'll have to do the same for libcupsys2-dev
which is not in potato (I think the name of the source package is
cupsys), but I think the rest is o.k.

> Finally the QUESTION:  After I get a good grip on Samba I'd like to blow
> away the Machine and start the Debian install from scratch.  This time I'd
> like to do it write.  Install only those packages needed to install SAMBA -
> with LDAP (and of course OPENLDAP).  Where can I find all the NAMES of the
> dependencies / packages / compilers I need to have on the machine in order
> to get this beast compiled correctly.  

After you've downloaded the debianized sources, in samba_2.2.4-1.dsc
(the last digit may change).

Bye, Frank
Frank Fürst, physikalische Biochemie, Universität Potsdam, Germany
Tel.: +49-331-977-5244		Fax: +49-331-977-5062

More information about the samba mailing list