Re: libEGPythia6 on Mac OS 10.4 ?

From: Remi Mommsen <remigius.mommsen_at_cern.ch>
Date: Sun, 29 May 2005 12:44:45 -0700


Hi George,

On May 29, 2005, at 11:51 AM, George Japaridze wrote:

> Thanks,
> On May 29, 2005, at 12:59 AM, Rene Brun wrote:
>
>> go to the page: http://root.cern.ch/root/Install.html
>
> That's where I got libPythia from.
>
>> Look at section "Pythia Event Generators"
>> Download the tar file (it contains an installation script for MAC)
>
> I did it again and after running the script - sh makePythia6.macosx
> - I'v got libraries
> libPythia6.a, libPythia6.so, libPythia6.dylib. I moved them in my
> root libraries (root/lib), and
> when I started root, the complain was
>
> "Error in <TUnixSystem::DynamicPathName>: libEGPythia6[.so | .sl
> | .dl | .a | .dll] does not exist in .:/Users/georgejaparidze/root/
> lib:/Users/georgejaparidze/root/lib:/Users/georgejaparidze/root/
> lib:/Users/georgejaparidze/root/lib::/Users/georgejaparidze/root/lib"
>
> which seems natural - I don't have ibEGPythia6 in my root/lib.
> Somehow makePythis6.macosx is not generating this library.
>
> My rootlogon.C is this:
> ------
> {
> #include "Riostream.h"
> gSystem->Load("libPythia6");
> //gSystem->Load("libEG");
> gSystem->Load("libEGPythia6");
> //gSystem->Load("ralice");
> //gSystem->Load("icepack");
> TBrowser *b = new TBrowser("browse", "My Browserro");
> printf("\nWelcome to the Macintosh version of ROOT\n\n");
> }
> ------
> I've commented out gSystem->Load("libEG") as you advised, and
> afterwards I'll need to install AliRoot (the last two commented
> lines are for AliRoot libraries).
>
> Anyway, I need to have libEGPythia6 in my root/lib and can't see
> how I can do it, how can I get this library for Mac.
>
> What am I missing here?

You have to (re)build root after you have installed libPythia6. Only if this library is found during the build process, the libEGPythia6 is being built. The binary from the root website does not include it as you found out.

Or, if you have Fink (http://fink.sf.net) installed, you could install the package root4-cernlib, which will install a root version with libEGPythia6.

HTH,
     Remi



Intelligence is like a four-wheel drive vehicle: it allows you to get stuck in much more remote places.
Remigius K. Mommsen                 e-mail: mommsen_at_slac.stanford.edu
University of California, Irvine       URL:    http://cern.ch/mommsen
c/o SLAC                             voice:        ++1 (650) 926-3595
2575 Sand Hill Road #35                fax:        ++1 (650) 926-3882
Menlo Park, CA 94025, US              home:        ++1 (650) 233-9041
*********************************************************************
Received on Sun May 29 2005 - 21:45:07 MEST

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