Fehlermeldung bei Installation von Openbox / Obconf

Software besorgen und anwenden
Post Reply
Message
Author
spiros99
Posts: 12
Joined: 09. Apr 2005 14:32

Fehlermeldung bei Installation von Openbox / Obconf

#1 Post by spiros99 »

hallo zusammen, bei der Installation von obconf - dem Konfiguationstool von Openbox,
erhalte ich nachdem ich ein ./configure mache, folgende Fehlermeldung:

> checking for pkg-config.../usr/bin/pkg-config
> checking for obrender3.0 obparser-3.0...
> Package obrender-3.0 was not found in the pkg-config search path.
> Perhaps you should add the directory containing `obrender-3.0.pc'
> to the PKG_CONFIG_PATH environment variable
> No package 'obrender-3.0' found

Slackware 10.1
weiß jemand weiter?

Wikinator
Posts: 16
Joined: 26. May 2005 19:49
Location: Freiburg im Breisgau
Contact:

#2 Post by Wikinator »

ich glaube, du musst die PKG_CONFIG_PATH-Variable auf den Pfad zu 'obrender-3.0' setzen.
Computer sind die logische Weiterentwicklung des Menschen — Intelligenz ohne Moral

spiros99
Posts: 12
Joined: 09. Apr 2005 14:32

#3 Post by spiros99 »

ja, aber wie mache ich das?

klopskuchen
prolinux-forum-admin
Posts: 1444
Joined: 26. Jun 2004 21:18
Contact:

#4 Post by klopskuchen »

Setze den Pfad zu obrender-3.0.pc als Umgebungsvariable. Vor dem Aufruf von ./configure:

Code: Select all

spiros99@linux#export PKG_CONFIG_PATH=$PKG_CONFIG_PATH"/Pfad/zu/obrender"
Überprüfen:
echo $PKG_CONFIG_PATH

Dieser exportierte Pfad gilt nur für die aktuelle shell und deren subshells. Wenn du die shell also
beendest ist auch die Variable weg.
Am einfachsten ist es sämtliche irgendwann anfallenden *.pc-Pakete nach /usr/lib/pkgconfig/ zu installieren.
In diesem Verzeichnis sucht pkg-config "von Haus aus", auch ohne gesetzte Umgebungsvariable.

MfG, Klopskuchen
When all else fails, read the instructions .

spiros99
Posts: 12
Joined: 09. Apr 2005 14:32

#5 Post by spiros99 »

Sehr gut, vielen Dank :D

Wikinator
Posts: 16
Joined: 26. May 2005 19:49
Location: Freiburg im Breisgau
Contact:

#6 Post by Wikinator »

du kannst die Variable, glaube ich, auch in ~/.bashrc speichern, sodas sie nicht nur temporär ist.
Computer sind die logische Weiterentwicklung des Menschen — Intelligenz ohne Moral

Post Reply