RE: Compiling on OSX LION

From: Vito Palladino <Vito.Palladino_at_cern.ch>
Date: Mon, 1 Aug 2011 22:44:07 +0000

Finally maports version has over the compilation and root is now installed... but if I try to launch the TBrowser the following error is reported:

Warning in <TGClient::GetColorByName>: couldn't retrieve color #3399ff.
Please close any other application, like netscape, that might exhaust
the colormap and start ROOT again
Warning in <TGClient::GetColorByName>: couldn't retrieve color #3399ff.
Please close any other application, like netscape, that might exhaust
the colormap and start ROOT again
root [1] Error in <RootX11IOErrorHandler>: fatal X11 error (connection to server lost?!)

**** Save data and exit application ****

Warning in <TGClient::GetColorByName>: couldn't retrieve color #000000.
Please close any other application, like netscape, that might exhaust
the colormap and start ROOT again
Warning in <TGClient::GetColorByName>: couldn't retrieve color #000000.
Please close any other application, like netscape, that might exhaust
the colormap and start ROOT again
Warning in <TGClient::GetColorByName>: couldn't retrieve color #000000.
Please close any other application, like netscape, that might exhaust
the colormap and start ROOT again
Warning in <TGClient::GetColorByName>: couldn't retrieve color #000000.
Please close any other application, like netscape, that might exhaust
the colormap and start ROOT again


________________________________________
From: owner-roottalk@root.cern.ch [owner-roottalk@root.cern.ch] on behalf of Vito Palladino [Vito.Palladino@cern.ch]
Sent: 01 August 2011 23:12
To: Mario Kadastik; Christopher Rob Jones
Cc: Eduard Avetisyan; Fons Rademakers; Valeri Fayn; roottalk@root.cern.ch
Subject: RE: [ROOT] Compiling on OSX LION

I tried both macports and compiling root 5.30.00-patches.

Macport seems not have any answer after more than 2 hours the compiling procedure is still on
---> Building root

and for what concerns the compiling fron source after downloading:

svn co http://root.cern.ch/svn/root/branches/v5-30-00-patches root

and
./configure macosx64 --prefix=/usr/local/root
make

the error

/Users/vitopalladino/daq62/root/net/rpdutils/src/rpdconn.cxx: In member function ‘int rpdconn::senddesc(int)’:
/Users/vitopalladino/daq62/root/net/rpdutils/src/rpdconn.cxx:398: error: size of array ‘buf’ is not an integral constant-expression

stops the compiling process.

Thanks for any other suggestions,
    Vito

________________________________________
From: Mario Kadastik
Sent: 01 August 2011 15:34
To: Christopher Rob Jones
Cc: Vito Palladino; Eduard Avetisyan; Fons Rademakers; Valeri Fayn; roottalk@root.cern.ch
Subject: Re: [ROOT] Compiling on OSX LION

> As I said, until a release comes out with the fixes included, you need to build with the gcc44 or gcc45 variants.
>
> > sudo port install root +gcc44 ( + any other variants you want).
>
> I don't have a Lion machine myself, so cannot test this, but I part maintain the port and a user who submitted a bug report on this says it worked for them.
>
> https://trac.macports.org/ticket/30321

Well I don't know what extra one has installed, but I can confirm that the SVN trunk of last Friday (can't remember what concrete number it was) worked flawlessly for me. OS X Lion + Xcode 4.2.x (the one you get from App Store for free) was enough. I just did a ./configure macosx64; make; and voila it worked.

Mario Kadastik, PhD
Researcher

---
  "Physics is like sex, sure it may have practical reasons, but that's not why we do it"
     -- Richard P. Feynman



Received on Tue Aug 02 2011 - 00:44:14 CEST

This archive was generated by hypermail 2.2.0 : Tue Aug 02 2011 - 05:50:01 CEST