Building and Installing Xfce 4.10

Jannis Pohlmann jannis at xfce.org
Tue Nov 8 03:56:31 CET 2011


Hey,

On Tue, 8 Nov 2011 08:45:47 +0600
Baurzhan Muftakhidinov <baurthefirst at gmail.com> wrote:

> There is full instruction at http://www.xfce.org/download/building
> Consider putting Xfce4 packages to /opt/xfce4 to not to mess with
> your existing system.
> export your PREFIX to /opt/xfce4, then go to every package's
> directory as listed by build order,
> configure it by running ./autogen.sh with parameters
> then run make and make install.

I would propose NOT to change the PREFIX and instead install to the
default location (which is /usr/local in your case). Installing
things to /opt will only complicate things for you.

Building Xfce is relatively simple. All core components build
and install to /usr/local with 

  ./autogen.sh --enable-maintainer-mode && make && sudo make install

and need to be compiled in the order mentioned in the section "Xfce's
dependency chain" on http://www.xfce.org/download/building#source.

However, you will need -dev packages for the dependencies listed in the
table below "Package specific dependencies". The Xfce dependencies
(such as libxfce4util) can be ignored as you are building those
yourself. However, you will need things like "libglib2.0-dev" and
"libgtk2.0-dev". The package names are specific to Ubuntu and you'll
probably have to look up the exact names yourself using
apt-cache/aptitude. You will not have to build these "external"
dependencies on your own as they are provided as packages by Ubuntu
(installable via the software center or apt-get/aptitude/synaptic).

When building and installing one component after the other, you may
need to set PKG_CONFIG_PATH in your build shell, as is described in the
"Building" section: http://www.xfce.org/download/building#building.

I hope this helps a bit.

Cheers,
Jannis


More information about the Xfce4-dev mailing list