Samba 3 Compile errors

Alex de Kruijff freebsd at akruijff.dds.nl
Wed Apr 21 16:12:53 PDT 2004


On Wed, Apr 21, 2004 at 04:07:13PM -0500, Schimcek, Derrick wrote:
> This is Samba3.0.2a ./configure is working correctly and i am getting this compile error when i try and run make
> 
> *** Error code 1
> 
> has anyone else seen or delt with this my configure command was
> ./configure --with-acl-support --with-ads

I guess you new to FreeBSD and didn't use the ports sytem to compile
samba. I'll tell you what you should do when you want to install an
application.

1. cd /usr/ports
2. make search name=samba (alt. when you don't know the name:
key=network)

These two are included in the list

Port:   samba-2.2.8a_2
Path:   /usr/ports/net/samba
Info:   A free SMB and CIFS client and server for UNIX
Maint:  ports at FreeBSD.org
Index:  net
B-deps: autoconf-2.13.000227_5 cups-base-1.1.20.0 expat-1.95.7
gettext-0.13.1_1 gmake-3.80_2 jpeg-6b_2 libiconv-1.9.1_3 libtool-1.3.5_2
m4-1.4_1 perl-5.6.1_15 png-1.2.5_3 popt-1.6.4_2 tiff-3.6.1_1
R-deps: cups-base-1.1.20.0 expat-1.95.7 gettext-0.13.1_1 jpeg-6b_2
libiconv-1.9.1_3 perl-5.6.1_15 png-1.2.5_3 popt-1.6.4_2 tiff-3.6.1_1

Port:   samba-3.0.3.p2_1,1
Path:   /usr/ports/net/samba-devel
Info:   A free SMB and CIFS client and server for UNIX
Maint:  timur at gnu.org
Index:  net
B-deps: autoconf-2.53_1 expat-1.95.7 gettext-0.13.1_1 libiconv-1.9.1_3
m4-1.4_1 openldap-client-2.1.30 openssl-0.9.7d perl-5.6.1_15
popt-1.6.4_2
R-deps: expat-1.95.7 gettext-0.13.1_1 libiconv-1.9.1_3
openldap-client-2.1.30 openssl-0.9.7d popt-1.6.4_2

3. cd /usr/ports/net/samba
4. make install && make clear

Now its installed. I've got a tip for you to. When you like to upgrade
your ports you could go for the application called 'portsupgrade'. It
will make your life easier.

-- 
Alex

Articles based on solutions that I use:
http://www.kruijff.org/alex/index.php?dir=docs/FreeBSD/


More information about the freebsd-questions mailing list