! Please note that this is a snapshot of our old Bugzilla server, which is read only since May 29, 2020. Please go to gitlab.xfce.org for our new server !
"header files are required" error text could use some love


Description 1389f1a2 2016-12-02 05:19:39 CET
When I run the configure script, it gives an error:
X Window system libraries and header files are required

This error text needs improved: I had to look at the source for the configure script to figure out what caused this error (as opposed to other errors which told me which package to install to fix them: great!), and sure enough, it looks like I don't have an X11.h file anywhere in my includes dirs.

Now what?  This error should be written in a more actionable form that ends with "you need to enable kernel module ***" or "follow instructions at sn.url/***" or something else along those lines.

I would also split out the check for tick marks (') in the directories to give a different error than the error given if X11.h isn't found. (just another weird thing I found while reading the source)

Linux Mint Sarah XFCE, Gateway LT4004u (64 bit), Kernel 4.4.0-21-generic
Comment 1 Skunnyk editbugs 2017-06-02 22:23:42 CEST
It's a xfce4-dev-tools message. See https://git.xfce.org/xfce/xfce4-dev-tools/tree/m4macros/xdt-depends.m4#n245
Feel free to provide a patch to enhance the error message. Please note that every distribution has it own package name, so description need to be generic.

Bug #13169

Reported by:
Reported on: 2016-12-02
Last modified on: 2018-01-03


Xfce Bug Triage
CC List:
2 users



Additional information