Re: Problem including glib.h



Rick Jones ha scritto lo scorso 20/03/2006 19:20:
>> Here is the answer to your question; what does a
>>
>> $ ls /usr/include/glib-2.0
>>
>> command show? Having glib installed on your system does not necessarily
>> mean that you have all includes and static libraries; for example - on a
>> Debian system - you have to:
>>
>> # apt-get install libglib-2.0
>>
>> in order to have glib-2.0 runtimes (i.e. .so files) and
>>
>> # apt-get install libglib-2.0-dev
>>
>> in order to have all development sources (.h, .a and .la).
> 
> 
> That raises an interesting question - in which of those Debian packages
> is the pck-config stuff?  My first guess would be the -dev and to hope
> that it wasn't in the runtime.
> 
You are quite right; pkg-config has its own package with a reverse
dipendance only to libglib2.0-dev (i.e. it is mandatory for development
version but _not_ for runtime).



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]