Le 11 janv. 2005, � 15:48, Joris Gillis a �crit :

Mich�le Garoche wrote:


Le 10 janv. 2005, � 20:29, Joris Gillis a �crit :

Hi,

I'm trying to compile Anjuta 1.2.2. I'm currently installing dependencies, but I've got a problem with pkg-config. When I install a new library it takes like 10 minutes before it is listed in /sw/lib/pkgconfig. Is this normal or am I doing something terrible wrong?

It compiles, but it does not run correctly, at least I did not succeed in making it run correctly, that's why I did not put it in cvs (the maintainer told me he had not the time to maintain it some months ago, he may have now, don't know). As for the compiling, it takes a very long time, because it compiles a bunch of libraries.

Mich�le
<http://micmacfr.homeunix.org


Thanks for the reply, but that wasn't my question. I'm wondering whether it is normal that it takes so long before a package is listed in pkg-config? For example I installed libgnome-2.6 yesterday, and still it is not listed. Do I first have to run a command?
Sorry, as you said you compiled anjuta, I thought you were aware of the pkg-config mechanism.

So now your question:

It is difficult to answer without knowing what you search for. Basically for gnome, there is no gnome.pc, so it is fully normal that you don't see it in /sw/lib/pkgconfig, but there is a libgnome-2.0.pc.

Other packages do not install their pc file in /sw/lib/pkgconfig.

You can perform a search for files with pc extension in the /sw directory to see where they are.

And most importantly, once a package is compiled (if you compile it) or installed, you can see what it will/has install(ed) with:
dpkg -C foo.deb
where foo.deb is the package in /sw/fink/.../binary-darwin-powerpc (... is either for example 10.3/local/main or 10.3/unstable for the 10.3 tree).
For example:
dpkg -c /sw/fink/10.3/unstable/main/binary-darwin-powerpc/gnome/libgnome2- dev_2.6.1.2-8_darwin-powerpc.deb
will tell you where the pc file is installed for gnome2.6

Anyway, this is not of a great interest, the important thing is how to use pkg-config, explained in the man page (though not in your question).

Mich�le
<http://micmacfr.homeunix.org>

Attachment: PGP.sig
Description: =?ISO-8859-1?Q?Ceci_est_une_signature_=E9lectronique_PGP?=



Reply via email to