Hi,
meanwhile I tried to install libxft. I tried to link it with the current version (2.10.2) of fontconfig using the following assignments:
Code:
export LDFLAGS="-L$PRJ/gtk+/fontconfig/lib"
export CPPFLAGS="-I$PRJ/gtk+/fontconfig/include/fontconfig"
(with $PRJ containing the path to my project-diretory residing under my home directory)
Nevertheless I get the following error messages after issueing the command line ./configure --prefix="$PRJ/gtk+/libxft":
Code:
Package xorg-macros was not found in the pkg-config search path.
Perhaps you should add the directory containing `xorg-macros.pc'
to the PKG_CONFIG_PATH environment variable
No package 'xorg-macros' found
checking for XRENDER... yes
checking for FREETYPE... yes
checking for FONTCONFIG... configure: error: Package requirements (fontconfig >= 2.5.92) were not met:
Requested 'fontconfig >= 2.5.92' but version of Fontconfig is 2.4.1
Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.
Alternatively, you may set the environment variables FONTCONFIG_CFLAGS
and FONTCONFIG_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.
I guess that the first error message (concerning the xorg-macros package) aims specifically at the corresponding m4-file (xorg-macros.m4). I found a copy of this file installed on the machine at hand, but I do not know how to tell configure where to find it (the file xorg-macros.pc does not exist on the machine). Any suggestions?
From my point of view the settings for LDFLAGS and CPPFLAGS are correct, but configure does not know about the version pointed to by the environment. Is it possible that there is a connection between the "missing" macros file and the problem with the fontconfig version? Or am I missing out something else?
Cheers
Bloehdian