On 11/22/05, Dave Baldwin <dave.baldwin / 3dlabs.com> wrote:>> On 22 Nov 2005, at 13:50, Michal Suchanek wrote:>> > On 11/21/05, Rawn027 <Rawn027 / gmail.com> wrote:> >> I get an error saying that ruby.h cannot be found please install dev> >> tools but i have dev tools installed and ruby.h is there when i use> >> locate. I have no idea how to fix this, did 10.4.3 fix the problems> >> previously there with 10.4's broken ruby? Can I compile my own and> >> have> >> it work? Where can I go from here because I was told to use the ruby> >> howto on technoblog.> >> > Hello> >> > You can install fink, and use the fink package of ruby. Since ruby> > does need some tweaking to build on OS X you should probably try> > installing some package management system (fink, darwinports,> > gentoo,..) that provides a collection of patches that makes ruby work> > (more or less) seamlessly on OS X.> >> > hth> >> > Michal>> Ruby is trivial to install on OS X without using fink and friends.
What version did you use?1.8.3 uses char ** environ which is not present on OS X (there is somefunction instead).Extensions are by default linked with -undefined suppress, whichhappily installs extensions for which there are no suitable libarieson the system.It installs binary extensions into arch directory that includes thedarwin major and minor version number in tits name. At least the minoris going to change as you install updates which will make theextensions inacessible when you update the interpreter as well.
>> Assuming you have downloaded it already, navigate to the folder> within a terminal window.> Type (as per the readme)>> ./configure> make> make test> sudo make install
If this worked it would be nice :)
But it does not on 10.3.9, and it reportedly fails on 10.4.
Thanks
Michal

--             Support the freedom of music!Maybe it's a weird genre  ..  but weird is *not* illegal.Maybe next time they will send a special forces commandoto your picnic .. because they think you are weird. www.music-versus-guns.org  http://en.policejnistat.cz