[Samba] mdk 7.2, Upgrade 2.0.9 to 3.0.7, Help with ./configure

David Rankin drankin at cox-internet.com
Thu Sep 23 19:15:31 GMT 2004


Well, I'm responding to myself hoping to get a little more guidance:

    I have compiled 3.0.7-1 for Mandrake 7.2 (gcc 2.95.3) from source using:

# ./configure --prefix=/usr --with-smbmount

the only meaningful warning was the Unicode character translation message

# make

looks like it worked and it produced the following binaries were created in
(source)/bin. My question is: "Does it look like all the binaries that were
supposed to be built are there??"  Do they look to be about the right size??
I'm just seeking a little reassurance before doing # 'make install'. Also,
does anyone have experience with 'make revert' Does it really work??

[root at Nemesis source]# ls -al bin/
total 23012
drwxrwxr-x    2 783      783          4096 Sep 22 16:33 ./
drwxrwxr-x   42 783      783          4096 Sep 22 16:28 ../
-rw-r--r--    1 root     root            0 Sep 22 16:25 .dummy
-rwxr-xr-x    1 root     root         7397 Sep 22 16:33 CP437.so*
-rwxr-xr-x    1 root     root         7273 Sep 22 16:33 CP850.so*
-rwxr-xr-x    1 root     root         9065 Sep 22 16:33 audit.so*
-rwxr-xr-x    1 root     root        12627 Sep 22 16:33 cap.so*
-rwxr-xr-x    1 root     root         6799 Sep 22 16:33 default_quota.so*
-rwxr-xr-x    1 root     root         9532 Sep 22 16:33 expand_msdfs.so*
-rwxr-xr-x    1 root     root        12676 Sep 22 16:33 extd_audit.so*
-rwxr-xr-x    1 root     root         6038 Sep 22 16:33 fake_perms.so*
-rwxr-xr-x    1 root     root        24971 Sep 22 16:33 full_audit.so*
-rw-r--r--    1 root     root      1709266 Sep 22 16:33 libsmbclient.a
-rwxr-xr-x    1 root     root      1308121 Sep 22 16:33 libsmbclient.so*
-rwxr-xr-x    1 root     root      1444954 Sep 22 16:27 net*
-rwxr-xr-x    1 root     root        11640 Sep 22 16:33 netatalk.so*
-rwxr-xr-x    1 root     root       915802 Sep 22 16:26 nmbd*
-rwxr-xr-x    1 root     root       562580 Sep 22 16:28 nmblookup*
-rwxr-xr-x    1 root     root       536202 Sep 22 16:28 ntlm_auth*
-rwxr-xr-x    1 root     root       680531 Sep 22 16:28 pdbedit*
-rwxr-xr-x    1 root     root        17821 Sep 22 16:28 profiles*
-rwxr-xr-x    1 root     root        18176 Sep 22 16:33 readonly.so*
-rwxr-xr-x    1 root     root        17523 Sep 22 16:33 recycle.so*
-rwxr-xr-x    1 root     root      1393303 Sep 22 16:28 rpcclient*
-rwxr-xr-x    1 root     root         9810 Sep 22 16:33 shadow_copy.so*
-rwxr-xr-x    1 root     root      1195899 Sep 22 16:28 smbcacls*
-rwxr-xr-x    1 root     root       815459 Sep 22 16:27 smbclient*
-rwxr-xr-x    1 root     root       592811 Sep 22 16:28 smbcontrol*
-rwxr-xr-x    1 root     root      1178954 Sep 22 16:28 smbcquotas*
-rwxr-xr-x    1 root     root      2466684 Sep 22 16:25 smbd*
-rwxr-xr-x    1 root     root        17667 Sep 22 16:28 smbmnt*
-rwxr-xr-x    1 root     root       668740 Sep 22 16:28 smbmount*
-rwxr-xr-x    1 root     root      1303781 Sep 22 16:28 smbpasswd*
-rwxr-xr-x    1 root     root       668683 Sep 22 16:27 smbspool*
-rwxr-xr-x    1 root     root       579702 Sep 22 16:27 smbstatus*
-rwxr-xr-x    1 root     root       744879 Sep 22 16:28 smbtree*
-rwxr-xr-x    1 root     root        15334 Sep 22 16:28 smbumount*
-rwxr-xr-x    1 root     root      1396021 Sep 22 16:26 swat*
-rwxr-xr-x    1 root     root        37388 Sep 22 16:28 tdbbackup*
-rwxr-xr-x    1 root     root        34906 Sep 22 16:28 tdbdump*
-rwxr-xr-x    1 root     root       527933 Sep 22 16:27 testparm*
-rwxr-xr-x    1 root     root       451630 Sep 22 16:27 testprns*
-rwxr-xr-x    1 root     root       481431 Sep 22 16:28 wbinfo*
-rwxr-xr-x    1 root     root      1470818 Sep 22 16:27 winbindd*


