I just bought a Mac Powerbook with OS 10.2 installed. I installed the
ruby developer pack. I am having some trouble trying to build the
MySQL Ruby Module (2.4.3A). Every time I run the command: ruby
extconf.rb I get the following error message:
can’t find header files for ruby.
Has anyone run into this problem before on and how did you get around
it?
For more than using basic Ruby, I have found the pre-installed Ruby
inadequate (I think the Ruby used is built without all of the
libraries). I change the pre-installed Ruby items to .bak and
then install Ruby 1.6.8 (which installs into /usr/local/bin – the
pre-installed Ruby is in /usr/bin). You will have to make sure that
/usr/local/bin is in your path. Try ‘echo $path’ in your terminal
shell to check this.
Before doing the above, however, you should make sure you have Mac OS X
developer tools installed. The most recent version (December 2002) is
on the Apple Developer Connection website. You may have to register to
download the developer tools, but there is no charge for registration.
There are also Ruby/Mac OS X resources at
···
On Monday, December 30, 2002, at 03:40 PM, John Carnell wrote:
Hi guys,
I just bought a Mac Powerbook with OS 10.2 installed. I installed the
ruby developer pack. I am having some trouble trying to build the
MySQL Ruby Module (2.4.3A). Every time I run the command: ruby
extconf.rb I get the following error message:
can’t find header files for ruby.
Has anyone run into this problem before on and how did you get around
it?
BSD.pkg and BSDSDK.pkg are enclosed with Mac OS X 10.2.
cheers,
···
At Tue, 31 Dec 2002 05:40:19 +0900, John Carnell wrote:
I just bought a Mac Powerbook with OS 10.2 installed. I installed the
ruby developer pack. I am having some trouble trying to build the
MySQL Ruby Module (2.4.3A). Every time I run the command: ruby
extconf.rb I get the following error message:
For more than using basic Ruby, I have found the pre-installed Ruby
inadequate (I think the Ruby used is built without all of the
libraries). I change the pre-installed Ruby items to .bak and
then install Ruby 1.6.8 (which installs into /usr/local/bin – the
pre-installed Ruby is in /usr/bin). You will have to make sure that
/usr/local/bin is in your path. Try ‘echo $path’ in your terminal
shell to check this.
Before doing the above, however, you should make sure you have Mac OS X
developer tools installed. The most recent version (December 2002) is
on the Apple Developer Connection website. You may have to register to
download the developer tools, but there is no charge for registration.
On Monday, December 30, 2002, at 03:40 PM, John Carnell wrote:
Hi guys,
I just bought a Mac Powerbook with OS 10.2 installed. I installed the
ruby developer pack. I am having some trouble trying to build the
MySQL Ruby Module (2.4.3A). Every time I run the command: ruby
extconf.rb I get the following error message:
can’t find header files for ruby.
Has anyone run into this problem before on and how did you get around
it?