Re: Compiling h2root from source

From: Rene Brun (Rene.Brun@cern.ch)
Date: Tue Mar 02 1999 - 08:23:39 MET


Marcus Camen wrote:
> 
> Hi all,
> 
> I installed a Linux-EGCS binary and the root source distribution.
> Now I want to recompile h2root but the only sign of h2root is
> the UTILS_h2root.cxx file.
> Why isnīt there any Makefile for it. I know that the cernlibs are
> needed to compile but an example Makefile would help.
> 
> Best regards....

Hi Marcus,
The installation of h2root and g2root is not yet part of the distributed
makefiles. You will find below an example of installation script
for Linux egcs.

Rene Brun

#/bin/sh
cd $ROOTSYS/src
g77 -c UTILS_hntvar2.f 
g++ -fno-rtti -fno-exceptions -fPIC -I$ROOTSYS/include -c
UTILS_h2root.cxx 
g++ -fno-rtti -fno-exceptions  -o $ROOTSYS/bin/h2root \
UTILS_h2root.o UTILS_hntvar2.o $CERNLIB/libpacklib.a \
-L$ROOTSYS/lib -lNew -lBase -lCint -lClib -lCont -lFunc -lGraf -lGraf3d
\
-lHist  -lHtml -lMatrix -lMeta -lMinuit -lNet -lPhysics -lPostscript \
-lProof  -lRint -lTree -lUnix -lZip -lm -ldl -lg2c -rdynamic



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