[freetds] Nightly build fails

ZIGLIO, Frediano, VF-IT Frediano.Ziglio at vodafone.com
Wed Mar 30 10:01:26 EST 2005


> 
> > 
> > According to last night's log, I can't currently construct a 
> > snapshot. 
> > Haven't had time to look into it further.  
> > 
> > I didn't take the build box offline until Friday, March 28. 
>  The last
> > successful build was on the 23rd.  Maybe something was 
> checked in that
> > day.  
> > 
> > Log follows.
> > 
> 
> ... omissis ...
> 
> > exit 1;  fi;  done
> > make: don't know how to make num_limits.h. Stop
> > 
> 
> "make charset" in src/tds build num_limits.h
> I don't like to commit autogenerated files...
> 
> perhaps a role like
> 
> num_limits.h: numeric.pl
> 	perl numeric.pl > num_limits.tmp && mv num_limits.tmp
> num_limits.h
> 
> in Makefile.am will suit. However I don't remember why for charset we
> don't have such role...
> 

This should be sufficient

EXTRA_DIST = numeric.pl

num_limits.h: numeric.pl
        rm -f $@
        perl $< > .$@
        mv .$@ $@

(you have to distribute numeric.pl to make make happy and distribute
num_limits.h to avoid perl during compile phase)

freddy77



More information about the FreeTDS mailing list