In article <bfs9hs$sae$5ngspool-d02.news.aol.com>, Tamer Higazi wrote:Well, ./configure does not solve dependencies, it only checks for> Hi!
> I got problems installing programs sometimes because the packages i run
> with "./configure" place their libraries in a different folder as these
> which are registert in ther pkg-config variable.
> packages like "atk", "bonobo", "glibc"...... store their libraries in
> the /usr/local/lib dierectory instead (as desired) in the "/usr/lib"
> directory what causes that packages which have them in their depencies
> couldn't be found.
> My question to you all:
> 1) where do i find, and how do i set up the pkg-config variable to add
> their new directories?
> if it's not possible...
> 2) What options do i have to use at the "./configure" command to solve
> For any help
> Tamer Higazi
installed components, but if you want everything in the same dir then
run ./configure --prefix=/usr and (atk,bonobo etc) libraries end up in
or ./configure --prefix=/var/gnome and libs will be in /var/gnome/lib.
Even if dirs don't exist they'll be created.
RE:pkg-config variable: if you're using bash or sh put
PKG_CONFIG_PATH=/usr/lib/pkgconfig && export PKG_CONFIG_PATH in .bash_profile
in you home dir, logout and log in, type
If you see whatever you set it to, then you're OK.
Otherwise, try to put it in .bashrc and chmod 0700 .bashrc in your home dir,
It depends on distro which of them will be read on login. I'll leave to you
to figure out.
If you want to set it up temporary just type on command line :
PKG_CONFIG_PATH=... && export PKG...
source .bash_profile if you've put it in this file
Make sure you are in home dir.