Bear with me, this one's not very easy to explain...
I'm trying to
make install Xfce into my buildroot build directory. When configuring I'm using
so that it builds to the right folder, however when it's compressed and run I get errors from various config files where it's looking for files in
(which of course doesn't exist.)
How do I set what folder to build into, yet set a different root directory for the config files to use?
This question is tagged with
~ Asked on 2012-01-17 22:38:49
configure --help and see what other options are available.
It is very common to provide different options to override different locations. By standard,
--prefix overrides all of them, so you need to override config location after specifying the prefix. This course of actions usually works for every automake-based project.
The worse case scenario is when you need to modify the configure script, or even worse, generated makefiles and config.h headers. But yeah, for Xfce you can try something like this:
./configure --prefix=/home/me/somefolder/mybuild/output/target --sysconfdir=/etc
I believe that should do it.
~ Answered on 2012-01-17 22:48:14
In my situation, --prefix= failed to update the path correctly under some warnings or failures. please see the below link for the answer. https://stackoverflow.com/a/50208379/1283198
~ Answered on 2018-05-07 06:48:49