From: Alan W. I. <ir...@be...> - 2003-03-03 23:54:12
|
On Mon, 3 Mar 2003, Rafael Laboissiere wrote: > * Joao Cardoso <jc...@fe...> [2003-03-03 20:53]: > > > After a fresh cvs checkout, running bootstrap.sh > > > > [jcard@feup] ./bootstrap.sh > > Running aclocal (GNU automake) 1.7.2... done > > Running autoheader (GNU Autoconf) 2.57... done > > Running automake (GNU automake) 1.7.2... done > > Running libtoolize (GNU libtool) 1.4.3... done > > Running autoconf (GNU Autoconf) 2.57... done > > > > taring, ftp to an alphaev6-dec-osf4.0f system, untaring and running configure > > gave several errors: > > > > [...] > > This technique is error-prone. The correct approach is to generate a > tarball with "make dist". Unfortunately, make dist does not work perfectly > yet (but will for the next release, hopefully). I agree you do have to be careful with making a tarball, but on the other hand it is almost as straightforward as avoiding pitfalls when developing with cvs. You must start with a clean tree, and you need the correct version of swig and autotools on your system where you are preparing the tarball. The only peculiar thing is two files need to be touched if you are not using my script. Note that scripts/make_tarball.sh touches two files so that autotools are not invoked on the system where the tarball is being used. That script also does the appropriate swig and perl preparation so you won't need swig or perl on the system where the tarball is being used. Until Rafael can get make dist to work, using this script is probably your best bet for preparing a clean tree for a tarball. Just now, I have commented out getting access to our documentation results from the website because those files are changing. I will put them back in correct form later once our documentation settles down (and if make dist continues not to work), but for now, nobody needs those documentation results. Let me know if you have any trouble generating a tarball with the script and testing it on your Linux system. If the tarball works on Linux (i.e., no autotools or swig execution and build, install, and plplot-test.sh are fine) but does not work on other platforms, that is a pretty clear indication that cross-platform issues have crept into CVS again. Alan __________________________ Alan W. Irwin email: ir...@be... phone: 250-727-2902 Astronomical research affiliation with Department of Physics and Astronomy, University of Victoria (astrowww.phys.uvic.ca). Programming affiliations with the Canadian Centre for Climate Modelling and Analysis (www.cccma.bc.ec.gc.ca) and the PLplot scientific plotting software package (plplot.org). __________________________ Linux-powered Science __________________________ |