Sorry... but where is the pre-built code that would come in the distribution ? Does it mean I should use a server in tcpip like NFS ? I am a bit lost...
Le 17 août 2010 à 22:34, Mark Pace a écrit : > Mark's question was WHY are you building from source? Why not use the > pre-built code that came with your distribution? > > On Tue, Aug 17, 2010 at 4:30 PM, Alain Benveniste <[email protected]> > wrote: > > I have downloaded the tar from the samba site and i am basically following > > the install procedure where it is said that if you come from a tar, bypass > > step 1, execute step 2. That's my case... Am I wrong ? > > Here is the howto file: > > > > Step 1: download Samba4 > > ----------------------- > > > > If you have downloaded the Samba4 code via a tarball released from the > > samba.org website, Step 1 has already been completed for you. For testing > > with the version released in the tarball, you may continue on to Step 2. > > Note > > that the references below to the top-level directory named "samba4" will > > instead be based on the name of the tarball downloaded (e.g. > > "samba-4.0.0alpha3" for the tarball samba-4.0.0alpha3.tar.gz). > > > > There are 2 methods of doing this: > > > > method 1: "rsync -avz samba.org::ftp/unpacked/samba_4_0_test/ samba4" > > > > method 2: "git clone git://git.samba.org/samba.git samba4; cd samba4 && > > git checkout -b v4-0-test origin/v4-0-test; cd .." > > > > both methods will create a directory called "samba4" in the current > > directory. If you don't have rsync or git then install one of them. > > > > Since only released versions of Samba contain a pregenerated configure > > script, > > you will have to generate it by hand:: > > > > $ cd samba4/source > > $ ./autogen.sh > > > > Note that the above rsync command will give you a checked out git > > repository. So if you also have git you can update it to the latest > > version at some future date using:: > > > > $ cd samba4 > > $ git pull origin v4-0-test > > > > Step 2: compile Samba4 > > ---------------------- > > > > Recommended optional development libraries: > > - acl and xattr development libraries > > - gnutls > > - readline > > > > Run this:: > > > > $ cd samba4/source > > $ ./configure > > $ make > > > > Step 3: install Samba4 > > ---------------------- > > > > Run this as a user who have permission to write to the install > > directory (defaults to /usr/local/samba). Use --prefix option to > > configure above to change this. > > > > :: > > > > # make install > > > > > > > > > Alain > > > Le 17 août 2010 à 22:20, Mark Post a écrit : > > >>>> On 8/17/2010 at 04:04 PM, Alain Benveniste <[email protected]> wrote: > >> I took a look in the archive and SAMBA topics seem very old... There is a > >> link on the IBM site with > >> nothing behind... I would like to know if someone realized a complete > >> install of Samba or if it is imply > >> impossible... I am in the step where I have to execute the ./configure but > >> I > > > > This tells me you're trying to build Samba from source, not install it. Do > > you really want to do that? If so, why not use the version shipped with > > your distribution? > > > > > > Mark Post > > > > -- > Mark D Pace > Senior Systems Engineer > Mainline Information Systems > > > >
