'make install' tries to write to /etc

Hi there

I’ve been using Root for many years and I have never had an install problem before now. The problem appears both in 5.26 and 5.28. I “configure” with a prefix, type “make” and “make install” and then I get this:

Installing macros in /scr/hep/hepexp/root/share/root/macros
Installing man(1) pages in /scr/hep/hepexp/root/share/man/man1
Installing config files in /etc/root
mkdir: cannot create directory `/etc/root': Permission denied
cp: target `/etc/root' is not a directory
Installing Autoconf macro in /scr/hep/hepexp/root/share/aclocal
Installing Emacs Lisp library in /scr/hep/hepexp/root/share/emacs/site-lisp

This renders the installation unusable.

The system is a CentOS machine with gcc 4.1.2. Has anyone else seen this error, and what is going on?

/R :slight_smile:


when configuring with --prefix also specify --etcdir if you don’t like the default of /etc/root.

Cheers, Fons.