--
David C. Rankin, J.D., P.E.
RANKIN * BERTIN, PLLC
510 Ochiltree Street
Nacogdoches, Texas 75961
(936) 715-9333
(936) 715-9339 fax
www.rankin-bertin.com
--
----- Original Message ----- 
From: "David Rankin" <drankin at cox-internet.com>
To: "samba" <samba at lists.samba.org>
Sent: Wednesday, September 22, 2004 10:56 AM
Subject: [Samba] mdk 7.2, Upgrade 2.0.9 to 3.0.7, Help with ./configure


> Mates,
>
>     In following chapter 35 "How to Compile Samba" I have looked at
> ./configure --help and I have a few questions. Originally I installed
2.0.9
> via RPM, and of course there are no longer RPMs for mdk 7.2.
>
>     On 7.2, smbd and nmbd are installed in /usr/sbin. The docs are in
> /usr/share/doc/samba-2.0.9. I don't know where the rest of the pieces of
the
> puzzle were scattered by mdk by default. mdk 7.2 doesn't put anything in
> /usr/local by default.
>
>     Will simply doing a ./configure get things in the right places? Or, do
I
> need to hunt and find all the pieces and explicitly specify each
> configuration option?? If so,
>
>     What do I do with:
>
>   --prefix=PREFIX
>   --exec-prefix=EPREFIX
>
>     It looks like --exec-prefix=/usr/sbin is what I need, but what
> about --prefix=? Does it get set to --prefix=/usr
>
> The confusion comes in looking at Fine tuning of the installation
> directories:
>
>   --bindir=DIR           user executables [EPREFIX/bin]
>   --sbindir=DIR          system admin executables [EPREFIX/sbin]
>   --libexecdir=DIR       program executables [EPREFIX/libexec]
>   --datadir=DIR          read-only architecture-independent data
> [PREFIX/share]
>   --sysconfdir=DIR       read-only single-machine data [PREFIX/etc]
>   --sharedstatedir=DIR   modifiable architecture-independent data
> [PREFIX/com]
>   --localstatedir=DIR    modifiable single-machine data [PREFIX/var]
>   --libdir=DIR           object code libraries [EPREFIX/lib]
>   --includedir=DIR       C header files [PREFIX/include]
>   --oldincludedir=DIR    C header files for non-gcc [/usr/include]
>   --infodir=DIR          info documentation [PREFIX/info]
>   --mandir=DIR           man documentation [PREFIX/man]
>
> >From this it looks like I should just set --prefix=/usr, forget about
> setting --exec-prefix and let it default to --prefix=/usr and the rest
will
> take care of itself.
>
> Which is right?
>
>
>
>
>
>
> --
> David C. Rankin, J.D., P.E.
> RANKIN * BERTIN, PLLC
> 510 Ochiltree Street
> Nacogdoches, Texas 75961
> (936) 715-9333
> (936) 715-9339 fax
> www.rankin-bertin.com
> --
>
> -- 
> To unsubscribe from this list go to the following URL and read the
> instructions:  http://lists.samba.org/mailman/listinfo/samba



More information about the samba mailing list