From: Urban Nilsson Date: 2002-07-03T19:46:44+09:00 Subject: Re: Make fails with missing header file (OS X) I got that too, when trying to compile Ruby 1.7.2 on my TiPB/MacOSX10.1.5. I got past that by (surprise!) installing autoconf2.53 by using fink. I did however run into another problem with the socket support compilation: ----- compiling socket Fatal: --enable-ipv6 is specified, and your OS seems to support IPv6 feature. But your getaddrinfo() and getnameinfo() are appeared to be broken. Sorry, you cannot compile IPv6 socket classes with broken these functions. You can try --enable-wide-getaddrinfo. ----- Where should I add the --enable-wide-getaddrinfo? Assuming it works, ofcourse! /U On onsdag, juli 3, 2002, at 10:54 , Bruce Hobbs wrote: > After downloading, unzipping, etc., configure seemed to work fine, but > make failed as follows: > > [localhost:~/Temporary/FTP downloads/ruby-1.6.7] bhobbs% make > gcc -g -O2 -fno-common -pipe -no-precomp -I. -I. -I/usr/local/include > -c array.c > gcc -g -O2 -fno-common -pipe -no-precomp -I. -I. -I/usr/local/include > -c bignum.c > gcc -g -O2 -fno-common -pipe -no-precomp -I. -I. -I/usr/local/include > -c class.c > gcc -g -O2 -fno-common -pipe -no-precomp -I. -I. -I/usr/local/include > -c compar.c > gcc -g -O2 -fno-common -pipe -no-precomp -I. -I. -I/usr/local/include > -c dir.c > gcc -g -O2 -fno-common -pipe -no-precomp -I. -I. -I/usr/local/include > -c dln.c > dln.c:1091: header file 'dlfcn.h' not found > cpp-precomp: warning: errors during smart preprocessing, retrying in > basic mode > make: *** [dln.o] Error 1 > ========== > I'm running Mac OS X 10.1.5 on a TiPB/500Mhz/1GB RAM/almost 2GB free > disc space. > > Incidentally, attempting to execute autoconf results in the following: > > FATAL ERROR: Autoconf version 2.50 or higher is required for this script > > Can anyone point me in the right direction? TIA! > -- > Bruce Hobbs, CDP 856 N Monterey St Phone: 626-570-8028 > Partner Alhambra, CA 91801-1574 Cell: 626-278-0273 > Engineered Software brucehobbs@engineeredsw.com FAX: 208-474-0732 > ---- Urban Nilsson, Oops AB "My inbox is a sacred shrine, none shall enter that are not worthy." --Ted.Dziuba