machine is running OSX cl 10.2.6
perl 5.6 installed as standard
perl 5.8 intsalled under my  /Users/robin/usr/local
installed GNU readline 2.1


I get the errors listed below when trying to install Term::ReadLine::Gnu. I can see there are perl DYLD errors which suggests 5.6/5.8 conflict, so prseumably I have to alter ./config , but don't know what I have to change to get this to work.


TIA

Robin


cpan> install Term::ReadLine::Gnu
Running install for module Term::ReadLine::Gnu
Running make for H/HA/HAYASHI/Term-ReadLine-Gnu-1.14.tar.gz
Checksum for /Users/robin/.cpan/sources/authors/id/H/HA/HAYASHI/Term-ReadLine-Gnu- 1.14.tar.gz ok
Term-ReadLine-Gnu-1.14
Term-ReadLine-Gnu-1.14/eg
Term-ReadLine-Gnu-1.14/eg/fileman
Term-ReadLine-Gnu-1.14/eg/perlsh
Term-ReadLine-Gnu-1.14/eg/pftp
Term-ReadLine-Gnu-1.14/eg/ptksh+
Term-ReadLine-Gnu-1.14/Gnu
Term-ReadLine-Gnu-1.14/Gnu/euc_jp.pm
Term-ReadLine-Gnu-1.14/Gnu/XS.pm
Term-ReadLine-Gnu-1.14/Gnu.pm
Term-ReadLine-Gnu-1.14/Gnu.xs
Term-ReadLine-Gnu-1.14/INSTALL
Term-ReadLine-Gnu-1.14/Makefile.PL
Term-ReadLine-Gnu-1.14/MANIFEST
Term-ReadLine-Gnu-1.14/ppport.h
Term-ReadLine-Gnu-1.14/README
Term-ReadLine-Gnu-1.14/t
Term-ReadLine-Gnu-1.14/t/button.pl
Term-ReadLine-Gnu-1.14/t/callback.t
Term-ReadLine-Gnu-1.14/t/comptest
Term-ReadLine-Gnu-1.14/t/comptest/0123
Term-ReadLine-Gnu-1.14/t/comptest/012345
Term-ReadLine-Gnu-1.14/t/comptest/023456
Term-ReadLine-Gnu-1.14/t/comptest/a_b
Term-ReadLine-Gnu-1.14/t/comptest/README
Term-ReadLine-Gnu-1.14/t/history.t
Term-ReadLine-Gnu-1.14/t/inputrc
Term-ReadLine-Gnu-1.14/t/readline.t
Term-ReadLine-Gnu-1.14/typemap


CPAN.pm: Going to build H/HA/HAYASHI/Term-ReadLine-Gnu-1.14.tar.gz

