Help building readline on OS X Leopard

Was following the instructions on this web page:

When I got the following errors after issuing:

make

The error:

i686-apple-darwin9-gcc-4.0.1: -compatibility_version only allowed with
-dynamiclib
make[1]: *** [libreadline.5.1.dylib] Error 1
make: [shared] Error 2 (ignored)

Is there a detailed tutorial or resource that helps one build readline
before trying to build the Ruby 1.8.7 source?

Happy programming,

Unnsse

On 26 Jul 2008, at 02:04, Unnsse Khan wrote:

Was following the instructions on this web page:

Dan Benjamin

Did you follow the link at the top of that page
(Dan Benjamin
) to the leopard version of those instructions ?

Fred