Monday, May 07, 2007
"configure" .pc files
"configure" might be a very good utility used while building from source code in many open-source softwares. But some of the errors it generates just leave you baffled if you don't know what it is. For instance when the script tells that so-n-so package is not installed, but you can see from your package manager that it IS installed, you wonder what might be wrong. On redhat systems the solution is to install -devel RPM of the package. This is because the configure script runs "/usr/bin/pkg-config --exists --print-errors " command. The pkg-config command will know of only those packages that have registered their ".pc" files with it. On redhat systems these .pc files come with -devel versions of various packages. So that solves the problem.
Subscribe to:
Posts (Atom)