Compilation error :mainz02.cc in pythia 8

i had built root using

but in my .bashrc file i am using

i had built root in my downloads directory.
i hope that would not cause any probelm .