From: FUJIMOTO Hisakuni Date: 2002-12-31T07:52:23+09:00 Subject: Re: Newbie Question - Problems with Ruby on My Mac 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: > > can't find header files for ruby. I don't know what is the ruby developer pack, so I may misunderstand your problems. After that, if you are using the pre-installed ruby 1.6.7 on Mac OS X 10.2, check which BSDSDK.pkg has been installed or not as follows: $ which ruby /usr/bin/ruby $ ls -d /Library/Receipts/BSD.pkg /Library/Receipts/BSD.pkg $ lsbom /Library/Receipts/BSD.pkg/Contents/Archive.bom | grep 'bin/ruby' ./usr/bin/ruby 100755 0/0 595412 0 $ ls -d /Library/Receipts/BSDSDK.pkg /Library/Receipts/BSDSDK.pkg $ lsbom /Library/Receipts/BSDSDK.pkg/Contents/Archive.bom | grep ruby.h ./usr/lib/ruby/1.6/powerpc-darwin6.0/ruby.h 100644 0/0 16251 2986920000 BSD.pkg and BSDSDK.pkg are enclosed with Mac OS X 10.2. cheers, -- FUJIMOTO Hisakuni