[freetds] Nightly build fails

James K. Lowden jklowden at schemamania.org
Thu Mar 31 08:05:14 EST 2005


On Thu, 31 Mar 2005 11:27:07 +0200, Frediano Ziglio <freddyz77 at tin.it>
wrote:
> 
> > The problem with not committing autogenerated files: teach autogen to
> > make num_limits.h when building from CVS, but to include num_limits.h
> > in the output of "make dist".  The reason, you remember, is that
> > people who build from distributions and snapshots shouldn't need Perl.
> >  I know we
> > agree on that point; I'm just reminding everyone.  
> 
> Using distro

You mean freetds-0.64.dev.20050331.tar.gz, right?  

> $ make
> make: *** No rule to make target `numeric.pl', needed by `num_limits.h'.
> Stop.

Bah.  I thought I had it working yesterday.  Maybe it was a different
toolset.  The current set is:

autoconf (GNU Autoconf) 2.57
automake (GNU automake) 1.7.3
ltmain.sh (GNU libtool) 1.5.6 (1.1220.2.94 2004/04/10 16:27:27)

> all: $(BUILT_SOURCES)
>         $(MAKE) $(AM_MAKEFLAGS) all-recursive
> ...
> num_limits.h: numeric.pl Makefile
>         perl $(srcdir)/numeric.pl > .$@
>         mv .$@ $@
> 
> So make require numeric.pl to build (or only check) num_limits.h. The
> only solution I see is to include numeric.pl in distribution...

I don't want to do that.  If we start including Perl code in the
distribution, sooner or later we'll either accidentally require Perl, or
someone will think we do.  

The nightly snapshot builds if you remove $(BUILT_SOURCES): 

	all:

from src/tds/Makefile.  

I'll look into it some more.  There has to be a way.  

Regards, 

--jkl



More information about the FreeTDS mailing list