[Samba] need help building 2.2.8a

mark_2811 at excite.com mark_2811 at excite.com
Thu Apr 29 23:41:39 GMT 2004

Hi, I'm trying to build samba 2.2.8a for my system and was hoping to get some help with the configure command line options. I'm building samba on a development machine to deploy on a PC/104 single board computer using a cross compiler i586-linux-gcc. I've built it successfully but haven't been able to set the various path options up correctly.  When I run smbd on my target I get errors because it's looking for the codepage and lockdir from the location where I built it. I don't know which options are used to configure where the build process places the binaries, and which options are used to configure the paths in the binaries themselves.

Can anyone help me out? Here is the command line I used ($BUILD is set to my home directory on the build machine):

CC=i586-linux-gcc ./configure \
--prefix=$BUILD/usr/local/samba \
--host=i586-linux \
--build=i686-pc-linux \
--with-privatedir=$BUILD/usr/local/samba/private \
--with-lockdir=$BUILD/usr/local/samba/var/locks \
--with-piddir=$BUILD/usr/local/samba/var/locks \
--with-swatdir=$BUILD/usr/local/samba/swat \

Any suggestions are much appreciated!


Join Excite! - http://www.excite.com
The most personalized portal on the Web!

More information about the samba mailing list