Opened 19 years ago

Closed 19 years ago

#5757 closed defect (fixed)

BUG: wrong path to ruby include in graphviz with recent xcode tools (2.2)

Reported by: dvd@… Owned by: gwright@…
Priority: Normal Milestone:
Component: ports Version: 1.0
Keywords: Cc: sandy@…
Port:

Description

building graphviz from scratch one would get

gv_ruby.cpp:3849: error: expected `)' before '_wrap_firsthead'

which in turn is caused by

gv_ruby.cpp:41:18: error: ruby.h: No such file or directory

I suppose that graphviz should depend on ruby.

Change History (4)

comment:1 Changed 19 years ago by dvd@…

Summary: graphviz should depend on rubywrong path to ruby include in graphviz with recent xcode tools (2.2)

I was too quick. the actual problem is that with Xcode tools 2.1 the path to ruby include is /usr/lib/ruby/ 1.8/universal-darwin8.0/, not /usr/lib/ruby/1.8/powerpc-darwin8.0/ . The built-in ruby is fine but the path is different.

comment:2 Changed 19 years ago by mww@…

Owner: changed from darwinports-bugs@… to gwright@…
Summary: wrong path to ruby include in graphviz with recent xcode tools (2.2)BUG: wrong path to ruby include in graphviz with recent xcode tools (2.2)

comment:3 Changed 19 years ago by blb@…

Cc: sandy@… added

* Bug 6173 has been marked as a duplicate of this bug. *

comment:4 Changed 19 years ago by gwright@…

Resolution: fixed
Status: newclosed

Hi,

This bug has been fixed by making the ruby port a dependency. This is in accord with the overall DP policy of not depending on Apple supplied applications since they may differ in unexpected ways from the standard versions. (The principal exceptions to the policy are compilers and X11.)

Thanks, Greg

Note: See TracTickets for help on using tickets.