samba-tng ....failure to make install

Lanny Baron lnb at freebsdsystems.com
Sun Jan 23 21:25:09 GMT 2000


Hello, following the intructions shown below (only using my own dir's) I
constantly get the same failure.

Here are the intructions as per the URL,
http://www.kneschke.de/projekte/samba_tng/installation.php3

How to compile and install "Samba Main" and "Samba TNG" 

                         You need to get the latest Samba from the CVS archive.
There are two branches
                         (MAIN and SAMBA_TNG) you have to get. Because of that,
you need to create 2
                         directories. You can create them wherever you want to.

                         mkdir /usr/src/samba-main
                         mkdir /usr/src/samba-tng

                         Before you can checkout something from cvs, you need
to log into cvs. When you get
                         prompted for a password, enter "cvs".

                         cvs -d :pserver:cvs at cvs.samba.org:/cvsroot login

                         Now you can check out Samba MAIN from the cvs archive.
This will create a new
                         directory in /usr/src/samba-main.

                         cd /usr/src/samba-main
                         cvs -d :pserver:cvs at cvs.samba.org:/cvsroot co samba

                         After that, you can check out Samba TNG.

                         cd /usr/src/samba-tng
                         cvs -d :pserver:cvs at cvs.samba.org:/cvsroot co -r
SAMBA_TNG samba

                         Now you can compile and install the neccesary samba
files. Please don't "make install"
                         in the samba-main directory. You only have to copy
smbd and nmbd from this
                         source-tree.

                         cd /usr/src/samba-tng/samba/source
                         ./configure --prefix=/opt/samba-tng
                         make
                         make install
                         cd /usr/src/samba-main/samba/source
                         ./configure --prefix=/opt/samba-tng
                         make
                         cp /usr/src/samba-main/samba/source/bin/smbd
/opt/samba-tng/bin
                         cp /usr/src/samba-main/samba/source/bin/nmbd
/opt/samba-tng/bin

                         Because "make install" doesn't create all necessary
files, you must create some files by
                         hand.

                         mkdir /opt/samba-tng/private
                         mkdir /opt/samba-tng/profiles
                         mkdir /opt/samba-tng/netlogon
                         touch /opt/samba-tng/private/smbpasswd

                         08.01.2000 Hint from Jens Skripczynsk
                         Change the mode for the profiles directory to "1777",
so samba can create
                         subdirectorys for any user.

                         chmod 1777 /opt/samba-tng/profiles 

Here is the results from just the make install for samba-tng:

libtool: install: warning: `bin/libsamba.la' has not been installed in
`/usr/local/samba-tng/lib'
libtool: install: warning: `bin/libsmb.la' has not been installed in
`/usr/local/samba-tng/lib'
libtool: install: warning: `bin/libnmb.la' has not been installed in
`/usr/local/samba-tng/lib'
libtool: install: warning: `bin/libmsrpc.la' has not been installed in
`/usr/local/samba-tng/lib'
Installing man pages in /usr/local/samba-tng/man
======================================================================
The man pages have been installed. You may uninstall them using the command
the command "make uninstallman" or make "uninstall" to uninstall binaries,
man pages and shell scripts.
======================================================================
Installing scripts in /usr/local/samba-tng/bin
mkdir: /usr/local/samba-tng/bin: File exists
Failed to make directory /usr/local/samba-tng/bin
Have you run installbin first?
*** Error code 1

Any idea why this is constantly happening? 
                       
In the dir of /usr/local/samba-tng the above makes the following when I
initially do ./configure --prefix=/usr/local/samba-tng from the dir of
/usr/local/samba-tng/samba/source :

bin             libmsrpc.so.0   libnmb.so.0     libsamba.so.0   libsmb.so.0
libmsrpc.la     libnmb.la       libsamba.la     libsmb.la       man
libmsrpc.so     libnmb.so       libsamba.so     libsmb.so       samba

And bin shown above is not a directory:
freedom# ls -al bin
-rwxr-xr-x  1 root  wheel  56365 Jan 23 16:21 bin

Thank you for your help,

Regards,

Lanny Baron
----------------------------------
Date: 23-Jan-00
Time: 16:25:09

Bizoos, n.:
	The millions of tiny individual bumps that make up a
basketball.
		-- Rich Hall, "Sniglets"

----------------------------------


More information about the samba-technical mailing list