RE: Compiling on OSX LION

From: Vito Palladino <Vito.Palladino_at_cern.ch>
Date: Mon, 1 Aug 2011 21:12:57 +0000

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 Mon Aug 01 2011 - 23:13:06 CEST

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