Linux configure/make, --prefix?

后端 未结 2 873
故里飘歌
故里飘歌 2020-12-13 12:48

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

I\'m trying to configure, make and make install Xfce into my buildroot b

相关标签:
2条回答
  • 2020-12-13 13:19

    Do 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.

    0 讨论(0)
  • 2020-12-13 13:20

    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

    0 讨论(0)
提交回复
热议问题