dwinn 0 Posted June 26, 2003 Hi. I'm sure this is an easy problem for experienced linux users and your help is MOST appreciated. I have configured a program called CLHEP and all tests pass. However my next directive is to type "make install," and here the problem arises. For some reason there is a permission issue on my computer. Can anyone please solve this problem????? The following is direct text of where the problem begins. make[1]: Leaving directory `/home/winn/CLHEP/StdHep/include' for dir in config Utilities Evaluator GenericFunctions Matrix Vector Random RandomObjects Geometry Units HepPDT HepMC HepMC/include StdHep StdHep/include ; do cd $dir ; make install prefix="/usr/local" MKDIR="mkdir -p" ; cd /home/winn/CLHEP ; done make[1]: Entering directory `/home/winn/CLHEP/config' test -d /usr/local/include/CLHEP/config || mkdir -p /usr/local/include/CLHEP/config mkdir: cannot create directory `/usr/local/include/CLHEP': Permission denied make[1]: *** [install] Error 1 make[1]: Leaving directory `/home/winn/CLHEP/config' make[1]: Entering directory `/home/winn/CLHEP/Utilities' test -d /usr/local/include/CLHEP/Utilities || mkdir -p /usr/local/include/CLHEP/Utilities mkdir: cannot create directory `/usr/local/include/CLHEP': Permission denied make[1]: *** [install] Error 1 make[1]: Leaving directory `/home/winn/CLHEP/Utilities' make[1]: Entering directory `/home/winn/CLHEP/Evaluator' test -d /usr/local/include/CLHEP/Evaluator || mkdir -p /usr/local/include/CLHEP/Evaluator mkdir: cannot create directory `/usr/local/include/CLHEP': Permission denied make[1]: *** [install] Error 1 make[1]: Leaving directory `/home/winn/CLHEP/Evaluator' make[1]: Entering directory `/home/winn/CLHEP/GenericFunctions' test -d /usr/local/include/CLHEP/GenericFunctions || mkdir -p /usr/local/include/CLHEP/GenericFunctions Thank you so much! Share this post Link to post
blueworm 0 Posted June 26, 2003 You need to be root to do #make install. Its ok to be user for $./configure && make but You must be root for #make install type $su Password: ********* Share this post Link to post