Re: Troubles compiling ROOT v.2.21/08 on RedHat 4.2

From: Matthew D. Langston (langston@SLAC.stanford.edu)
Date: Wed May 26 1999 - 20:34:43 MEST


Hi Damon

Damon> I am trying to compile the most recent version of ROOT on a Pentium
Damon> machine running RedHat 4.2.  The compilation proceeds smoothly using
Damon> Makefile.linuxrh42 in the source distribution until it attempts to build
Damon> root.exe. 

Fons> try moving in the makefile -lXpm just before -lX or copy the
Fons> libXpm.so and libXpm.a from /usr/X11R6/lib to $ROOTSYS/lib.

If Fon's suggestion doesn't work, you may want to try my Autoconfed
version of ROOT at
ftp://ftp.slac.stanford.edu/users/langston/root/root-2.21.08.tar.gz.
People have been quite successful in building this version, especially
on Linux.  It builds just like you would expect any standard GNU package
to build, i.e. with the following 4 commands:

  $ ./configure
  $ make
  $ make check
  $ make install

In your case, you will benefit from Autoconf because it determines
automatically what X11 libraries you need, in what order to place them
on the link line, and where the Xpm library is supposed to fit in.

The ROOT source code in this package has not been changed from what you
get from ftp://root.cern.ch/root/ - it is still the vanilla version of
ROOT v. 2.21.08.  The only difference is that it has been repackaged in
the GNU style, i.e. with Autoconf, Automake and Libtool.

The advantage of this is that you do not need to install the binary
version of ROOT first, i.e. ROOT builds directly from the source code.

For more information, you can read the announcement of this package from
the RootTalk Digest at
http://root.cern.ch/root/roottalk/roottalk99/0699.html

It is important to note that this software is not yet officially
supported by the ROOT Team.  This package should be considered beta, as
it has not seen widespread testing outside of SLAC.  Having said that,
it is the version of ROOT I use for my everyday physics analysis.

--
Matthew D. Langston
SLD, Stanford Linear Accelerator Center
langston@SLAC.Stanford.EDU



This archive was generated by hypermail 2b29 : Tue Jan 04 2000 - 00:43:33 MET