Re: Pythia8 with ROOT V5.27.02

From: Ruchi Gupta <ruchi.gupta345_at_gmail.com>
Date: Fri, 18 Jun 2010 17:31:25 +0530


Hi

Do you have to use PYTHIA8 programs as ROOT macros? Because if you only want to use ROOT for histograming purposes you don't have to install ROOT with Pythia8 support. You can just provide ROOT libraries while compiling pythia8 program with g++.

Regards,
Ruchi

On Fri, Jun 18, 2010 at 5:23 PM, Pawan Kumar Netrakanti < pawan_at_rcf.rhic.bnl.gov> wrote:

>
> Dear ROOTers
>
> I am trying to compile the root version v5.27.02
> with pythia8 from the source.
>
> I get the following errors:
> ========================================================================
> /usr/bin/ld: /home/pawan/pythia8135/lib/archive/libpythia8.a(Event.o):
> relocation R_X86_64_32 against `a local symbol' can not be used when
> making a shared object; recompile with -fPIC
> /home/pawan/pythia8135/lib/archive/libpythia8.a: could not read symbols:
> Bad value
> collect2: ld returned 1 exit status
> make: *** [lib/libEGPythia8.so] Error 1
> =========================================================================
>
>
> For configuration I use:
>
> ./configure --enable-pythia8
> --with-pythia8-incdir=/home/pawan/pythia8135/include
> --with-pythia8-libdir=/home/pawan/pythia8135/lib/archive
>
> and my machine specifications are:
>
> uname -a
> Linux localhost.localdomain 2.6.18-164.el5xen #1 SMP Sat Sep 5 20:00:11
> CEST 2009 x86_64 x86_64 x86_64 GNU/Linux
>
> gcc version:
> Configured with: ../configure --prefix=/usr --mandir=/usr/share/man
> --infodir=/usr/share/info --enable-shared --enable-threads=posix
> --enable-checking=release --with-system-zlib --enable-__cxa_atexit
> --disable-libunwind-exceptions --enable-libgcj-multifile
> --enable-languages=c,c++,objc,obj-c++,java,fortran,ada
> --enable-java-awt=gtk --disable-dssi --enable-plugin
> --with-java-home=/usr/lib/jvm/java-1.4.2-gcj-1.4.2.0/jre
> --with-cpu=generic --host=x86_64-redhat-linux
> Thread model: posix
> gcc version 4.1.2 20080704 (Red Hat 4.1.2-46)
>
>
> Thanks for any help
>
> with best regards
> Pawan
>
> **************************************************
> Pawan Kumar Netrakanti
> Room# 247
> Physics Department, Purdue University
> 1396 Physics Building
> West Lafayette,
> IN - 47907-1396
> Ph: 765-494-5538
> **************************************************
>
>
Received on Fri Jun 18 2010 - 14:02:18 CEST

This archive was generated by hypermail 2.2.0 : Fri Jun 18 2010 - 17:50:01 CEST