Voytek Eymont wrote:
> so what is a correct way of getting a back level of something ?
There isn't a correct way. Every time you try to down rev
a different package, a different kind of hammer will be needed
and your system is likely to break in a different way.
> > Also what Linux distro are you using and what release?
>
> Centos
That uses RPM right? Does it have any decent package
management stuff built on top of RPM? Like Yum?
>
> # pkg-config --version
> 0.15.0
That is positively ancient. The current version is 0.23, but
most distros are shipping 0.22 which is already 2 years old.
Pkg-config version 0.16 was released in March of 2005. I've used
pkg-config since the early days and the releases before about
0.21 had all sorts of problems.
> # uname -a
> Linux bilby.sbt.net.au 2.6.9-55.0.9.EL #1 Thu Sep 27 18:10:45 EDT 2007
> i686 i686 i386 GNU/Linux
That also points to an old version. The 2.6.10 kernel was released in
December of 2004.
Your problem has nothing to do with pkg-config nor with PKG_CONFIG_PATH.
Your problem is that you are doing something on an old version of a
Linux distro, that is ill-advised anyway (compiling from source and
down reving a package) without having the required expertise.
Honestly, I think the easiest and most failsafe solution for you would be
to install the latest stable Ubunutu, Debian (or if you insist Fedora) on
a new machine and migrate everything off the Centos machine to the new one.
Erik
--
-----------------------------------------------------------------
Erik de Castro Lopo
-----------------------------------------------------------------
"Windows and MacOS are products, contrived by engineers in the service
of specific companies. Unix, by contrast, is not so much a product as
it is a painstakingly compiled oral history of the hacker subculture."
-- N Stephenson
--
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html