Installation of GEANT4 Ubntu

I am a new user and I am trying to install Geant4 and I encountred this error while executing the make install command


. Can someone please help me as I am a bit new and I have no idea how to correct it?

You included the option -DCMAKE_INSTALL_PREFIX=/home/Documents/PASA/geant4-v11.1.0-install in your cmake command. Do you have such a directory on your system? If you don’t, and you don’t have permissions to create directories under /home, then you should do your installation to a different directory path that you do have permissions for.

1 Like

I creaded the directory, so it is there on my system. I am still not able to install. Don’t understand why…

What are the read/write permissions on /home/Documents/PASA/geant4-v11.1.0-install, i.e. what do the commands

$ ls -ld /home/Documents
$ ls -ld /home/Documents/PASA
$ ls -ld /home/Documents/PASA/geant4-v11.1.0-install

print?

1 Like

You are right, it needed speacial permission. I now created a new folder without needed special permission and it works fine there. Thank you.

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