Found `/usr/lib/libtermcap.dylib'.
cc -pipe -fno-common -no-cpp-precomp -fno-strict-aliasing -DHAVE_STRING_H rlver.c -o rlver -flat_namespace -lreadline -ltermcap
It seems that you have the GNU Readline Library version 2.1.
Checking if your kit is complete...
Looks good
Note (probably harmless): No library found for -lreadline
Writing Makefile for Term::ReadLine::Gnu
cp Gnu.pm blib/lib/Term/ReadLine/Gnu.pm
cp Gnu/XS.pm blib/lib/Term/ReadLine/Gnu/XS.pm
AutoSplitting blib/lib/Term/ReadLine/Gnu/XS.pm (blib/lib/auto/Term/ReadLine/Gnu/XS)
cp Gnu/euc_jp.pm blib/lib/Term/ReadLine/Gnu/euc_jp.pm
/usr/bin/perl /Library/Perl/ExtUtils/xsubpp -typemap /Library/Perl/ExtUtils/typemap -typemap typemap Gnu.xs > Gnu.xsc && mv Gnu.xsc Gnu.c
cc -c -pipe -fno-common -no-cpp-precomp -fno-strict-aliasing -O3 -DVERSION=\"1.14\" -DXS_VERSION=\"1.14\" "-I/Library/Perl/darwin/CORE" -DHAVE_STRING_H -DRL_READLINE_VERSION=0x0201 -DRL_VERSION_MAJOR=2 -DRL_VERSION_MINOR=1 Gnu.c
In file included from Gnu.xs:715:
Gnu.xs: In function `attempted_completion_function_wrapper':
Gnu.xs:197: warning: passing arg 0 of `xfree' from incompatible pointer type
In file included from Gnu.c:1210:
Gnu.xs: In function `XS_Term__ReadLine__Gnu__XS_rl_add_defun':
Gnu.xs:206: warning: passing arg 0 of `dupstr' discards qualifiers from pointer target type
In file included from Gnu.c:2017:
Gnu.xs: In function `XS_Term__ReadLine__Gnu__XS_rl_completion_matches':
Gnu.xs:135: warning: passing arg 0 of `rl_completion_matches' discards qualifiers from pointer target type
In file included from Gnu.c:2024:
Gnu.xs:135: warning: passing arg 0 of `rl_completion_matches' discards qualifiers from pointer target type
In file included from Gnu.c:1682:
Gnu.xs: At top level:
Gnu.xs:206: warning: passing arg 0 of `dupstr' discards qualifiers from pointer target type
Running Mkbootstrap for Term::ReadLine::Gnu ()
chmod 644 Gnu.bs
rm -f blib/arch/auto/Term/ReadLine/Gnu/Gnu.bundle
LD_RUN_PATH="/usr/lib" cc -flat_namespace -bundle -undefined suppress Gnu.o -o blib/arch/auto/Term/ReadLine/Gnu/Gnu.bundle -ltermcap
chmod 755 blib/arch/auto/Term/ReadLine/Gnu/Gnu.bundle
cp Gnu.bs blib/arch/auto/Term/ReadLine/Gnu/Gnu.bs
chmod 644 blib/arch/auto/Term/ReadLine/Gnu/Gnu.bs
Manifying blib/man3/Term::ReadLine::Gnu.3
/usr/bin/make -- OK
Running make test
PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
t/callback....dyld: /usr/bin/perl Undefined symbols:
__rl_restore_prompt
__rl_save_prompt
_add_history
_append_history
_clear_history
_completion_matches
_crlf
_current_history
_ding
_filename_completion_function
_free_undo_list
_funmap
_get_history_event
_history_arg_extract
_history_base
_history_comment_char
_history_expand
_history_expansion_char
_history_get
_history_inhibit_expansion_function
_history_is_stifled
_history_length
_history_no_expand_chars
_history_quotes_inhibit_expansion
_history_search
_history_search_delimiter_chars
_history_search_pos
_history_search_prefix
_history_set_pos
_history_subst_char
_history_tokenize
_history_total_bytes
_history_truncate_file
_max_input_history
_next_history
_previous_history
_read_history_range
_readline
_remove_history
_replace_history_entry
_rl_add_defun
_rl_add_undo
_rl_attempted_completion_function
_rl_attempted_completion_over
_rl_basic_quote_characters
_rl_basic_word_break_characters
_rl_begin_undo_group
_rl_bind_key_in_map
t/callback....dubious
Test returned status 0 (wstat 5, 0x5)
t/history.....dyld: /usr/bin/perl Undefined symbols:
__rl_restore_prompt
__rl_save_prompt
_add_history
_append_history
_clear_history
_completion_matches
_crlf
_current_history
_ding
_filename_completion_function
_free_undo_list
_funmap
_get_history_event
_history_arg_extract
_history_base
_history_comment_char
_history_expand
_history_expansion_char
_history_get
_history_inhibit_expansion_function
_history_is_stifled
_history_length
_history_no_expand_chars
_history_quotes_inhibit_expansion
_history_search
_history_search_delimiter_chars
_history_search_pos
_history_search_prefix
_history_set_pos
_history_subst_char
_history_tokenize
_history_total_bytes
_history_truncate_file
_max_input_history
_next_history
_previous_history
_read_history_range
_readline
_remove_history
_replace_history_entry
_rl_add_defun
_rl_add_undo
_rl_attempted_completion_function
_rl_attempted_completion_over
_rl_basic_quote_characters
_rl_basic_word_break_characters
_rl_begin_undo_group
_rl_bind_key_in_map
t/history.....dubious
Test returned status 0 (wstat 5, 0x5)
t/readline....dyld: /usr/bin/perl Undefined symbols:
__rl_restore_prompt
__rl_save_prompt
_add_history
_append_history
_clear_history
_completion_matches
_crlf
_current_history
_ding
_filename_completion_function
_free_undo_list
_funmap
_get_history_event
_history_arg_extract
_history_base
_history_comment_char
_history_expand
_history_expansion_char
_history_get
_history_inhibit_expansion_function
_history_is_stifled
_history_length
_history_no_expand_chars
_history_quotes_inhibit_expansion
_history_search
_history_search_delimiter_chars
_history_search_pos
_history_search_prefix
_history_set_pos
_history_subst_char
_history_tokenize
_history_total_bytes
_history_truncate_file
_max_input_history
_next_history
_previous_history
_read_history_range
_readline
_remove_history
_replace_history_entry
_rl_add_defun
_rl_add_undo
_rl_attempted_completion_function
_rl_attempted_completion_over
_rl_basic_quote_characters
_rl_basic_word_break_characters
_rl_begin_undo_group
_rl_bind_key_in_map
t/readline....dubious
Test returned status 0 (wstat 5, 0x5)
FAILED--3 test scripts could be run, alas--no output ever seen
make: *** [test_dynamic] Error 2
/usr/bin/make test -- NOT OK
Running make install
make test had returned bad status, won't install without force




Reply via email to