ROOT, autoconf, libtool, automake

Dave Morrison (dave@bnl.gov)
Mon, 03 Aug 1998 18:36:41 -0400


Hi,

I've taken a crack at getting ROOT 2.00/10 to build using the usual GNU set of
configuration tools - autoconf, libtool, and automake. This was a fair chunk of
cut and paste work with the new ROOT makefiles augmented by some new Makefile
templates and an autoconf configuration script. Even though the point of using
these tools is to handle differences between platforms transparently, some more
work is needed in the Makefile templates before this really becomes true. For
now, things build smoothly for me on Intel/Linux - your mileage may vary.

I've also talked with Steve Adler about his recent note about rpm'ing the ROOT
distribution and I think the two things can be made to work very nicely
together. For those compiling from scratch, the autoconf stuff helps deal with
messy platform differences, and for those installing a pre-built distibution
having an rpm file available is extremely nice. And if the platform differences
in the ROOT sources are eventually modified to be handled using autoconf macros,
it should make porting to new systems easier.

Anyway, I thought it might be useful to make available what I have so far. You
can download the root-2.10.tar.gz file (automatically made by automake,
incidentally) from

http://www.phenix.bnl.gov/~dave/root/

Just download it, `tar zxvf' it, and do something like

mkdir root-build; cd root-build
../root-2.10/configure --prefix=$HOME/root
make
make install

Dave

-- 
David Morrison  Brookhaven National Laboratory  phone: 516-344-5840
                Physics Department, Bldg 510 C    fax: 516-344-3253
		          Upton, NY 11973-5000  email: dave@bnl.gov