From: Jim Freeze Date: 2002-04-15T22:15:23+09:00 Subject: Re: Compiling Ruby on Mac OS X On Mon, Apr 15, 2002 at 09:41:49PM +0900, Alwyn wrote: > 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? I got this error, but only after installing the bash shell. Before I installed the bash shell, I downloaded and compiled ruby with no problem. Then I installed bash, but inside bash I could not run irb - but I could still run ruby. I figured that it must be a path problem but have not taken the time to investigate. So, I uninstalled the bash shell and reverted back to tcsh. However, now I get the same problem you have reported above. I cannot build ruby. I am very interested in what anyone has to say about this. -- Jim Freeze If only I had something clever to say for my comment... ~