Problem compiling Ruby 1.8.5

Chuck Remes cremes.devlist at mac.com
Tue Nov 28 14:20:35 PST 2006


On Nov 28, 2006, at 9:14 AM, Luc Heinrich wrote:

> On 28 nov. 06, at 15:46, cremes.devlist at mac.com wrote:
>
>> That looks very odd. There shouldn't be any dependent relationship  
>> between ruby and tk.
>
> The Ruby Portfile has been dependent on port:tcl and port:tk since  
> it was updated for 1.8.5. Some of us disagree with that :)
>
> Have a look at ticket #11006:
> <http://trac.macports.org/projects/macports/ticket/11006>
>
> And by the way:
> % port deps ruby
> ruby has library dependencies on:
>         libiconv
>         readline
>         openssl
>         zlib
>         ncurses
>         tcl
>         tk

Hmmm... strange.

Well, in the interest of getting Piero working, let's remove those  
dependencies.

Piero, from your shell type 'port edit ruby'. This will open a copy  
of your locally stored portfile for ruby. Look for the line starting  
with "depends_lib" and change it to look like the following:

depends_lib   port:libiconv \
         port:readline \
         port:openssl \
         port:zlib


Save the file and try to do your install again. Hopefully it will work.

cr



More information about the macports-users mailing list