From: Nicolas Guzman Date: 2002-04-15T23:26:19+09:00 Subject: Re: Compiling Ruby on Mac OS X I installed Ruby successfully a couple of weeks ago and it runs fine. Have you installed the most recent Developer Toolkit (December 2001) from Apple's site? I was having trouble compiling a bunch of staff before I downloaded this toolkit. Now everything works fine. FYI: uname -a Darwin localhost 5.2 Darwin Kernel Version 5.2: Fri Dec 7 21:39:35 PST 2001; root:xnu/xnu-201.14.obj~1/RELEASE_PPC Power Macintosh powerpc cc -v Reading specs from /usr/libexec/gcc/darwin/ppc/2.95.2/specs Apple Computer, Inc. version gcc-934.3, based on gcc version 2.95.2 19991024 (release) Hope this helps. Cheers, Nick >I've downloaded the latest Stable Snapshot and tried building it. It >fails as follows: > >cc -g -O2 -pipe -no-precomp -I. -I. -c dln.c >dln.c:1093: header file 'dlfcn.h' not found >cpp-precomp: warning: errors during smart preprocessing, retrying in >basic mode >make: *** [dln.o] Error 1 > >Has anyone any idea of a patch that I might apply to get it to compile >successfully? > > >Alwyn