-----BEGIN PGP SIGNED MESSAGE-----
A few days ago I compiled wxRuby on Ubuntu 10.04 Lucid Lynx and came
over some issues not mentioned at
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:
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
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.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
-----END PGP SIGNATURE-----