[Libprelude] Specify a distinct path installation
I want to install Libprelude in a different path, for example at /etc/, to do so, before installing it, at the source folder I do:
tar -zxvf libprelude-5.0.0.tar.gz cd libprelude-5.0.0 ./configure --prefix=/ make make install
Libpredule is correctly installed at the path I want. But then, when I try to launch a prelude-admins command it says:
could not open '/usr/local/etc/prelude/profile': No such file or directory.
Why it still tries to find the prelude installation at the original path despite I specified a different one during the configuration? I miss any aditional flag when configuring libprelude? How can I solve this?
What is the output of the following commands?
libprelude-config --prefix libprelude-config --config-prefix
You may want to use the --sysconfdir option of the configure script.
The output is
libprelude-config --prefix --> /usr/local libprelude-config --config-prefix --> /usr/local/etc/prelude
I tried as you said
./configure --prefix=/ --sysconfdir=/etc ./configure --sysconfdir=/etc
but I'am obtaining the same result. I'm using the libprelude v5.0.0
We cannot reproduce the issue. You may have some leftovers in /usr/local from a previous build without the --prefix option.
Please remove all Prelude-related stuff in /usr/local and start over from the tar file with the commands you provided in your original post.