Re: Building ROOT on Mac OS X 10.5

From: James Jackson <James.Jackson_at_cern.ch>
Date: Wed, 14 Nov 2007 22:44:00 +0000


Hi,

No I didn't, but it works fine with that. With the previous version of ROOT I compiled (under the previous version of Mac OS), standard library bits and pieces worked without having to include headers. Seemed strange at the time!

Cheers,
James.

On 14 Nov 2007, at 22:38, Philippe Canal wrote:

> Hi James,
>
> Did you issue:
> #include <vector>
> on the command line?
>
> Cheers,
> Philippe
>
> -----Original Message-----
> From: owner-roottalk_at_root.cern.ch [mailto:owner-
> roottalk_at_root.cern.ch] On
> Behalf Of James Jackson
> Sent: Wednesday, November 14, 2007 4:38 PM
> To: Remi Mommsen
> Cc: Mario Kadastik; roottalk_at_root.cern.ch
> Subject: Re: [ROOT] Building ROOT on Mac OS X 10.5
>
> Hi,
>
> I have built from source without problem, however a basic test of
> std::vector appears to have problems:
>
> root [13] vector<Int_t> myVec;
> root [14] myVec.push_back(2);
> Error: Can't call vector<int,allocator<int> >::push_back(2) in current
> scope (tmpfile):1:
> Possible candidates are...
> (in vector<int,allocator<int> >)
> *** Interpreter error recovered ***
>
> Can anyone offer any suggestions as to what's going on here?
>
> Regards,
> James.
>
> On 14 Nov 2007, at 21:34, Remi Mommsen wrote:
>
>> HI,
>>
>> On Nov 14, 2007, at 1:12 PM, Mario Kadastik wrote:
>>
>>>> I've just upgraded my Mac to OS X 10.5 and would like to re-
>>>> install ROOT. Is it recommended to check out the HEAD from SVN and
>>>> install from source, or is there a 'better' method?
>>>
>>> I have just done that :) It is the only way :D The latest pro
>>> version does not have the fixes needed for compiling root. And if
>>> you want to have pythia in for example, then it seems there will
>>> not be a g77 for Leopard, but there is already an installer for
>>> gfortran (just google gfortran leopard and you'll see it).
>>
>> or you can use fink (http://www.finkproject.org) and install root5-
>> devel (or root5-devel-cernlib if you want to have pythia).
>>
>> Remi
>>
>>
>> --
>> . there are known knowns; there are things we know we know. We also
>> know there are known unknowns; that is to say we know there are some
>> things we do not know. But there are also unknown unknowns - the ones
>> we don't know we don't know.
>> Donald Rumsfeld
>> *********************************************************************
>> Remigius K. Mommsen e-mail: mommsen_at_fnal.gov
>> University of Manchester URL: http://cern.ch/mommsen
>> Fermilab, MS 357 voice: ++1 (630) 840-8321
>> P.O. Box 500 fax: ++1 (630) 840-2649
>> Batavia, Il 60510, US home: ++1 (630) 236-0932
>> *********************************************************************
>>
>>
>>
>
>
Received on Wed Nov 14 2007 - 23:44:17 CET

This archive was generated by hypermail 2.2.0 : Thu Nov 15 2007 - 05:50:03 CET