Re: TMapFile/libNew and compilations problems on MacOsX

From: Fons Rademakers <Fons.Rademakers_at_cern.ch>
Date: Mon, 18 Apr 2005 17:32:59 +0200


Hi Daniel,

  use root-config --new --libs

daniel cussol wrote:
> Hello MacRooters,
> I am running ROOT version 4.03.04 on MacOsX 10.3.8. I am facing the
> following problems:
>
> 1. I have read in the rfelease notes of the 4.03.04 version that the
> compilation problems have been fixed on MacOsX. Unfortunately, when I
> try to compile two macros one after the other, I still obtain the
> problem I have mentioned in a previous mail (see
> http://root.cern.ch/cgi-bin/print_hit_bold.pl/root/roottalk/roottalk05/0443.html).
> Did I misunderstood the release note?
>
> 2. When I run the hprod.C tutorial macro using rootn.exe, I obtain the
> follwing error message:
> rootn.exe
> *******************************************
> * *
> * W E L C O M E to R O O T *
> * *
> * Version 4.03/04 18 April 2005 *
> * *
> * You are welcome to visit our Web site *
> * http://root.cern.ch *
> * *
> *******************************************
>
> FreeType Engine v2.1.3 used to render TrueType fonts.
> Compiled for macosx with thread support.
>
> CINT/ROOT C/C++ Interpreter version 5.15.169, Mar 14 2005
> Type ? for help. Commands must be C++ statements.
> Enclose multiple statements between { }.
> root [0] .x hprod.C
> Error in <TMapFile::TMapFile>: no memory mapped file capability available
> Use rootn.exe or link application against "-lNew"
> Memory mapped file: hsimple.map
> Title: Demo memory mapped file with histograms
> Option: file closed
>
> This is quite strange since I precisely run rootn.exe! Additionaly, when
> I try to link my own programs unsing "root-config --new", this latter
> command returns me an empty string! What do I have to do to link the
> libNew libraries? I have checked that libNew.so and libNew.dylib exist
> in my $ROOTSYS/lib directory.
>
> Thanks for your help.
> Friendly
>

-- 
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://www.rademakers.org/fons/      Fax:   +41 22 7679480
Received on Mon Apr 18 2005 - 17:33:26 MEST

This archive was generated by hypermail 2.2.0 : Tue Jan 02 2007 - 14:45:07 MET