Hi,
I want to install pythia8 on MG5_aMC_v2_6_0. after completed install , on screen appear install successfully, but i open the /home/ablikim/tools/MG5_aMC_v2_6_0/HEPTools/pythia8/pythia8_install.log file , in this file appear many error massage like :
Compile PYTHIA8 examples
g++ main01.cc -o main01 -I/home/ablikim/tools/MG5_aMC_v2_6_0/HEPTools/pythia8//include -ldl -fPIC -lstdc++ -DHEPMC2HACK -DGZIPSUPPORT -I/home/ablikim/tools/MG5_aMC_v2_6_0/HEPTools/zlib/include -L/home/ablikim/tools/MG5_aMC_v2_6_0/HEPTools/zlib/lib -Wl,-rpath,/home/ablikim/tools/MG5_aMC_v2_6_0/HEPTools/zlib/lib -lz -L/home/ablikim/tools/MG5_aMC_v2_6_0/HEPTools/pythia8//lib -Wl,-rpath,/home/ablikim/tools/MG5_aMC_v2_6_0/HEPTools/pythia8//lib -lpythia8 -ldl
/home/ablikim/tools/MG5_aMC_v2_6_0/HEPTools/pythia8//lib/libpythia8.a(Streams.o): In function `Pythia8::gzstreambuf::open(char const*, int)':
Streams.cc:(.text+0x10b): undefined reference to `gzopen'
/home/ablikim/tools/MG5_aMC_v2_6_0/HEPTools/pythia8//lib/libpythia8.a(Streams.o): In function `Pythia8::gzstreambuf::close()':
Streams.cc:(.text+0x1a3): undefined reference to `gzclose'
/home/ablikim/tools/MG5_aMC_v2_6_0/HEPTools/pythia8//lib/libpythia8.a(Streams.o): In function `Pythia8::gzstreambuf::underflow()':
Streams.cc:(.text+0x2e2): undefined reference to `gzread'
/home/ablikim/tools/MG5_aMC_v2_6_0/HEPTools/pythia8//lib/libpythia8.a(Streams.o): In function `Pythia8::gzstreambuf::flush_buffer()':
Streams.cc:(.text+0x3a6): undefined reference to `gzwrite'
collect2: error: ld returned 1 exit status
Makefile:61: recipe for target 'main01' failed
make: *** [main01] Error 1
g++ main02.cc -o main02 -I/home/ablikim/tools/MG5_aMC_v2_6_0/HEPTools/pythia8//include -ldl -fPIC -lstdc++ -DHEPMC2HACK -DGZIPSUPPORT -I/home/ablikim/tools/MG5_aMC_v2_6_0/HEPTools/zlib/include -L/home/ablikim/tools/MG5_aMC_v2_6_0/HEPTools/zlib/lib -Wl,-rpath,/home/ablikim/tools/MG5_aMC_v2_6_0/HEPTools/zlib/lib -lz -L/home/ablikim/tools/MG5_aMC_v2_6_0/HEPTools/pythia8//lib -Wl,-rpath,/home/ablikim/tools/MG5_aMC_v2_6_0/HEPTools/pythia8//lib -lpythia8 -ldl
/home/ablikim/tools/MG5_aMC_v2_6_0/HEPTools/pythia8//lib/libpythia8.a(Streams.o): In function `Pythia8::gzstreambuf::open(char const*, int)':
Streams.cc:(.text+0x10b): undefined reference to `gzopen'
/home/ablikim/tools/MG5_aMC_v2_6_0/HEPTools/pythia8//lib/libpythia8.a(Streams.o): In function `Pythia8::gzstreambuf::close()':
Streams.cc:(.text+0x1a3): undefined reference to `gzclose'
/home/ablikim/tools/MG5_aMC_v2_6_0/HEPTools/pythia8//lib/libpythia8.a(Streams.o): In function `Pythia8::gzstreambuf::underflow()':
Streams.cc:(.text+0x2e2): undefined reference to `gzread'
/home/ablikim/tools/MG5_aMC_v2_6_0/HEPTools/pythia8//lib/libpythia8.a(Streams.o): In function `Pythia8::gzstreambuf::flush_buffer()':
Streams.cc:(.text+0x3a6): undefined reference to `gzwrite'
collect2: error: ld returned 1 exit status
Makefile:61: recipe for target 'main02' failed
make: *** [main02] Error 1
....
....
....
what is happen here ? i am confused .
thanks.
Best