Error: main92 (PYTHIA8226) requires ROOT

Hi, All

I’m trying to run the main92 in pythia8226 (standalone):

make main92

and the main92.exe isn’t created, but only the file

but I get the following error:

Error: main92 requires ROOT

Anybody know how to fix this?
Thanks in advanced,


Hi, as the error says, you need to have ROOT installed and Pythia’s build system needs to be able to find it, or you will not be able to compile that example. Please make sure that ROOTSYS is set to the correct path and run source $ROOTSYS/bin/ prior to building Pythia. If you still get an error, please report it to the Pythia developers. Cheers,

Hi, @amadio

Thanks for the reply. I have ROOT installed and Pythia’s build system and is working well (I think so), because I can to run the example pythia8.C: using the command root -l pythia8.C

I check the source $ROOTSYS/bin/

In my bashrc :

#new version root 6:
source /opt/root6/bin/
#Pythia Env. Variables
export PYTHIA8=/home/andre/Documents/pythia_root/pythia8
export PYTHIA8DATA=$PYTHIA8/xmldoc
#end of My variables

I will report it for the pythia developers
Thanks for the help!



Now I understand(Thanks to Philip Ilten) what is wrong, In the configure of the pythia is missing to put :


|     PYTHIA Configuration Summary  
Configured for LINUX with the following options:

The following optional external packages will be used:


This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.