Bug 7211 - current (2010-05-03 8:30) git branch doesn't include a configure script and autogen.sh fails with autoconf 2.65-3 installed (debian squeeze)
current (2010-05-03 8:30) git branch doesn't include a configure script and a...
Status: RESOLVED INVALID
Product: Samba 4.0
Classification: Unclassified
Component: Build
unspecified
x64 Linux
: P3 minor
: ---
Assigned To: Jelmer Vernooij
samba4-qa@samba.org
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2010-03-05 02:32 UTC by Thomas Wunder
Modified: 2010-03-08 10:04 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Thomas Wunder 2010-03-05 02:32:15 UTC
today i checked out a samba4 copy and i found that there was no configure script included (there are some configure.<suffix> scripts but they all point to ./configure)

when i tried to run autogen.sh i got the following (error-)message(s):

./autogen.sh: running script/mkversion.sh
./script/mkversion.sh: 'version.h' created for Samba("4.0.0alpha3-SVN-build-UNKNOWN")
./autogen.sh: running autoheader -I. -Ilib/replace
build/m4/check_cc.m4:8: error: AC_REQUIRE: circular dependency of AC_AIX
lib/replace/autoconf-2.60.m4:182: AC_USE_SYSTEM_EXTENSIONS is expanded from...
../../lib/autoconf/specific.m4:432: AC_AIX is expanded from...
lib/replace/autoconf-2.60.m4:182: AC_USE_SYSTEM_EXTENSIONS is expanded from...
build/m4/check_cc.m4:8: the top level
autom4te: /usr/bin/m4 failed with exit status: 1
autoheader: '/usr/bin/autom4te' failed with exit status: 1

i'm using autoconf 2.65-3 on a debian squeeze.
do you need additional information?
Comment 1 Matthias Dieter Wallnöfer 2010-03-05 02:41:49 UTC
The "./configure" script is created from the "./autogen.sh" script - so the latter has to pass to get the first.

>> Samba("4.0.0alpha3-SVN-build-UNKNOWN")

Are you using a recent version? This points back to the days when we used SVN. Do you use our recent GIT repository to check out your release? Please use http://wiki.samba.org/index.php/Samba4/HOWTO as documentation/howto guide.

I think with a recent release (beginning with alpha11) this problem doesn't happen again. Please mark the bug report as "FIXED" then.
Comment 2 Matthias Dieter Wallnöfer 2010-03-08 04:36:03 UTC
Mark this as "INVALID" until we hear us again.
Comment 3 Thomas Wunder 2010-03-08 10:04:34 UTC
(In reply to comment #2)
> Mark this as "INVALID" until we hear us again.
> 
I'm having some strange problems here which make me unable to check what's going wrong but at the moment i'm pretty sure that i checked out an old version of your repository (as you said). I guess this happend because i used an old howto...
Using the most recent version via rsync worked fine!