Xfce Forum

Sub domains
 

You are not logged in.

#1 2021-06-06 17:04:57

dirkduplooy
Member
Registered: 2021-06-06
Posts: 2

Thunar 4.17.3 Compile

Hi there, while compiling the latest version of Thunar 4.17.3 from the tarball: https://gitlab.xfce.org/xfce/thunar, I get this error at the end of the compilation:

checking for X... no

configure: error: X Window system libraries and header files are required

Can anybody help me on what specific libraries/packages I should install without breaking my XUbuntu 21.04?

It passed on all the other dependencies

Offline

#2 2021-06-07 01:08:44

ToZ
Moderator
From: Canada
Registered: 2011-06-02
Posts: 7,748

Re: Thunar 4.17.3 Compile

Hello and welcome.

Looks like you are missing the X development libraries. The best way to get the necessary libraries on an ubuntu system is to first install "build-essential" and then the build dependencies for the package you are trying to rebuild:

sudo apt-get build-dep thunar

Also, with debian-based distros, you need to specify the correct library location. Use something like:

./configure --prefix=/usr --libdir=/lib/$(uname -m)-linux-gnu ....

Note: that the official ubuntu thunar build also uses the following configure parameters:
--includedir=\${prefix}/include
--mandir=\${prefix}/share/man
--infodir=\${prefix}/share/info
--sysconfdir=/etc
--localstatedir=/var
--disable-option-checking
--disable-silent-rules
--runstatedir=/run
--disable-maintainer-mode
--disable-dependency-tracking
--docdir=\${prefix}/share/doc/thunar-data
--enable-apr-plugin
--enable-exif
--enable-gtk-doc
--enable-pcre
--enable-sbr-plugin
--enable-tpa-plugin
--enable-uca-plugin
--enable-introspection=yes

Offline

#3 2021-06-07 09:49:48

dirkduplooy
Member
Registered: 2021-06-06
Posts: 2

Re: Thunar 4.17.3 Compile

sudo apt install intltool
sudo apt-get build-dep thunar
sudo apt install xfce4-dev-tools
Enable Source code in tab Ubuntu Software in Software & Updates

sudo apt-get build-dep thunar

Download the TarBall for the latest build here: https://gitlab.xfce.org/xfce/thunar

Follow the build steps on the above page

If successful, REBOOT, with reboot

Enjoy Thunar on XUBUNTU 21.04 with splitview

Thank ToZ and if did get something wrong here

Offline

Board footer

Powered by FluxBB