Hi Subhendu,
Rene Brun <Rene.Brun@cern.ch> wrote concerning
Re: [ROOT]How to get libEGPythia [Thu, 7 Nov 2002 17:32:30 +0100 (MET)]
----------------------------------------------------------------------
> Hi,
>
> Which system are you using? The files that we build for most distributions
> include Pythia. If you use a different distribution, I give you the
> recipee how to build this library.
>
> -first, have the Fortran source of Pythia in say $PYTHIA directory
> This directory must contain libPythia.so. if you do not have a makefile
> to build this shared lib, do:
> g77 -c jetset74.f
> g77 -c pythia5707.f
> echo 'void MAIN__() {}' >main.c
> gcc -c main.c
> g77 -shared -Wl,-soname,libPythia.so -o libPythia.so *.o
If you're using GNU/Linux (Red Hat, Debian, whatever) you can get some
RPMs and DEBs of Pythia from my homepage [1]. Source RPMs are also
available. The install into `/usr/lib' etc. per default. On the same
page there are detailed descriptions of what's needed to make the
packages from never Pythia sources.
> You can import precompiled versions of Pythia from
> ftp://root.cern.ch/root/pythia/ for pythia5
> or
> ftp://root.cern.ch/root/pythia6/
>
> - when configuring root, do
> ./configure linux \
> --with-pythia-libdir=$PYTHIA
> + all other options
> This should build libEGPythia.so
If you use the GNU/Linux packages (that is install the libraries in
/usr/lib), then you don't need the `--with-pythia(6)--libdir' option
to configure.
Yours,
___ | Christian Holm Christensen
|_| | -------------------------------------------------------------
| | Address: Sankt Hansgade 23, 1. th. Phone: (+45) 35 35 96 91
_| DK-2200 Copenhagen N Cell: (+45) 24 61 85 91
_| Denmark Office: (+45) 353 25 305
____| Email: cholm@nbi.dk Web: www.nbi.dk/~cholm
| |
[1] http://cholm.home.cern.ch/cholm/pythia/
This archive was generated by hypermail 2b29 : Sat Jan 04 2003 - 23:51:16 MET