Hi Simon,

I won't be able to peek at this for a couple of days, but it *sounds* like
"libopts" may be missing in the SUBDIRS entry for the src/Makefile.am file.
I believe the NTP folks (Harlan) have done something like this.
http://www.eecis.udel.edu/~ntp/ntp_spool/ntp4/ntp-dev/ntp-dev-4.2.7p251.tar.gz
The sources are under Bit Keeper, so other than logging into ntp.org,
I don't know how to get them.

So if you haven't figured it out in a couple of days, I will then have time
to take a peek.

Regards, Bruce

On Tue, Jan 24, 2012 at 6:52 AM, Simon Josefsson <si...@josefsson.org> wrote:
> Hello,
>
> Thanks to Nikos, GnuTLS now uses AutoGen for command line handling in
> git master.  I'm trying to get 'make dist' to work.  It works fine if I
> use --enable-local-libopts to make sure the local libopts copy is built,
> but if I don't use that, 'make dist' fails like this:
>
> make[1]: Leaving directory `/home/jas/src/gnutls/po'
>  (cd src/libopts && make  top_distdir=../../gnutls-3.0.12 
> distdir=../../gnutls-3.0.12/src/libopts \
>     am__remove_distdir=: am__skip_length_check=: am__skip_mode_fix=: distdir)
> make[1]: Entering directory `/home/jas/src/gnutls/src/libopts'
> make[1]: *** No rule to make target `distdir'.  Stop.
>
> Indeed there is no src/libopts/Makefile:
>
> jas@latte:~/src/gnutls master$ ls -la src/libopts/Makefile*
> -rw-r--r-- 1 jas jas  1490 23 jan 21.26 src/libopts/Makefile.am
> -rw-r--r-- 1 jas jas 61695 24 jan 15.16 src/libopts/Makefile.in
> jas@latte:~/src/gnutls master$
>
> I see there is a call to AC_CONFIG_FILES in LIBOPTS_CHECK for the
> src/libopts/Makefile, however it doesn't seem to work?  Config.log does
> not contain any 'creating src/libopts/Makefile' statement and the file
> is not generated.
>
> If I add src/libopts/Makefile manually to AC_CONFIG_FILES, I get an
> error from autoconf:
>
> configure.ac:433: error: `src/libopts/Makefile' is already registered with 
> AC_CONFIG_FILES.
>
> Any ideas?  You may browse the git repo here:
>
> http://git.savannah.gnu.org/cgit/gnutls.git/tree/
>
> /Simon

------------------------------------------------------------------------------
Keep Your Developer Skills Current with LearnDevNow!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-d2d
_______________________________________________
Autogen-users mailing list
Autogen-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/autogen-users

Reply via email to