Re: [gnet-devel] Compiling Gnet



On Tue, 2008-06-24 at 10:24 -0700, n duarte wrote:

Hi,

> "checking for GTHREAD_CFLAGS... 
> checking for GTHREAD_LIBS... 
> configure: error: The impossible happened"
> 
> What is worse is that I cannot seem to find what this error even
> means. Hopefully the solution to the problem is something simple I
> just have not had the luck to stumble upon as of yet.

It means there's something weird going on with your installation.
GThread comes as part of GLib, so if GLib is installed, GThread should
also be there. Basically this should work:

 pkg-config.exe --cflags --libs glib-2.0

and

 pkg-config.exe --cflags --libs gthread-2.0

and there should be a glib-2.0.pc and gthread-2.0.pc file somewhere (in
$prefix/lib/pkgconfig usually).

I have no idea why you don't have that. (Maybe GLib has been built with
the threads stuff disabled; I thought that wasn't possible any more
though).

Cheers
 -Tim




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