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

Jörg Würzer Joerg.Wuerzer@ixos.de
Tue, 27 May 2003 11:22:15 +0200


Hi Dominik,

Works great!!!

Thanks.

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


Hi Jörg

Jörg Würzer wrote:
> It seems, that #WT is exactly the thing I need. On windows it =
compiles
well
> and all the samples compile and run. But I've got only some problems =
in
> compiling the gtk# port. I'm running redhat 8 / mono 0.24 / gtk# 0.9. =
The
> snapshot date of this port is 2003-05-20 and was downloaded from
> www.roboto.ch/swt. Does anyone know some help about this problem. It =
seems
> 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:
/usr/lib/pkgconfig/gthread-2.0.pc

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

Dominik