Bug 23 - Compile error while building on Linux / XFree86 4.2.1 freetype / freetype2
Summary: Compile error while building on Linux / XFree86 4.2.1 freetype / freetype2
Alias: None
Product: xorg
Classification: Unclassified
Component: Lib/Xft (show other bugs)
Version: unspecified
Hardware: x86 (IA32) Linux (All)
: high major
Assignee: Keith Packard
QA Contact:
Depends on:
Reported: 2003-02-06 20:38 UTC by Noel D. Kendall
Modified: 2011-10-15 17:14 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Description Noel D. Kendall 2003-02-06 20:38:10 UTC
Untar'ed ok, used configure find for fontconfig and Xft2.

Was able to build Xrender fine using xmkmf, make and make isntall. All OK.

Could not compile Xft using xmkmf... the resulting make file had an include
for freetype2 of /freetype2

I got around this by doing two things:
- first, found an old freetype include directory in /usr/X11R6/include (came
with XFree86?) renamed it out of the way to freetype.ORIGINAL
- put link to the freetype include directory in /usr/X11R6/include/freetype2

Then ran xmkmf, and fixed the line in the resulting Makefile that assigned
TOP_X_INCLUDES as blank -> TOP_X_INCLUDES = /usr/X11R6/include

make and make install then ran without error...

now to test the resulting build...

Conclusion... the make file maker cannot handle an installation that had
freetype on it earlier.

Hope I am right, and hope this helps.
Comment 1 Noel D. Kendall 2003-02-06 20:39:39 UTC
Oh, this was with the 2.1 package, FYI... could not choose it from version in zilla.
Comment 2 Bugzilla Administrator 2003-02-06 22:12:48 UTC
I'm hoping to migrate Xft to autoconf in the near future; that will make this
whole mess go away.
Comment 3 Jeremy Huddleston Sequoia 2011-10-01 14:11:26 UTC
Mass update: Close all bugs resolved over one year ago.

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.