Samba 4: Failed build on Ubuntu 12.04

Michael Wood esiotrot at gmail.com
Tue Sep 11 05:43:52 MDT 2012


Hi Steve

On 11 September 2012 11:26, steve <steve at steve-ss.com> wrote:
> On 09/11/2012 08:22 AM, Alexander Bokovoy wrote:
>>
>>
>> Please try attached patch
>> $ cd samba
>> $ patch -p1 <patchfile
>> $ make
>
> Hi Alexander
> Thank you for the guidelines.
> I did:
> cd samba-master
> git pull
> patch p1 < pdb-ignore-ldap_schema.patch
> git clean -xdf

"git clean -xdf" will undo the results of the "patch -p1...".  (Also,
maybe this is just a copy'n'paste error, but you left out the "-" in
the patch command.)

My suggestion to run git clean was for when you want to go back to
master.  i.e. just before the next "git pull".  (Assuming you haven't
been applying patches using "git am" or switching to other branches,
etc., etc.)

> ./configure.developer ; make
> sudo make install
>
> Here is the make before-during and after:
>
> [3709/3954] Linking default/source3/modules/libvfs-dirsort.so
> [3710/3954] abi_check: bin/default/lib/talloc/libtalloc.so
> [3711/3954] abi_check: bin/default/lib/talloc/libpytalloc-util.so
> [3712/3954] abi_check: bin/default/lib/tevent/libtevent.so
> [3713/3954] abi_check: bin/default/librpc/libndr.so
> [3714/3954] abi_check: bin/default/lib/tdb/libtdb.so
> [3715/3954] abi_check: bin/default/lib/ntdb/libntdb.so
> [3716/3954] abi_check: bin/default/lib/ldb/libldb.so
> [3717/3954] abi_check: bin/default/lib/ldb/libpyldb-util.so
> [3718/3954] abi_check: bin/default/nsswitch/libwbclient/libwbclient.so
> [3719/3954] abi_check: bin/default/source3/libpdb.so
> [3720/3954] abi_check: bin/default/source3/libsmb/libsmbclient.so
> [3721/3954] Linking default/lib/tdb/tdbtorture
>
> Make install works fine too:
> Waf: Leaving directory `/home/steve/samba-master/bin'
> 'install' finished successfully (2m38.250s)
> Could this make it to tomorrows RC?
> Thanks so much for your help.
> Cheers,
> Steve.

-- 
Michael Wood <esiotrot at gmail.com>


More information about the samba-technical mailing list