wxGTK libs

Andy Waddington on Cave Surveying surveys@pennine.demon.co.uk
Mon, 21 Jul 2003 15:53:40 +0100


I decided I ought to have a recent (ie. more recent than 0.93 for RISC OS)
version of Survex. So I went to the downloads page and followed instructions
for RPM-based Linux. The links on that page to wxGTK and wxGTK-devel
rpms on sourceforge seem to have some sort of problem - both files came
down to me as about 14k, and apparently broken. These same packages
from other sources (Mandrake mirrors or FreshRPMS) are both over 500k.

But those rpms form other sources seemed to install OK, so I then moved
on to

rpm --recompile Survex-1.0.25-1.src.rpm

this trundled along quite happily for several screens-full of output, then
stopped at:

g++  -g -O2   -o aven  aven-aven.o aven-img.o aven-message.o aven-filename.o
aven-osdepend.o aven-gfxcore.o aven-mainfrm.o aven-matrix4.o aven-quaternion.o
aven-vector3.o aven-aboutdlg.o aven-useful.o aven-cmdline.o aven-z_getopt.o
aven-getopt1.o aven-namecmp.o aven-aventreectrl.o -pthread -lwx_gtk-2.4
-lm /usr/bin/ld: cannot find -lwx_gtk-2.4
collect2: ld returned 1 exit status
make[3]: *** [aven] Error 1
make[3]: Leaving directory `/usr/src/RPM/BUILD/survex-1.0.25/src'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/usr/src/RPM/BUILD/survex-1.0.25/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/src/RPM/BUILD/survex-1.0.25'
make: *** [all] Error 2
error: Bad exit status from /var/tmp/rpm-tmp.14848 (%build)


RPM build errors:
    Bad exit status from /var/tmp/rpm-tmp.14848 (%build)

which looked as thought the RPMs I got might have put something in an
unexpected location. But when I tried

find / -name wx_gtk*

Nothing was found. I expected that wxGTK would have installed a library
somewhere, but

rpm -q wxGTK -l

/usr/share/doc/wxGTK-2.4.0
/usr/share/doc/wxGTK-2.4.0/CHANGES-GTK.txt
/usr/share/doc/wxGTK-2.4.0/CHANGES.txt
/usr/share/doc/wxGTK-2.4.0/COPYING.LIB
/usr/share/doc/wxGTK-2.4.0/INSTALL.txt
/usr/share/doc/wxGTK-2.4.0/LICENCE.txt
/usr/share/doc/wxGTK-2.4.0/README-GTK.txt
/usr/share/doc/wxGTK-2.4.0/README.txt
/usr/share/doc/wxGTK-2.4.0/TODO.txt
/usr/share/locale/cs/LC_MESSAGES/wxstd.mo
/usr/share/locale/da/LC_MESSAGES/wxstd.mo
/usr/share/locale/de/LC_MESSAGES/wxstd.mo
/usr/share/locale/es/LC_MESSAGES/wxstd.mo
/usr/share/locale/fi/LC_MESSAGES/wxstd.mo
/usr/share/locale/fr/LC_MESSAGES/wxstd.mo
/usr/share/locale/hu/LC_MESSAGES/wxstd.mo
/usr/share/locale/id/LC_MESSAGES/wxstd.mo
/usr/share/locale/it/LC_MESSAGES/wxstd.mo
/usr/share/locale/nl/LC_MESSAGES/wxstd.mo
/usr/share/locale/pl/LC_MESSAGES/wxstd.mo
/usr/share/locale/ru/LC_MESSAGES/wxstd.mo
/usr/share/locale/sl/LC_MESSAGES/wxstd.mo
/usr/share/locale/sv/LC_MESSAGES/wxstd.mo
/usr/share/locale/tr/LC_MESSAGES/wxstd.mo
/usr/share/locale/zh/LC_MESSAGES/wxstd.mo
/usr/share/wx/2.4
/usr/share/wx/2.4/afm
/usr/share/wx/2.4/afm/Cour.afm
/usr/share/wx/2.4/afm/CourBo.afm
/usr/share/wx/2.4/afm/CourBoO.afm
/usr/share/wx/2.4/afm/CourO.afm
/usr/share/wx/2.4/afm/Helv.afm
/usr/share/wx/2.4/afm/HelvBo.afm
/usr/share/wx/2.4/afm/HelvBoO.afm
/usr/share/wx/2.4/afm/HelvO.afm
/usr/share/wx/2.4/afm/TimesBo.afm
/usr/share/wx/2.4/afm/TimesBoO.afm
/usr/share/wx/2.4/afm/TimesO.afm
/usr/share/wx/2.4/afm/TimesRo.afm
/usr/share/wx/2.4/afm/Zapf.afm
/usr/share/wx/2.4/gs_afm
/usr/share/wx/2.4/gs_afm/Cour.afm
/usr/share/wx/2.4/gs_afm/CourBo.afm
/usr/share/wx/2.4/gs_afm/CourBoO.afm
/usr/share/wx/2.4/gs_afm/CourO.afm
/usr/share/wx/2.4/gs_afm/Helv.afm
/usr/share/wx/2.4/gs_afm/HelvBo.afm
/usr/share/wx/2.4/gs_afm/HelvBoO.afm
/usr/share/wx/2.4/gs_afm/HelvO.afm
/usr/share/wx/2.4/gs_afm/TimesBo.afm
/usr/share/wx/2.4/gs_afm/TimesBoO.afm
/usr/share/wx/2.4/gs_afm/TimesO.afm
/usr/share/wx/2.4/gs_afm/TimesRo.afm
/usr/share/wx/2.4/gs_afm/Zapf.afm

that doesn't seem to include a library that we could link to (I won't
copy the much longer list of stuff that wxGTK installed - suffice it
to say that there didn't seem to be anything relevant...). Should
there be a link to "known problems" that I could consult ? Or is this
something unknown ? I'm using Mandrake 9.0 (which doesn't have
wxWindows stuff on two the CDs of the download edition, nor on
Mandrake sites). It occurs to me that I've never managed to get a
version of Survex working on PC hardware - I usually get to some
sort of problem like this and just go back to using RISC OS - but
my RISC OS machine can't live for ever...

Andy