Hi -- I want to get started using Chipmunk in conjunction with gosu, using Ruby on OSX.
I'm afraid that I'm a total Chipmunk, gosu, & Mac newbie -- you'll be relieved to hear I know Ruby, at least!
Can anyone offer instructions on how to install Chipmunk on OSX?
Thanks alot,
Doug.
OSX Chipmunk install advice?
-
- Posts: 1
- Joined: Fri Mar 07, 2008 11:53 am
- Contact:
-
- Posts: 1
- Joined: Sun Mar 30, 2008 10:52 pm
- Contact:
Re: OSX Chipmunk install advice?
Hi, Doug.
I had the same question as you tonight and, after several frustrating minutes, I figured it out.
After you do the instructions in the readme (ruby extconf.rb, make), you'll have a file in the chipmunk/ruby directory called chipmunk.bundle. All you need to do now is copy that file to ruby's site packages directory. Assuming your setup is the same as mine, that directory is located at /usr/local/lib/ruby/site_ruby/1.8/. So, in Terminal, do the following (assuming you're in Chipmunk-xxx/ruby/ directory), Type in your root password and you should then be able to use chipmunk without any problems.
I had the same question as you tonight and, after several frustrating minutes, I figured it out.
After you do the instructions in the readme (ruby extconf.rb, make), you'll have a file in the chipmunk/ruby directory called chipmunk.bundle. All you need to do now is copy that file to ruby's site packages directory. Assuming your setup is the same as mine, that directory is located at /usr/local/lib/ruby/site_ruby/1.8/. So, in Terminal, do the following (assuming you're in Chipmunk-xxx/ruby/ directory),
Code: Select all
sudo cp chipmunk.bundle /usr/local/lib/ruby/site_ruby/1.8
-
- Posts: 1
- Joined: Thu Jun 04, 2009 12:57 am
- Contact:
Re: OSX Chipmunk install advice?
Instead of copying the file manually, here is what I did:
tar xzvf ChipmunkLatest.tgz
cd Chipmunk-4.1.0/
cd ruby/
ruby extconf.rb
make
sudo make install
tar xzvf ChipmunkLatest.tgz
cd Chipmunk-4.1.0/
cd ruby/
ruby extconf.rb
make
sudo make install
Who is online
Users browsing this forum: No registered users and 25 guests