AW: [Mono-list] Building a layer beetween buisiness logic and GUI

Jörg Würzer
Tue, 27 May 2003 11:22:15 +0200

Hi Dominik,

Works great!!!


-----Ursprüngliche Nachricht-----
Von: Dominik Fretz []
Gesendet: Dienstag, 27. Mai 2003 11:07
An: Jörg Würzer
Cc: ''
Betreff: Re: [Mono-list] Building a layer beetween buisiness logic and

Hi Jörg

Jörg Würzer wrote:
> It seems, that #WT is exactly the thing I need. On windows it =
> and all the samples compile and run. But I've got only some problems =
> compiling the gtk# port. I'm running redhat 8 / mono 0.24 / gtk# 0.9. =
> snapshot date of this port is 2003-05-20 and was downloaded from
> Does anyone know some help about this problem. It =
> there is a wrong option somewhere in my makefile. The problem is, =
that I'm
> not a command line guru at the moment ;-)

First: the GTK part of #WT didn't need GTK#.
We ported the JAVA sources over to c#, and since JAVA calls the native 
GTK functions, we do so too.

the problem is that there is something wrong with the pkg-config file 
for the gthread package on Redhat and Mandrake.

I answerd this problem one time before in a e-mail so the following 
explanaition is only copy & paste but shoud be suitable for you:


the problem is that the pkg-config file for the gthread packgage has a error

you find the file in:

at the bottom, you find these two lines:
Libs: -L${libdir} -lgthread-2.0 -pthread
Cflags: -pthread

you have to change them to:
Libs: -L${libdir} -lgthread-2.0 -lpthread
Cflags: -Lpthread

(diffrences are the 'l' in the first line and the 'L' in the second)

after saving the file you should be able to build it.

Hope this help