On Wed Jan 30 18:36:27 2008, [EMAIL PROTECTED] wrote:

> 
> Try manually adding -lreadline to the test compile in auto::readline and 
> see what happens.
> 

This is what I did:

Index: config/auto/readline.pm
===================================================================
--- config/auto/readline.pm     (revision 25380)
+++ config/auto/readline.pm     (working copy)
@@ -57,6 +57,9 @@
     # this code into a Parrot::Configure::Step::Methods method analogous to
     # _handle_darwin_for_fink().
     $self->_handle_darwin_for_macports($conf, $osname,
q{readline/readline.h});
+    if ( $osname =~ /darwin/i ) {
+        $conf->data->add( ' ', libs => '-lreadline' );
+    }
 
     $conf->cc_gen('config/auto/readline/readline.in');
     my $has_readline = 0;


... and this is what I got:

Determining if your platform supports readline...dyld: lazy symbol
binding failed: Symbol not found: _rl_get_keymap
  Referenced from: /Users/jimk/work/parrot/./test
  Expected in: dynamic lookup

dyld: Symbol not found: _rl_get_keymap
  Referenced from: /Users/jimk/work/parrot/./test
  Expected in: dynamic lookup

.......................no.

kid51

Reply via email to