Linux 15.070 Themen, 107.540 Beiträge

pango und fontconfig

Frednerk / 7 Antworten / Flachansicht Nickles

Bei der Compilierung (./configure) von
pango kommt am Ende diese Meldung:

creating libtool
checking for some Win32 platform... no
checking for native Win32... no
checking for perl5... perl5
checking for X... no
configure: WARNING: X development libraries not found
checking for freetype-config... no
checking freetype/internal/tterrors.h usability... no
checking freetype/internal/tterrors.h presence... no
checking for freetype/internal/tterrors.h... no
checking for FT_Get_First_Char... no
checking for pkg-config... /usr/local/bin/pkg-config
checking for fontconfig >= 1.0.1... Package fontconfig was not found in the pkg-config search path.
Perhaps you should add the directory containing `fontconfig.pc\'
to the PKG_CONFIG_PATH environment variable
No package \'fontconfig\' found
checking for xft >= 2.0.0... Package fontconfig was not found in the pkg-config search path.
Perhaps you should add the directory containing `fontconfig.pc\'
to the PKG_CONFIG_PATH environment variable
Package \'fontconfig\', required by \'Xft\', not found
configure: error: *** Didn\'t find any of FreeType, X11, or Win32.
*** Must have at least one backend to build Pango.

Also installierte ich:

libXft2-2.1-2.1mdk.i586.rpm
libfontconfig1-2.1-4.1mdk.i586.rpm
freetype2-2.1.3-5.1mdk.i586.rpm
fontconfig-2.1-4.1mdk.i586.rpm
xft-2.1.0-i386-1.tgz

Alles ohne Erfolg :(

fontconfig.pc gibt es anscheined nirgens auf der Platte
und wird auch nicht von einer der oben gelisteten Pakete
installiert.

irgendeine Idee ...?


F-)

bei Antwort benachrichtigen
polytaen Klaus_T „Entweder den PATH umschreiben, dass zuerst in /usr/local gesucht wird oder beim...“
Optionen

Hi Klaus,
schön dass Du wieder da bist ;)

das mit ./configure --help hatte ich ihm schon gesagt, allerdings kann ich dort keinen Eintrag für pkg finden :( (Er hats weiter unten gepostet).

Was hälst Du davon,
$LD_LIBRARY_PATH, /etc/ld.so.conf oder (das einfachste) mal
$PKG_CONFIG_PATH zu setzten? Sollte doch gehen nach der Fehlermeldung, die er erhält.

Also:
export PKG_CONFIG_PATH=/Pfad_zur_neuen_pkg (bash, nicht csh!)

sollte doch gehen, oder?

Gruss
poly

-      .---.        .----------     /     \  __  /     ------    / /     \(  )/    -----   //////   ' \/ `   ---  //// / // :    : --- // /   /  /`    '--//          //..\\       ====MM====MM====           '//||\\`
bei Antwort benachrichtigen