! 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 !
Some parts of Xfce won't build if there is no /usr/include/X11 link
Status:
RESOLVED: WONTFIX
Product:
Xfce-mcs
Component:
General

Comments

Description William Poetra Yoga Hadisoeseno 2006-06-25 02:23:58 CEST
User-Agent:       Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.0.4) Gecko/20060508 Firefox/1.5.0.4
Build Identifier: 

If there is no /usr/include/X11 link, some packages won't build, mostly because some files can't find X11/Xlib.h. The packages and the problematic files are:
- libxfcegui4: xfce4-modules/mime-icons/Makefile.am
- xfce-mcs-plugins: plugins/gtk_common/Makefile.am
- xffm: libs/Makefile.am
- xfprint: common/Makefile.am
The solution is:
- libxfcegui4: add @LIBX11_CFLAGS@ to common_FLAGS
- xfce-mcs-plugins: add @LIBX11_CFLAGS@ to libgtkcommon_la_CFLAGS
- xffm: add @LIBX11_CFLAGS@ to common_FLAGS
- xfprint: add @LIBXFCEGUI4_CFLAGS@ to libxfprint_la_CFLAGS

This bug is found in Xfce-4.2.3.2, but today I checked the trunk on the svn web viewer, and it's still there.

Reproducible: Always

Steps to Reproduce:
1. Download sources
2. Remove /usr/include/X11
3. Compile

Actual Results:  
Configure finishes without errors, but make quits because of an error (X11/Xlib.h: No such file...)

Expected Results:  
It should compile correctly.
Comment 1 Jean-François Wauthy editbugs 2006-06-25 08:47:13 CEST
xfprint has been fixed with revision 22197
Comment 2 William Poetra Yoga Hadisoeseno 2006-06-26 12:24:12 CEST
Uh, it seems that the only unfixed file is the xfce-mcs-plugins makefile right now...
Comment 3 Jasper Huijsmans editbugs 2006-12-09 11:20:56 CET
As far as I can see this has been fixed in SVN. 
Comment 4 Nick Schermer editbugs 2011-05-23 09:27:44 CEST
Close bugs in products that are not active anymore.

Bug #1954

Reported by:
William Poetra Yoga Hadisoeseno
Reported on: 2006-06-25
Last modified on: 2011-05-23

People

Assignee:
Xfce Bug Triage
CC List:
0 users

Version

Attachments

Additional information