Bug #3255
closedTrunk fail to build without explicit ./configure options (yaml.h not found)
Description
=begin
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.
=end