View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0000725aMuleMiscpublic2005-12-13 14:422005-12-15 06:38
Assigned ToKry 
PlatformOSOS Version
Product VersionSVN 
Target VersionFixed in VersionSVN 
Summary0000725: gtk2/freebsd6: build fails; amule-gui.cpp missing header file X11/Xlib.h
DescriptionAfter updates to the build system sometime between the nov-23 and nov-24 snapshots, the build fails in amule-gui.cpp with

amule-gui.cpp:31:53: X11/Xlib.h: No such file or directory
amule-gui.cpp: In member function `virtual int CamuleGuiBase::InitGui(bool, wxString&)':
amule-gui.cpp:185: error: `XParseGeometry' undeclared (first use this function)

This is because of a missing -I/usr/include/X11R6.
The GTK_CFLAGS variable used to include this, but is now gone.

wx-config for 2.6 (as opposed to 2.4) does not list -I/usr/X11R6/include, and so the WX_C**FLAGS variables don't contain it either.

At least that's the case here. I'm using the FreeBSD port wxgtk26-unicode. This is wxGTK version 2.6.2 + the intl fix. The config is called gtk2-unicode-release-2.6.
Additional InformationTo compare

% grep "-X11R6/include " 11_23_2005_CVS/Compilation.flags
GTK_CFLAGS = -DXTHREADS -DXUSE_MTSAFE_API -I/usr/local/include/atk-1.0 -I/usr/local/include/cairo -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/X11R6/include/gtk-2.0 -I/usr/X11R6/lib/gtk-2.0/include -I/usr/X11R6/include/pango-1.0 -I/usr/X11R6/include -I/usr/local/include/freetype2 -I/usr/local/include

% grep "X11R6/include " 11_24_2005_CVS/Compilation.flags


% wxgtk2u-2.6-config --cppflags
-I/usr/X11R6/include/wx-2.6/gtk2-unicode-release-2.6 -I/usr/X11R6/include/wx-2.6 -DGTK_NO_CHECK_CASTS -D__WXGTK__ -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -DNO_GCC_PRAGMA
TagsNo tags attached.
Fixed in Revision
Operating System
Attached Files

- Relationships

-  Notes
Kry (manager)
2005-12-15 06:38

No more X11 usage. Hence, fixed.

Revision 6083 (tarball 15/12)

- Issue History
Date Modified Username Field Change
2005-12-13 14:42 lao New Issue
2005-12-15 06:37 Kry Status new => assigned
2005-12-15 06:37 Kry Assigned To => Kry
2005-12-15 06:38 Kry Status assigned => resolved
2005-12-15 06:38 Kry Fixed in Version => CVS
2005-12-15 06:38 Kry Resolution open => fixed
2005-12-15 06:38 Kry Note Added: 0001681

Copyright © 2000 - 2024 MantisBT Team
Powered by Mantis Bugtracker