Re: Compiling Root Code For Standalone With g++

From: Rene Brun (Rene.Brun@cern.ch)
Date: Fri Jul 30 1999 - 09:13:18 MEST


Hi Jon,
Clearly, you have something wrong in the installation process.
I cannot say more since you do not specify what you did, which Linux
version
or compiler version ?
Did you try to import our standard binary distribution and run the same
test.

For people installing themselves from the makefiles, run the validation
suite:
 cd $ROOTSYS/tutorials
 root
 Root > .x benchmarks.C
 Root > .q

 cd $ROOTSYS/test
 gmake
 stress 30

If this test suite does not run, there is no point in trying something
else.

Rene Brun


Jon Gans wrote:
> 
> I have followed the instructions on the web for compiling code under
> linux, and it compiles just fine. However, when executing it runs into
> some problems
> with root specific call. For example
> 
> Ttext * text = new TText(); works fine but
> gStyle->SetPalette(1); causes a seg fault.
> 
> booking canvas and histograms also produce segfaults
> ie
> TCanvas richCanvas  = new TCanvas("richCanvas","canvas",,200,10,1120,720);
> 
>  thanks alot
>  jon
> 
> ______________________________________________________________________________
> 
> Jonathan Gans                                      Home: 516 344 1265
> Brookhaven National Lab                            Work: 516 344 7405
> Building 902b, Room 11                   Fax/Voice Mail: 516 213 4967 (LI)
> Upton, NY 11973                            (Via Email)   718 247 2926 (NYC)
>                 http://star.physics.yale.edu/users/gans



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