Re: compiling AliRoot with ROOT v5-08-00

From: Rene Brun <Rene.Brun_at_cern.ch>
Date: Sun, 18 Dec 2005 08:43:07 +0100 (MET)


Chiara,

This is a mail to be addressed to the Alice mailing lists, not to roottalk.

Rene Brun

On Sat, 17 Dec 2005, chiara zampolli wrote:

> Dear rooters,
>
> I have downloaded and compiled the new ROOT version (v5-08-00), but now,
> trying to compile the AliRoot HEAD I am using (it has been downloaded on Nov
> 1st, and it worked perfectly with ROOT v5-06-00), I have a problem.
> Apart from an error concerning the fact that AliPythia.h was not able to
> find TPythia class (which I have been able to go around copying some files
> froom a directory to another), at the very end this error occurs:
> ...
> Making executable bin/tgt_linux/aliroot *****
> /usr/bin/ld: cannot find -lEGPythia6
> collect2: ld returned 1 exit status
> make[1]: *** [bin/tgt_linux/aliroot] Error 1
> make[1]: Leaving directory
> `/yp/exports1/aliprod1/zampolli/zampolliSoft/AliRoot/HEAD011105'
> make: *** [default] Error 2
> aliprod1_at_lnxbo:/exports1/aliprod1/zampolli/zampolliSoft/AliRoot/AliRoot>
>
> I do not know how to solve it, in this case it is not just a matter of
> copying files from here to there... Perhaps, as the previous error, this one
> is due to the fact that I have compiled root running the following script,
> which always worked till now:
>
> #!/bin/sh
> [ -r lib ] || mkdir lib
> cat > /tmp/p.c <<EOF
> void nevercalled() {}
> EOF
> gcc -c -o /tmp/p.o /tmp/p.c
> ar rv lib/libPythia.a /tmp/p.o
> ranlib lib/libPythia.a
> ar rv lib/libPythia6.a /tmp/p.o
> ranlib lib/libPythia6.a
> ./configure linux \
> --enable-pythia --with-pythia-libdir=$ROOTSYS/lib \
> --enable-pythia6 --with-pythia6-libdir=$ROOTSYS/lib \
> --enable-cern --enable-rfio \
>
> #
>
> and which, perhaps, now is no more correct/valid/appropriate.
> Could you help me?
>
> Thank you in advance.
> Cheers,
> Chiara
>
Received on Sun Dec 18 2005 - 08:43:27 MET

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