Some pkg-config recomand

Enrico Weigelt weigelt at
Sun Apr 6 12:24:48 PDT 2008

* K.C.Leung ( ?o ) <z4423569 at> schrieb:
> I've install the package for the prefix /usr and /opt/my_suite. Their 
> version is 1.0.0 and 1.0.1. Suppose the $PKG_CONFIG_PATH is set correctly.
> pkg-config --modversion "$my_package"
> It shows "1.0.0". Now, I suggest that the pkg-config can go though all the 
> $PKG_CONFIG_PATH. Then compare the version and show the lastest one. 

Your setup seems unnecessarily complex. Dependency tracking gets
really ugly this way.

Take my advise: *never every* even think about MVCC at build time.
Use an clean sysroot environment instead.

 Enrico Weigelt    ==   metux IT service -
 Please visit the OpenSource QM Taskforce:
 Patches / Fixes for a lot dozens of packages in dozens of versions:

More information about the pkg-config mailing list