-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi there,
A few days ago I compiled wxRuby on Ubuntu 10.04 Lucid Lynx and came
over some issues not mentioned at
http://wxruby.rubyforge.org/wiki/wiki.pl?BuildingOnTopOfLinuxDistroPackages
First and most importantly, even though I though I had all necessary
packages installed, I was presented many errors about ld not finding
lgtk-x11-2.0 and other important libs as pango. I figured out that for
whatever reason, these files didn’t exist on my Ubuntu installation:
/usr/lib/libgtk-x11-2.0.so
/usr/lib/libgdk-x11-2.0.so
/usr/lib/libatk-1.0.so
/usr/lib/libgdk_pixbuf-2.0.so
/usr/lib/libpangoxft-1.0.so
/usr/lib/libpangox-1.0.so
/usr/lib/libpango-1.0.so
Searching for similar named files turned up that I had files ending in
“.so.0” in the /usr/lib/ directory. I’m not sure if I was correct in
doing so, but I just symlinked them to the needed file names:
/usr/lib/libgtk-x11-2.0.so.0 → /usr/lib/libgtk-x11-2.0.so
/usr/lib/libgdk-x11-2.0.so.0 → /usr/lib/libgdk-x11-2.0.so
/usr/lib/libatk-1.0.so.0 → /usr/lib/libatk-1.0.so
/usr/lib/libgdk_pixbuf-2.0.so.0 → /usr/lib/libgdk_pixbuf-2.0.so
/usr/lib/libpangoxft-1.0.so → /usr/lib/libpangoxft-1.0.so
/usr/lib/libpangox-1.0.so.0 → /usr/lib/libpangox-1.0.so
/usr/lib/libpango-1.0.so.0 → /usr/lib/libpango-1.0.so
After figuering this out, the compilation process complained about
missing gl, glu and glut headers which I thought were optional. Maybe I
missed some compile option to ommit them and if so I’d appreciate it if
someone could enlighten me about that, but installing the freeglut3-dev
package did the trick for me.
I’m not sure about the StyledTextCtrl’s dependencies–maybe I just have
the necessary headers on my system as I tend to install many development
packages on compiling problems (not only with wxRuby). Does wxRuby
complain on compilation if they’re missing?
In short here are my questions:
- What’s about that wrongly named shared object files? Is something
wrong with my system? - How to instruct rake not to build gl, glu, glut and the
StyledTextControl extensions if the necessary development headers are
not available for whatever reason? - What are the development headers needed for StyledTextCtrl?
Ah, and last but not least, why is the
http://wxruby.rubyforge.org/wiki/wiki.pl?BuildingOnTopOfLinuxDistroPackages
page not linked anywhere on the wxRuby homepage? It is only findable by
searching for it. There should be a link to it on
http://wxruby.rubyforge.org/wiki/wiki.pl?InstallingFromSource I suggest.
Marvin
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
iQEcBAEBAgAGBQJMq1ZtAAoJEGrS0YjAWTKVVrYH/0L8NKbGUrD5sqCcEJsfa16R
PRRDMnYRBKyRim5UEaj05dJ1vouOyEJ+bxX8+ZidNRCnTdVpkHXemEQcayT1vXhX
rLX69l6VYn3bwN4g8I8xSaIT273gz7aDXZwZB/381nmMjHpdmi2CK2b7RQl3SBxa
X0UyEvFHHGodoMHmw6oz5R5ZHvVVFaIYr8qxARfTnTEyJ8oFPqO0VB5X1VJgCwPK
AHItQWYhAa/0z+TfClKdmVzgPdNTO4N/onaE5XtSd2xbvQPfa903T2GGV+3TIXYW
I1D/7O/tF4KSUWCRiqgGccgVCMoFx26U7+j2XWCG7sNZW6ANaiRQx0r3wJrNmu8=
=dw8X
-----END PGP SIGNATURE-----