Throwing these two messages together:
On Sun, Sep 20, 2009 at 10:04 PM, Michael D. [email protected]
wrote:
When I do a ‘gem install wxruby’ that’s the version that comes down. I
did a self-update to rubygems, so I’m at 1.3.5 (from the base Snow
Leopard comes with 1.3.1)
You already tried what I was going to suggest next, which is in your
next
email, but the solution I probably figured out.
I’m using a MacBook Pro with the Core 2 Duo with Snow Leopard. From
what I’ve read, 10.5 and up is 64-bit based and this is a 64-bit
processor.
Ok, I’m just making sure that you are on a x86-64 bit processor. This
will
lead into another part below.
This may be the source of my problem. I do not have wxMac installed (at
least as far as I know). I pulled it down, but I’m getting compile
errors on
libwxtiff-2.8.a, file is not of required architecture
libwxpng-2.8.a, file is not of required architecture
So, another problem to look at.
This is probably cause it is looking for libpng, libtiff, instead of
using
their built-in replacements, I’ll explain this below.
It looks likes the version of ruby packaged with Snow Leopard is
ruby 1.8.7 (2008-08-11 patchlevel 72) [universal-darwin10.0]
I’ll keep working on getting wxMac installed, but if there’s anything
wrong with my setup or approach so far, any pointers would be great.
And here is where we get to all of the problems, and didn’t realize it
till
now. Your running on version 10.0 of Darwin. All of the gems are
currently
built for version 9.0 of Darwin. There being part of the problem. But
the
specific problem that you are getting, is from the fact that it can’t
find
the wxMac Dynlib’s in order to access the wxWidgets functionality.
Cause of
this, wxRuby can’t operate. So we’ll go back up, to the point of
needing to
compile wxWidgets and wxRuby in order to get yourself a Installation of
wxRuby going.
First off, you need to follow the instructions provided here:
http://wxruby.rubyforge.org/wiki/wiki.pl?InstallingFromSource
This will allow you to build wxRuby, and wxWidgets. It is detailed for
all
the things you need in order to build wxRuby, and as well as
instructions on
how to build wxWidgets. I would strongly suggest that you follow these
instructions, and make sure you are using Swig 1.3.38, as I believe
that’s
the version we are currently requiring to build wxRuby.
If you are in need of help with these instructions, please feel free to
drop
by the wxRuby chat room, as I am sitting there now. It is located on
irc://
irc.freenode.net/#wxruby And if you are able to get a build of wxRuby
for
Darwin 10, may I please suggest that you offer it back to us, so that we
can
add it to the release, so we have covered another platform?
Thanks,