PDA

View Full Version : [kubuntu] ./configure scripts and environment variables



bjdodo
July 19th, 2008, 10:41 PM
Hello

I am trying to build an application on the latest Kubuntu with KDE 4.0 (but I think the problem is not KDE specific). I want to pass in some variables for the ./configure script of the application. I have a required library at a strange location; one of the suggested methods to overcome this is to declare the variables as environment variables, like this:

export SPEEX_CFLAGS=" -I$PWD/../speex/include -I../speex/include/speex"
export SPEEX_LIBS="$PWD/../speex/libspeex/libspeex.la"
./configure

This method works correctly on e.g. Zenwalk, but not on Kubuntu.

Has anyone experienced the same? If yes, how would you do it on Kubuntu?

Thans for all answers!!!

Jozsi

bjdodo
July 20th, 2008, 07:22 PM
Hi

I have found the answer:

sudo apt-get install pkg-config

Jozsi

:guitar: