Samba 3.0.22 Porting by Vidya Sagar

18
shell/iX> pwd
/SAMBA/SMB3022/src/samba-3.0.22-mpe/source
shell/iX> ./autogen.sh
./autogen.sh: running script/mkversion.sh
./script/mkversion.sh: 'include/version.h' created for Samba("3.0.22")
./autogen.sh: running autoheader
autoheader: `include/config.h.in' is created
./autogen.sh: running autoconf
Now run ./configure.mpe and then make proto and finally make.
The configure.mpe looks like:
shell/iX> cat ./configure.mpe
#!/bin/sh
./configure \
--prefix=/$HPACCOUNT/$HPGROUP
In general the –-prefix option specifies the base test install directory on build machine. It tells that all the install
directories are relative to this directory. By specifying the above mentioned –-prefix option the Samba package
will be installed under /$HPACCOUNT/$HPGROUP directory. This helps managing multiple revisions of same
product. Edit this file to pass arguments to script configure. See ./configure -–help for more information.
Finally run the configure script.
shell/iX> pwd
/SAMBA/SMB3022/src/samba-3.0.22-mpe/source
shell/iX> ./configure.mpe
configure: loading cache /dev/null
SAMBA VERSION: 3.0.22
checking for -fPIE...
checking for gcc... gcc
checking for C compiler default output... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking for gcc... (cached) gcc
checking whether we are using the GNU C compiler... (cached) yes
.
.
.
checking how to build vfs_catia... not
Using libraries:
LIBS = -lposix60 -lunix -lsyslog -lsocket -lsvipc -lcurses
LDAP_LIBS = -lldap -llber
AUTH_LIBS =
checking configure summary... yes
configure: creating ./config.status
config.status: creating include/stamp-h
config.status: creating Makefile
config.status: creating script/findsmb
config.status: creating smbadduser
config.status: creating script/gen-8bit-gap.sh
config.status: creating include/config.h