Xfce Forum

Sub domains

You are not logged in.

#1 2011-08-02 15:27:34

Registered: 2011-08-02
Posts: 1

Problem compiling to custom folder to build pakages


I would like to create a module for a Slackware based distribution,

First step: I download the source here http://archive.xfce.org/xfce/4.8/fat_tarballs/ and extract.

Then I follow the tutorial here: http://www.xfce.org/download/building.

I choose the following installation location: /root/pkgsbuild/xfce4.8/usr/
So to compile the various packages following the dependency chain above I do:

export PKG_CONFIG_PATH="/root/pkgsbuild/xfce4.8/usr/lib/pkgconfig:$PKG_CONFIG_PATH"
./configure --prefix=/root/pkgsbuild/xfce4.8/usr/ && make && make install

After one hours, I have finished compilation and everything are in /root/pkgsbuild/xfce4.8/usr/
following step is to build the module by compressing /root/pkgsbuild/xfce4.8/ in xfce4.8.txz, to install it. (it extract into /)

Then I deleted /root/pkgsbuild/xfce4.8/.

When I try to launch xfce, I have

"Unable to determine failsafe session. Possible causes : xfconfd isn't running
(D-Bus setup problem), environment variable $XDG_CONFIG_DIRS is set incorrectly
(must include "/root/pkgsbuild/xfce4.8/usr/etc"), or xfce4-sessions is installed incorrectly."

However XFCE work if I restore the /root/pkgsbuild/xfce4.8/usr/ by extracting modules to this prefix but since it create duplicate of modules files, It take too many place in the file system.

What do I have to ./configure --prefix=/root/pkgsbuild/xfce4.8/usr/ && make && make install and make XFCE look at /usr/etc instead of /root/pkgsbuild/xfce4.8/usr/etc please?


Board footer

Powered by FluxBB