You are not logged in.
Pages: 1
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
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
Please remember to mark your thread [SOLVED] to make it easier for others to find
--- How To Ask For Help | FAQ | Developer Wiki | Community | Contribute ---
Offline
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
Pages: 1
[ Generated in 0.013 seconds, 8 queries executed - Memory usage: 524.31 KiB (Peak: 525.16 KiB) ]