Ich habe Probleme mit der Installation eines Pakets, das von einem anderen Paket abhängt - poppler-glib
. Ich habe poppler-glib
(neueste Version) installiert mit dem Präfix /home/user/local/poppler-glib
mit *.pc
Dateien in /home/user/local/poppler-glib/lib/pkgconfig
vorhanden. Ich habe diesen Weg das PKG_CONFIG_PATH
Variable hinzugefügt (Ich bin auf tcsh
):Anpassen von PKG_CONFIG_PATH funktioniert nicht
setenv PKG_CONFIG_PATH /home/user/local/poppler-glib/lib/pkgconfig
Dennoch, wenn ich versuche, das ./configure
Skript des anderen Pakets auszuführen, erhalte ich folgende Fehlermeldung:
configure: error: Package requirements (poppler-glib >= 0.5.4) were not met:
No package 'poppler-glib' found
Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.
Alternatively, you may set the environment variables POPPLERGLIB_CFLAGS
and POPPLERGLIB_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.
Daher Frage: Wie kann ich die PKG_CONFIG_PATH
Variable anpassen, um es sichtbar zu machen?