From: Benoit Daloze Date: 2010-05-07T06:05:35+09:00 Subject: [ruby-core:30070] [Bug #3255] Trunk fail to build without explicit ./configure options (yaml.h not found) Bug #3255: Trunk fail to build without explicit ./configure options (yaml.h not found) http://redmine.ruby-lang.org/issues/show/3255 Author: Benoit Daloze Status: Open, Priority: Normal Category: build, Target version: 1.9.2 ruby -v: ruby 1.9.2dev (2010-05-06 trunk 27635) [x86_64-darwin10.3.0] Hi, I tried many times today and yesterday to build Ruby on OSX and it get some errors when running 'make'. Here is the interesting part of the 'make' output. https://gist.github.com/e3ee480ffe1bc654e635 It complains about libyaml, which I do have installed via MacPorts. It used to compile without any configuration (just autoconf). Here is 4 lines of the output: "yaml.h is missing. Please install libyaml. ld: warning: directory '/opt/lib' following -L not found ld: warning: directory '/usr/local/share/lib' following -L not found ld: warning: directory '/usr/share/lib' following -L not found" I did, tough, build without errors, but I had to add: ./configure --includedir /opt/local/include It did build before without needing this 'hack'. How the 'include' PATH is builded? from $PATH replacing 'bin' by 'include' ? Then it should find it. Regards, B.D. PS: There are a lot of warnings, some seem not significant, but others not (in 64bit I speak). Would the Ruby core team be interested in removing some of these? I'd be happy to help, but I need some help to get started. PS2: Weirdly, another guy on OSX did compile without any problem, but he does not have libyaml installed. ---------------------------------------- http://redmine.ruby-lang.org