Linux HAM/Amateur Radio development
 help / color / mirror / Atom feed
* wxGTK-2.4.0
@ 2003-01-14  9:50 Wilbert Knol
  2003-01-14 12:12 ` wxGTK-2.4.0 Aleksandar Ilic
  2003-01-14 12:19 ` wxGTK-2.4.0 Tomi Manninen
  0 siblings, 2 replies; 8+ messages in thread
From: Wilbert Knol @ 2003-01-14  9:50 UTC (permalink / raw)
  To: linux-hams


Thanks for reading this. 

I am trying to build LinWSJT.
For this to work, I must build wxGTK-2.4.0 (the wxWindows library) 
from sources, which causes me some grief.

The ./configure script fails with the following message:

checking for GTK+ version...
checking for pkg-config... /usr/bin/pkg-config
checking for GTK+ - version >= 2.0.0... no
*** Could not run GTK+ test program, checking why...
*** The test program failed to compile or link. See the file config.log for the
*** exact error that occured. This usually means GTK+ is incorrectly installed.
configure: error:


The config.log shows this:

configure:12357: checking for GTK+ - version >= 2.0.0
configure:12511: gcc -o conftest    -D_FILE_OFFSET_BITS=64 
-D_LARGE_FILES  conftest.c   1>&5
configure:12503:21: gtk/gtk.h: No such file or directory


In fact, I have both GTK 1.2 _and_ 2.0 installed, including the 
development files. The header files are there, but they are under 

 /usr/include/gtk-1.2/gtk

and

 /usr/include/gtk-2.0/gtk

respectively. The compiler looks for:

 /usr/include/gtk

and can't find them.


I can fix this with a bunch of symlinks... the ./configure 
script then fails to find glib.h, or another include.

I am sure I must be doing something wrong. Is there a way to 
specify paths to header files (like ld.so.conf)?

Any pointers appreciated.


Wilbert, ZL2BSJ

PS: GTK 1.2/2 were installed from RPMs, ex-distro.




^ permalink raw reply	[flat|nested] 8+ messages in thread
* Re: wxGTK-2.4.0
@ 2003-01-14 21:04 Jonathan Naylor
  0 siblings, 0 replies; 8+ messages in thread
From: Jonathan Naylor @ 2003-01-14 21:04 UTC (permalink / raw)
  To: Linux Hams

Hi Wilbert

I too am having the same fun !

My development is done with wxGTK-2.3.3 and it is perfectly happy with a 
standard installation of GTK+ 1.2.10, but with the latest wxGTK you 
need this pkg-config. So you can try downloading and building 
pkg-config and seeing what happens, they claim that wxGTK-2.4.0 is 
compatible with that version. Pkg-config is at 
http://www.freedesktop.org/software/pkgconfig/ once I have installed 
it, I found that it had identified my GTK+ 1.2.10 and had included it 
in its list of packages.

I would not recommend trying LinWSJT (now at 0.4.2 BTW) with wxGTK 2.4.0 
yet as there are some incompatibilities :-( Nothing too serious, just a 
few hours of sorting some arguments out. I have gone the whole way and 
installed GTK+ 2.2.0 and the rest of the libraries, something I 
wouldn't recommend unless you have a few hours of free time. Try and 
get hold of wxGTK 2.3.3 and use that to build LinWSJT. I will release a 
wxGTK 2.4.0 compatible LinWSJT soon.

I have to say that I am not too happy in the way that they have moved to 
pkg-config, I though the existing framework of gtk-config was perfectly 
adequate.

Such is life.

Jonathan  HB9DRD/G4KLX


^ permalink raw reply	[flat|nested] 8+ messages in thread
* Re: wxGTK-2.4.0
@ 2003-01-15 21:12 Jonathan Naylor
  0 siblings, 0 replies; 8+ messages in thread
From: Jonathan Naylor @ 2003-01-15 21:12 UTC (permalink / raw)
  To: Linux Hams

Hi again

I've had a very enjoyable day building different version of wxGTK-2.4.0 
and building LinWSJT and finding what does and doesn't work with it !

LinWSJT does work with wxGTK-2.4.0 but not with all build types:

It will work with wxGTK-2.4.0 built with GTK+ 1.x.y (in my case 1.2.10), 
this is achieved by using "./configure --with-gtk" for wxGTK.

It will sort of work with wxGTK-2.4.0 and GTK+ 2 (in my case 2.2.0) but 
without Unicode support by "./configure --with-gtk --enable-gtk2". When 
I means "sort of works", I mean that the numbers on the spectrum graph 
(the square graph on the right) do not appear, but otherwise FSK441 
operates correctly, JT44 is perfectly OK.

The currently released LinWSJT will not build as Unicode, the next 
release is Unicode compliant but suffers from the same problems as 
above. I think this is a bug in wsGTK-2.4.0 and I will report it to the 
bug tracking database. If I build wxGTK for debugging I get an 
assertion failure when dealing with Pango.

So I recommend using wxGTK-2.4.0 with GTK+ 1.x.y and you should be fine, 
of course you may have to install pkg-config to get it to build in the 
first place.

Jonathan  HB9DRD/G4KLX


^ permalink raw reply	[flat|nested] 8+ messages in thread
* Re: wxGTK-2.4.0
@ 2003-01-23 12:05 Jonathan Naylor
  0 siblings, 0 replies; 8+ messages in thread
From: Jonathan Naylor @ 2003-01-23 12:05 UTC (permalink / raw)
  To: Linux Hams

Hi Folks

I can confirm that there is a problem in wxGTK 2.4.0 and GTK2. Some code 
hasn't been implemented yet and so I'm in the process of adding it to 
wxGTK and sending the patch off to the mainrainers. This should mean 
that it'll be fine with wxGTK 2.4.1 or whatever. I may include the 
patch in the next release of LinWSJT for those who feel brave.

Jonathan  HB9DRD/G4KLX


^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2003-01-23 12:05 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-01-14  9:50 wxGTK-2.4.0 Wilbert Knol
2003-01-14 12:12 ` wxGTK-2.4.0 Aleksandar Ilic
2003-01-14 12:19 ` wxGTK-2.4.0 Tomi Manninen
2003-01-15  7:52   ` wxGTK-2.4.0 (2) Wilbert Knol
2003-01-15 10:05     ` Tomi Manninen OH2BNS
  -- strict thread matches above, loose matches on Subject: below --
2003-01-14 21:04 wxGTK-2.4.0 Jonathan Naylor
2003-01-15 21:12 wxGTK-2.4.0 Jonathan Naylor
2003-01-23 12:05 wxGTK-2.4.0 Jonathan Naylor

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox