[Samba] autogen.sh failing over samba share

George Sapountzis gsapountzis at gmail.com
Sat Nov 28 18:22:26 MST 2009

On Sun, Nov 29, 2009 at 12:26 AM, Volker Lendecke
<Volker.Lendecke at sernet.de> wrote:
> On Sun, Nov 29, 2009 at 12:14:38AM +0200, George Sapountzis wrote:
>> I have the source tree of a project exported with samba. autogen.sh on
>> the host filesystem (ext4) runs fine while it fails on the samba share
>> with:
>> autoreconf: Entering directory `.'
>> autoreconf: configure.ac: not using Gettext
>> autoreconf: running: aclocal -I m4
>> Use of uninitialized value $msg in concatenation (.) or string at
>> /usr/bin/autom4te line 1038.
>> unknown channel m4trace:configure.ac:154: -1 at
>> /usr/share/autoconf/Autom4te/Channels.pm line 634
>>       Autom4te::Channels::msg('m4trace:configure.ac:154: -1', undef,
>> 'warning: ') called at /usr/bin/autom4te line 1038
>> aclocal: autom4te failed with exit status: 1
>> autoreconf: aclocal failed with exit status: 1
>> The above fails even in the simple case of mounting the samba share on
>> the same machine that exports it.
>> This is on ubuntu 9.10 with stock samba:
>> samba 2:3.4.0-3ubuntu5
> Can this be https://bugzilla.samba.org/show_bug.cgi?id=6898 ?

Yes, that was it!

I rebuilt cifs.ko for the stock ubuntu kernel with the the two-liner
attached at the above bug report and autogen.sh runs as expected!

(continuing on the same thread with configure problems)

However, there are two glitches with regard to configure on the native
(ext4) filesystem:

- configure is not created with +x permission

- configure creates tmp dirs with self-pointing links that cannot be
removed on the samba share:

rm: cannot remove directory `conf5057.dir': Directory not empty

$ ls -l conf5057.dir/
total 0
lrwxrwxrwx 1 sap sap 13 2009-11-29 03:04 conf5057.file -> conf5057.file

I guess the above are configuration issues. Any suggestions ?

re-pasting the smb.conf excerpt for reference:
  ea support = yes
  read only = no
  browseable = no
  guest ok = no
  valid users = sap
  create mask = 0644
  directory mask = 0755


More information about the samba mailing list