From: Chris Gehlker Date: 2002-03-03T08:09:36+09:00 Subject: Re: Mac OSX compilation On 3/2/02 10:59 AM, "Alun ap Rhisiart" wrote: > Hi, > > I have been having a lot of problems of late trying to compile ruby > (1.6.7 or 1.7.2) from source on Mac OSX v10.1.3. > The problem is when I run make (after ./configure, and I have run > autoconf, tried 'cp /usr/libexec/config.* .', checked that the makefile > uses flat_namespace, etc. The problem is as follows: > > >> dln.c:1103: header file 'dlfcn.h' not found >> cpp-precomp: warning: errors during smart preprocessing, retrying in >> basic mode >> make: *** [dln.o] Error 1 > > Anyone know where I can get this file/why I don't have it? > I just built 1.6.7 yesterday without getting any complaints about that file being missing. I don't have it anyplace Locate can find it. I also scanned my makefile and couldn't find any reference to dlfcn.c, which of course doesn't mean that there isn't some file trying to #include it. I know this doesn't help but maybe it will steer you in the right direction. -- In the midst of great joy, do not promise anyone anything. In the midst of great anger, do not answer anyone's letter. -Chinese proverb