Project

General

Profile

Actions

Bug #3255

closed

Trunk fail to build without explicit ./configure options (yaml.h not found)

Added by Eregon (Benoit Daloze) almost 14 years ago. Updated almost 13 years ago.

Status:
Closed
Assignee:
-
Target version:
ruby -v:
ruby 1.9.2dev (2010-05-06 trunk 27635) [x86_64-darwin10.3.0]
Backport:
[ruby-core:30070]

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

Actions

Also available in: Atom PDF

Like0
Like0Like0Like0