You are not logged in.

#1 2007-06-07 23:05:21

iggy
Member
From: Germany, L.E. - Leipzig
Registered: 2004-10-17
Posts: 367

PKG_CONFIG_PATH, gedit-plugin-ots

hello!

i have a problem with the PKGBUILD of ots-plugin for gedit.

here you can get more information about ots:

http://debaday.debian.net/2007/06/06/ots-command-line-text-auto-summary/

this is the PKGBUILD:

# Contributor: iggy <iggy.mf@gmail.com>
pkgname=gedit-plugin-ots
pkgver=0.1
pkgrel=1
pkgdesc="OTS: Command line text auto-summary"
url=""
arch=('i686')
depends=('libots')
makedepends=()
conflicts=()

source=(http://www.angelfire.com/linux/dbrody/ots-gedit-$pkgver.tar.gz)

md5sums=()

build() {

 cd $startdir/src/ots-gedit-$pkgver
   PKG_CONFIG_PATH=/opt/e17/lib/pkgconfig:/opt/gnome/lib/pkgconfig:/opt/kde/lib/pkgconfig:/opt/mozilla/lib/pkgconfig:/opt/qt/lib/pkgconfig:/usr/lib/pkgconfg ./configure --prefix=/usr
   make || return 1
   make DESTDIR=$startdir/pkg install
}

this is the error i get:

checking for pkg-config... /usr/bin/pkg-config
checking for gedit-2.4 >= 2.3.2... Package gedit-2.4 was not found in the pkg-config search path. Perhaps you should add the directory containing `gedit-2.4.pc' to the PKG_CONFIG_PATH environment variable No package 'gedit-2.4' found
configure: error: Library requirements (gedit-2.4 >= 2.3.2) not met; consider adjusting the PKG_CONFIG_PATH environment variable if your libraries are in a nonstandard prefix so pkg-config can find them.
make: *** No targets specified and no makefile found.  Stop.
==> ERROR: Build Failed.  Aborting...

has someone an idea?
thx for help,

mfg iggy


sorry for my bad english smile

Offline

#2 2007-06-07 23:59:14

tardo
Member
Registered: 2006-07-15
Posts: 526

Re: PKG_CONFIG_PATH, gedit-plugin-ots

you don't need that PKG_CONFIG_PATH. run configure without it. gedit's pkgconfig file is in /usr/lib/pkgconfig not /usr/lib/pkgconfg

Offline

Board footer

Powered by FluxBB