[linux] Linux configure/make, --prefix?

Bear with me, this one's not very easy to explain...

I'm trying to configure, make and make install Xfce into my buildroot build directory. When configuring I'm using

--prefix=/home/me/somefolder/mybuild/output/target

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

/home/me/somefolder/mybuild/output/target

(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 related to linux build makefile configure prefix

The answer is


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


Examples related to linux

grep's at sign caught as whitespace How to prevent Google Colab from disconnecting? "E: Unable to locate package python-pip" on Ubuntu 18.04 How to upgrade Python version to 3.7? Install Qt on Ubuntu Get first line of a shell command's output Cannot connect to the Docker daemon at unix:/var/run/docker.sock. Is the docker daemon running? Run bash command on jenkins pipeline How to uninstall an older PHP version from centOS7 How to update-alternatives to Python 3 without breaking apt?

Examples related to build

error: This is probably not a problem with npm. There is likely additional logging output above Module not found: Error: Can't resolve 'core-js/es6' WARNING in budgets, maximum exceeded for initial How can I change the app display name build with Flutter? Error - Android resource linking failed (AAPT2 27.0.3 Daemon #0) Still getting warning : Configuration 'compile' is obsolete and has been replaced with 'implementation' Could not find com.android.tools.build:gradle:3.0.0-alpha1 in circle ci Error:Execution failed for task ':app:compileDebugKotlin'. > Compilation error. See log for more details Component is part of the declaration of 2 modules Maven build Compilation error : Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.1:compile (default-compile) on project Maven

Examples related to makefile

MINGW64 "make build" error: "bash: make: command not found" "No rule to make target 'install'"... But Makefile exists How to overcome "'aclocal-1.15' is missing on your system" warning? How to install and use "make" in Windows? How to get a shell environment variable in a makefile? Using local makefile for CLion instead of CMake Difference between using Makefile and CMake to compile the code How to set child process' environment variable in Makefile Windows 7 - 'make' is not recognized as an internal or external command, operable program or batch file Debugging the error "gcc: error: x86_64-linux-gnu-gcc: No such file or directory"

Examples related to configure

"Logging out" of phpMyAdmin? MIME types missing in IIS 7 for ASP.NET - 404.17 Linux configure/make, --prefix? How to add include and lib paths to configure/make cycle?

Examples related to prefix

nvm is not compatible with the npm config "prefix" option: Rename multiple files in a folder, add a prefix (Windows) Linux configure/make, --prefix? conversion from infix to prefix How to rename with prefix/suffix?