Re: Problems with ROOT compilation

From: Fons Rademakers <Fons.Rademakers_at_cern.ch>
Date: Sat, 26 Nov 2011 12:35:09 +0100


It seems you've build ROOT wrongly. Do:

cd
tar zxvf root-xxxxx.tar.gz
cd root
./configure
make

<now you can relocate ROOT where you want, or leave it where it is>

Add ~/root/bin in your PATH (or use ". ~/root/bin/thisroot.sh")

Now run ROOT and it should work.

Cheers, Fons.

On 25/11/11 20:49, Thiago Tomei wrote:
> Hi all
>
> I'm having problems compiling the freshly-released ROOT version in Mac
> OS X Lion. Some information about the system:
>
> ROOT version:
> 5.30/05
>
> $ uname -a
> Darwin pb-d-128-141-150-87.cern.ch 11.2.0 Darwin Kernel Version
> 11.2.0: Tue Aug 9 20:54:00 PDT 2011;
> root:xnu-1699.24.8~1/RELEASE_X86_64 x86_64
>
> $ clang++ -v
> Apple clang version 3.0 (tags/Apple/clang-211.12) (based on LLVM 3.0svn)
> Target: x86_64-apple-darwin11.2.0
> Thread model: posix
>
> Sample error:
> root [0] TH1F* histo = new TH1F("histograma","histograma",100,-10,10)
> root [1] histo->FillRandom("gaus",100000)
> root [2] histo->Draw()
> Warning in<TCanvas::ResizePad>: c1 width changed from 0 to 10
>
> Warning in<TCanvas::ResizePad>: c1 height changed from 0 to 10
>
> Info in<TCanvas::MakeDefCanvas>: created default TCanvas with name c1
>
> *** Break *** segmentation violation
> Error in<TUnixSystem::StackTrace> script /etc/root/gdb-backtrace.sh is missing
>
> Thanks,
> Thiago
>

-- 
Org:    CERN, European Laboratory for Particle Physics.
Mail:   1211 Geneve 23, Switzerland
E-Mail: Fons.Rademakers_at_cern.ch              Phone: +41 22 7679248
WWW:    http://fons.rademakers.org           Fax:   +41 22 7669640


Received on Sat Nov 26 2011 - 12:35:16 CET

This archive was generated by hypermail 2.2.0 : Mon Nov 28 2011 - 17:50:01 CET