Skip Menu |

This queue is for tickets about the Term-ReadLine-Gnu CPAN distribution.

Maintainer(s)' notes

When you report a bug, please provide the following information;

- output of
	perl -V
	perl Makefile.PL verbose
	make test TEST_VERBOSE=1
	perl -Mblib t/00checkver.t
	echo $TERM
- terminal emulator which you are using
- compiler which is used to compile the GNU Readline Library (libreadline.a) if you can know.
Read INSTALL in the distribution for more details.

Report information
The Basics
Id: 120246
Status: rejected
Priority: 0/
Queue: Term-ReadLine-Gnu

People
Owner: Nobody in particular
Requestors: cpan [...] tlinx.org
Cc:
AdminCc:

Bug Information
Severity: Important
Broken in: 1.35
Fixed in: (no value)



Subject: install fail due to linking problem
Added the asked-for info, below. For some reason "XS.pm" seems to be truncating names to 8 characters which I am guessing is responsible for the rest of the failures. Initially, when building this, it tried to link with a static 'libreadline.a' even though perl is dynamically linked. It gave the warnings about symbols being truncated and and had similar problems in testing. Is truncating symbols to 8 chars the norm? I don't recall ever seeing this behavior before. Thanks, -l ---Asked-for info, below: Ishtar:../Term-ReadLine-Gnu-1.35-yM0dmY> perl -V Summary of my perl5 (revision 5 version 16 subversion 3) configuration: Platform: osname=linux, osvers=3.12.0-isht-van, archname=x86_64-linux-thread-multi-ld uname='linux ishtar 3.12.0-isht-van #1 smp preempt wed nov 13 16:50:51 pst 2013 x86_64 x86_64 x86_64 gnulinux ' config_args='' hint=previous, useposix=true, d_sigaction=define useithreads=define, usemultiplicity=define useperlio=define, d_sfio=undef, uselargefiles=define, usesocks=undef use64bitint=define, use64bitall=define, uselongdouble=define usemymalloc=n, bincompat5005=undef Compiler: cc='gcc', ccflags ='-D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing -pipe -fstack-protector -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64', optimize='-g -O2', cppflags='-D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing -pipe -fstack-protector -D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing -pipe -fstack-protector -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing -pipe -fstack-protector -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64' ccversion='', gccversion='4.8.1 20130909 [gcc-4_8-branch revision 202388]', gccosandvers='' intsize=4, longsize=8, ptrsize=8, doublesize=8, byteorder=12345678 d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=16 ivtype='long', ivsize=8, nvtype='long double', nvsize=16, Off_t='off_t', lseeksize=8 alignbytes=16, prototype=define Linker and Libraries: ld='gcc', ldflags ='-g -fstack-protector -fPIC' libpth=/usr/lib64 /lib64 libs=-lnsl -lndbm -lgdbm -ldb -ldl -lm -lcrypt -lutil -lpthread -lc -lgdbm_compat perllibs=-lnsl -ldl -lm -lcrypt -lutil -lpthread -lc libc=/lib/libc-2.18.so, so=so, useshrplib=true, libperl=libperl-5.16.3.so gnulibc_version='2.18' Dynamic Linking: dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags='-Wl,-E -Wl,-rpath,/home/perl/perl-5.16.3/lib/x86_64-linux-thread-multi-ld/CORE' cccdlflags='-fPIC', lddlflags='-shared -g -O2 -fstack-protector -fPIC' Characteristics of this binary (from libperl): Compile-time options: HAS_TIMES MULTIPLICITY PERLIO_LAYERS PERL_DONT_CREATE_GVSV PERL_IMPLICIT_CONTEXT PERL_MALLOC_WRAP PERL_PRESERVE_IVUV USE_64_BIT_ALL USE_64_BIT_INT USE_ITHREADS USE_LARGE_FILES USE_LOCALE USE_LOCALE_COLLATE USE_LOCALE_CTYPE USE_LOCALE_NUMERIC USE_LONG_DOUBLE USE_PERLIO USE_PERL_ATOF USE_REENTRANT_API Built under linux Compiled at Jan 23 2014 00:35:49 %ENV: PERL5LIB="" PERL5OPT="-Mutf8 -CSA -I/home/law/bin/lib" PERL5_CPANPLUS_IS_RUNNING="23799" PERL5_CPAN_IS_RUNNING="23799" @INC: /home/law/bin/lib /home/perl/perl-5.16.3/lib/site/x86_64-linux-thread-multi-ld /home/perl/perl-5.16.3/lib/site /home/perl/perl-5.16.3/lib/x86_64-linux-thread-multi-ld /home/perl/perl-5.16.3/lib . Ishtar:../Term-ReadLine-Gnu-1.35-yM0dmY> perl Makefile.PL verbose Found `/usr/lib64/libtermcap.so'. gcc -D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing -pipe -fstack-protector -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DHAVE_STRING_H rlver.c -o rlver -g -fstack-protector -fPIC -lreadline -ltermcap <<<It seems that you have the GNU Readline Library version 6.2.>>> gcc -D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing -pipe -fstack-protector -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DHAVE_STRING_H -DTRG_READLINE_VERSION=0x0602 rlmalloc.c -o rlmalloc -g -fstack-protector -fPIC -lreadline -ltermcap Checking if your kit is complete... Looks good ABSTRACT_FROM => q[Gnu.pm] AUTHOR => [q[Hiroo HAYASHI <hiroo.hayashi@computer.org>]] BUILD_REQUIRES => { } CONFIGURE_REQUIRES => { } DEFINE => q[-DHAVE_STRING_H -DTRG_READLINE_VERSION=0x0602] EXE_FILES => [q[eg/perlsh]] INC => q[] LDDLFLAGS => q[ -shared -g -O2 -fstack-protector -fPIC] LIBS => [q[ -lreadline -ltermcap]] LICENSE => q[perl] META_MERGE => { resources=>{ bugtracker=>q[http://rt.cpan.org/Public/Dist/Term-ReadLine-Gnu], homepage=>q[http://sourceforge.net/projects/perl-trg/], license=>q[http://dev.perl.org/licenses/], repository=>q[https://sourceforge.net/p/perl-trg/code/HEAD/tree/] } } MIN_PERL_VERSION => q[5.008001] NAME => q[Term::ReadLine::Gnu] PREREQ_PM => { } TEST_REQUIRES => { } VERSION_FROM => q[Gnu.pm] clean => { FILES=>q[rlver.c rlver rlmalloc.c rlmalloc] } dist => { COMPRESS=>q[gzip -9f], SUFFIX=>q[gz] } dynamic_lib => { OTHERLDFLAGS=>q[] } Using PERL=/usr/bin/perl Potential libraries are '-lreadline -ltermcap': '-lreadline' found at /usr/lib64/libreadline.so.7.0 '-ltermcap' found at /usr/lib64/libtermcap.so.2.0.8 Generating a Unix-style Makefile Writing Makefile for Term::ReadLine::Gnu Writing MYMETA.yml and MYMETA.json Ishtar:../Term-ReadLine-Gnu-1.35-yM0dmY> make test TEST_VERBOSE=1 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) blib/lib/Term/ReadLine/Gnu/XS.pm: some names are not unique when truncated to 8 characters: directory blib/lib/auto/Term/ReadLine/Gnu/XS: rl_bind_key.al, rl_bind_key_if_unbound.al, rl_bind_keyseq.al, rl_bind_keyseq_if_unbound.al truncate to rl_bind_ rl_set_keymap.al, rl_set_key.al truncate to rl_set_k Running Mkbootstrap for Term::ReadLine::Gnu () chmod 644 "Gnu.bs" "/usr/bin/perl" "/home/perl/perl-5.16.3/lib/site/ExtUtils/xsubpp" -typemap "/home/perl/perl-5.16.3/lib/ExtUtils/typemap" -typemap "typemap" Gnu.xs > Gnu.xsc && mv Gnu.xsc Gnu.c gcc -c -D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing -pipe -fstack-protector -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -g -O2 -DVERSION=\"1.35\" -DXS_VERSION=\"1.35\" -fPIC "-I/home/perl/perl-5.16.3/lib/x86_64-linux-thread-multi-ld/CORE" -DHAVE_STRING_H -DTRG_READLINE_VERSION=0x0602 Gnu.c rm -f blib/arch/auto/Term/ReadLine/Gnu/Gnu.so LD_RUN_PATH="/usr/lib64" gcc -shared -g -O2 -fstack-protector -fPIC Gnu.o -o blib/arch/auto/Term/ReadLine/Gnu/Gnu.so \ -lreadline -ltermcap \ chmod 755 blib/arch/auto/Term/ReadLine/Gnu/Gnu.so "/usr/bin/perl" -MExtUtils::Command::MM -e 'cp_nonempty' -- Gnu.bs blib/arch/auto/Term/ReadLine/Gnu/Gnu.bs 644 cp eg/perlsh blib/script/perlsh "/usr/bin/perl" -MExtUtils::MY -e 'MY->fixin(shift)' -- blib/script/perlsh PERL_DL_NONLAZY=1 "/usr/bin/perl" "-MExtUtils::Command::MM" "-MTest::Harness" "-e" "undef *Test::Harness::Switches; test_harness(1, 'blib/lib', 'blib/arch')" t/*.t t/00checkver.t ... 1..4 ok 1 - load done # I'm testing Term::ReadLine::Gnu version 1.35 Cannot do `initialize' in Term::ReadLine::Gnu at t/00checkver.t line 31. # Looks like you planned 4 tests but ran 1. # Looks like your test exited with 255 just after 1. Dubious, test returned 255 (wstat 65280, 0xff00) Failed 3/4 subtests t/callback.t ..... 1..8 ok 1 - load done Cannot do `initialize' in Term::ReadLine::Gnu at t/callback.t line 37. # Looks like you planned 8 tests but ran 1. # Looks like your test exited with 255 just after 1. Dubious, test returned 255 (wstat 65280, 0xff00) Failed 7/8 subtests t/history.t ...... 1..88 ok 1 - load done # Testing Term::ReadLine::Gnu version 1.35 Cannot do `initialize' in Term::ReadLine::Gnu at t/history.t line 41. # Looks like you planned 88 tests but ran 1. # Looks like your test exited with 255 just after 1. Dubious, test returned 255 (wstat 65280, 0xff00) Failed 87/88 subtests t/readline.t ..... 1..147 ok 1 - load done # Testing Term::ReadLine::Gnu version 1.35 Cannot do `initialize' in Term::ReadLine::Gnu at t/readline.t line 57. # Looks like you planned 147 tests but ran 1. # Looks like your test exited with 255 just after 1. Dubious, test returned 255 (wstat 65280, 0xff00) Failed 146/147 subtests t/utf8_binary.t .. 1..12 ok 1 - load done # I'm testing Term::ReadLine::Gnu version 1.35 ok 2 - skip ok 3 - skip ok 4 - skip ok 5 - skip ok 6 - skip ok 7 - skip ok 8 - skip ok 9 - skip ok 10 - skip ok 11 - skip ok 12 - skip # PERL_UNICODE is defined or -C option is specified. Skipped... ok t/utf8_text.t .... 1..13 ok 1 - load done # I'm testing Term::ReadLine::Gnu version 1.35 ok 2 - $Config{d_setlocale} ok 3 - setlocale # i: unix:perlio:encoding(utf-8-strict):utf8 ok 4 - input layers before 'new' # o: unix:perlio:utf8:encoding(utf-8-strict):utf8 ok 5 - output layers before 'new' Cannot do `initialize' in Term::ReadLine::Gnu at t/utf8_text.t line 105. # Looks like you planned 13 tests but ran 5. # Looks like your test exited with 25 just after 5. Dubious, test returned 25 (wstat 6400, 0x1900) Failed 8/13 subtests Test Summary Report ------------------- t/00checkver.t (Wstat: 65280 Tests: 1 Failed: 0) Non-zero exit status: 255 Parse errors: Bad plan. You planned 4 tests but ran 1. t/callback.t (Wstat: 65280 Tests: 1 Failed: 0) Non-zero exit status: 255 Parse errors: Bad plan. You planned 8 tests but ran 1. t/history.t (Wstat: 65280 Tests: 1 Failed: 0) Non-zero exit status: 255 Parse errors: Bad plan. You planned 88 tests but ran 1. t/readline.t (Wstat: 65280 Tests: 1 Failed: 0) Non-zero exit status: 255 Parse errors: Bad plan. You planned 147 tests but ran 1. t/utf8_text.t (Wstat: 6400 Tests: 5 Failed: 0) Non-zero exit status: 25 Parse errors: Bad plan. You planned 13 tests but ran 5. Files=6, Tests=21, 0 wallclock secs ( 0.04 usr 0.01 sys + 0.25 cusr 0.03 csys = 0.33 CPU) Result: FAIL Failed 5/6 test programs. 0/21 subtests failed. Makefile:1067: recipe for target 'test_dynamic' failed make: *** [test_dynamic] Error 25 Ishtar:../Term-ReadLine-Gnu-1.35-yM0dmY> perl -Mblib t/00checkver.t 1..4 ok 1 - load done # I'm testing Term::ReadLine::Gnu version 1.35 Cannot do `initialize' in Term::ReadLine::Gnu at t/00checkver.t line 31. # Looks like you planned 4 tests but ran 1. # Looks like your test exited with 255 just after 1. Ishtar:../Term-ReadLine-Gnu-1.35-yM0dmY> echo $TERM linux Ishtar:../Term-ReadLine-Gnu-1.35-yM0dmY> gcc --version gcc (SUSE Linux) 4.9.0 Copyright (C) 2014 Free Software Foundation, Inc.
Hi, Thank you for your report. Show quoted text
> Is truncating symbols to 8 chars the norm?
No. Show quoted text
> blib/lib/Term/ReadLine/Gnu/XS.pm: some names are not unique when truncated to 8 characters: directory blib/lib/auto/Term/ReadLine/Gnu/XS:
This is just a warning. My module does not work on such a system, ex. MS-DOS. We don't care, because the GNU Readline does not work on the system. Please check file names under blib/lib/auto/Term/ReadLine/Gnu/XS. They should have long names. Test scripts fails when they call "use Term::ReadLine". Something wrong with your XS module compiled. Show quoted text
> <<<It seems that you have the GNU Readline Library version 6.2.>>>
perl Makefile.PL finds GNU Readline Library version 6.2. But Show quoted text
> '-lreadline' found at /usr/lib64/libreadline.so.7.0
This may be version 7.0. I hope this could be a clue for you.
Subject: Re: [rt.cpan.org #120246] install fail due to linking problem
Date: Sun, 19 Feb 2017 12:19:05 -0800
To: bug-Term-ReadLine-Gnu [...] rt.cpan.org
From: L A Walsh <cpan [...] tlinx.org>
Hiroo_HAYASHI via RT wrote: Show quoted text
>> <<<It seems that you have the GNU Readline Library version 6.2.>>> >>
> > perl Makefile.PL finds GNU Readline Library version 6.2. > But >
>> '-lreadline' found at /usr/lib64/libreadline.so.7.0 >>
> This may be version 7.0. > I hope this could be a clue for you. >
---- Well this seems a bit of a quandary. in /usr/lib64: libreadline.so.6 -> libreadline.so.6.2 libreadline.so.6.2 libreadline.so.7 -> libreadline.so.7.0 libreadline.so.7.0 libreadline.so -> libreadline.so.6 Seems like the 1st statement is looking at the "version-less" libreadline.so and see it pointing to libreadline.so.6->libreadline.so.6.2, which is fine, except that -lreadline *seems* to be picking up the highest 'major' version, i.e. '7'. Shouldn't the build process look at the same libreadline file in both checks? I moved off the ".a", static files to a subdir and "repointed" the symlink to libreadine.so.7. Then it works (whether the libreadline.so.6{.2}) files are there or not. Seems to me that if it wants to link w/a unversioned 'libreadline.so' then shouldn't it use the unversioned file the 2nd time as well ... versus If it wants to link with a specific version (like 7), shouldn't it say libreadline.so.7 both times? After I repointed the line and removed any ".a", static libs, I got: Show quoted text
> cpan
cpan[1]> install Term::ReadLine::Gnu Database was generated on Sun, 19 Feb 2017 03:47:47 GMT Running install for module 'Term::ReadLine::Gnu' Checksum for /Share/CPAN/sources/authors/id/H/HA/HAYASHI/Term-ReadLine-Gnu-1.35.tar.gz ok Scanning cache /home/CPAN-ishtar-build-cache for sizes ............................................................................DONE DEL(1/1): /home/CPAN-ishtar-build-cache/prefs Configuring H/HA/HAYASHI/Term-ReadLine-Gnu-1.35.tar.gz with Makefile.PL Found `/usr/lib64/libtermcap.so'. gcc -D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing -pipe -fstack-protector -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DHAVE_STRING_H rlver.c -o rlver -g -fstack-protector -fPIC -lreadline -ltermcap <<<It seems that you have the GNU Readline Library version 7.0.>>> gcc -D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing -pipe -fstack-protector -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DHAVE_STRING_H -DTRG_READLINE_VERSION=0x0700 rlmalloc.c -o rlmalloc -g -fstack-protector -fPIC -lreadline -ltermcap Checking if your kit is complete... Looks good Generating a Unix-style Makefile Writing Makefile for Term::ReadLine::Gnu Writing MYMETA.yml and MYMETA.json (/usr/bin/perl Makefile.PL exited with 0) CPAN::Reporter: Makefile.PL result is 'pass', No errors. HAYASHI/Term-ReadLine-Gnu-1.35.tar.gz /usr/bin/perl Makefile.PL -- OK Running make for H/HA/HAYASHI/Term-ReadLine-Gnu-1.35.tar.gz "/usr/bin/perl" "/home/perl/perl-5.16.3/lib/site/ExtUtils/xsubpp" -typemap "/home/perl/perl-5.16.3/lib/ExtUtils/typemap" -typemap "typemap" Gnu.xs > Gnu.xsc && mv Gnu.xsc Gnu.c cp eg/perlsh blib/script/perlsh "/usr/bin/perl" -MExtUtils::MY -e 'MY->fixin(shift)' -- blib/script/perlsh Running Mkbootstrap for Term::ReadLine::Gnu () gcc -c -D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing -pipe -fstack-protector -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -g -O2 -DVERSION=\"1.35\" -DXS_VERSION=\"1.35\" -fPIC "-I/home/perl/perl-5.16.3/lib/x86_64-linux-thread-multi-ld/CORE" -DHAVE_STRING_H -DTRG_READLINE_VERSION=0x0700 Gnu.c chmod 644 "Gnu.bs" 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) blib/lib/Term/ReadLine/Gnu/XS.pm: some names are not unique when truncated to 8 characters: directory blib/lib/auto/Term/ReadLine/Gnu/XS: rl_bind_key.al, rl_bind_key_if_unbound.al, rl_bind_keyseq.al, rl_bind_keyseq_if_unbound.al truncate to rl_bind_ rl_set_keymap.al, rl_set_key.al truncate to rl_set_k rm -f blib/arch/auto/Term/ReadLine/Gnu/Gnu.so LD_RUN_PATH="/usr/lib64" gcc -shared -g -O2 -fstack-protector -fPIC Gnu.o -o blib/arch/auto/Term/ReadLine/Gnu/Gnu.so \ -lreadline -ltermcap \ chmod 755 blib/arch/auto/Term/ReadLine/Gnu/Gnu.so "/usr/bin/perl" -MExtUtils::Command::MM -e 'cp_nonempty' -- Gnu.bs blib/arch/auto/Term/ReadLine/Gnu/Gnu.bs 644 Manifying 1 pod document Manifying 1 pod document (/usr/bin/make -j -j exited with 0) CPAN::Reporter: make result is 'pass', No errors. HAYASHI/Term-ReadLine-Gnu-1.35.tar.gz /usr/bin/make -j -j -- OK Running make test Running Mkbootstrap for Term::ReadLine::Gnu () chmod 644 "Gnu.bs" PERL_DL_NONLAZY=1 "/usr/bin/perl" "-MExtUtils::Command::MM" "-MTest::Harness" "-e" "undef *Test::Harness::Switches; test_harness(0, 'blib/lib', 'blib/arch')" t/*.t t/00checkver.t ... ok # Try `/usr/bin/perl -Mblib t/callback.t verbose', if you will. t/callback.t ..... ok t/history.t ...... ok # It seems that there is no user whose name is 'cpan' or there is a user whose name starts with 'cpan' # Try `/usr/bin/perl -Mblib t/readline.t verbose', if you will. t/readline.t ..... ok # PERL_UNICODE is defined or -C option is specified. Skipped... t/utf8_binary.t .. ok t/utf8_text.t .... ok All tests successful. Files=6, Tests=272, 1 wallclock secs ( 0.08 usr 0.01 sys + 0.62 cusr 0.09 csys = 0.80 CPU) Result: PASS (/usr/bin/make test exited with 0) CPAN::Reporter: Test result is 'pass', All tests successful. CPAN::Reporter: preparing a CPAN Testers report for Term-ReadLine-Gnu-1.35 CPAN::Reporter: sending test report with 'pass' via Metabase HAYASHI/Term-ReadLine-Gnu-1.35.tar.gz /usr/bin/make test -- OK Running make install Manifying 1 pod document Manifying 1 pod document Appending installation info to /home/perl/perl-5.16.3/lib/x86_64-linux-thread-multi-ld/perllocal.pod Files found in blib/arch: installing files in blib/lib into architecture dependent library tree Installing /home/perl/perl-5.16.3/lib/site/x86_64-linux-thread-multi-ld/auto/Term/ReadLine/Gnu/Gnu.so Installing /home/perl/perl-5.16.3/lib/site/x86_64-linux-thread-multi-ld/Term/ReadLine/Gnu.pm Installing /home/perl/perl-5.16.3/lib/site/x86_64-linux-thread-multi-ld/Term/ReadLine/Gnu/XS.pm Installing /home/perl/perl-5.16.3/lib/site/x86_64-linux-thread-multi-ld/auto/Term/ReadLine/Gnu/XS/_str2map.al Installing /home/perl/perl-5.16.3/lib/site/x86_64-linux-thread-multi-ld/auto/Term/ReadLine/Gnu/XS/_str2fn.al Installing /home/perl/perl-5.16.3/lib/site/x86_64-linux-thread-multi-ld/auto/Term/ReadLine/Gnu/XS/rl_copy_keymap.al Installing /home/perl/perl-5.16.3/lib/site/x86_64-linux-thread-multi-ld/auto/Term/ReadLine/Gnu/XS/rl_discard_keymap.al Installing /home/perl/perl-5.16.3/lib/site/x86_64-linux-thread-multi-ld/auto/Term/ReadLine/Gnu/XS/rl_set_keymap.al Installing /home/perl/perl-5.16.3/lib/site/x86_64-linux-thread-multi-ld/auto/Term/ReadLine/Gnu/XS/rl_bind_key.al Installing /home/perl/perl-5.16.3/lib/site/x86_64-linux-thread-multi-ld/auto/Term/ReadLine/Gnu/XS/rl_bind_key_if_unbound.al Installing /home/perl/perl-5.16.3/lib/site/x86_64-linux-thread-multi-ld/auto/Term/ReadLine/Gnu/XS/unbind_key.al Installing /home/perl/perl-5.16.3/lib/site/x86_64-linux-thread-multi-ld/auto/Term/ReadLine/Gnu/XS/unbind_function.al Installing /home/perl/perl-5.16.3/lib/site/x86_64-linux-thread-multi-ld/auto/Term/ReadLine/Gnu/XS/unbind_command.al Installing /home/perl/perl-5.16.3/lib/site/x86_64-linux-thread-multi-ld/auto/Term/ReadLine/Gnu/XS/rl_bind_keyseq.al Installing /home/perl/perl-5.16.3/lib/site/x86_64-linux-thread-multi-ld/auto/Term/ReadLine/Gnu/XS/rl_set_key.al Installing /home/perl/perl-5.16.3/lib/site/x86_64-linux-thread-multi-ld/auto/Term/ReadLine/Gnu/XS/rl_bind_keyseq_if_unbound.al Installing /home/perl/perl-5.16.3/lib/site/x86_64-linux-thread-multi-ld/auto/Term/ReadLine/Gnu/XS/rl_macro_bind.al Installing /home/perl/perl-5.16.3/lib/site/x86_64-linux-thread-multi-ld/auto/Term/ReadLine/Gnu/XS/rl_generic_bind.al Installing /home/perl/perl-5.16.3/lib/site/x86_64-linux-thread-multi-ld/auto/Term/ReadLine/Gnu/XS/rl_call_function.al Installing /home/perl/perl-5.16.3/lib/site/x86_64-linux-thread-multi-ld/auto/Term/ReadLine/Gnu/XS/rl_invoking_keyseqs.al Installing /home/perl/perl-5.16.3/lib/site/x86_64-linux-thread-multi-ld/auto/Term/ReadLine/Gnu/XS/rl_add_funmap_entry.al Installing /home/perl/perl-5.16.3/lib/site/x86_64-linux-thread-multi-ld/auto/Term/ReadLine/Gnu/XS/rl_tty_set_default_bindings.al Installing /home/perl/perl-5.16.3/lib/site/x86_64-linux-thread-multi-ld/auto/Term/ReadLine/Gnu/XS/rl_tty_unset_default_bindings.al Installing /home/perl/perl-5.16.3/lib/site/x86_64-linux-thread-multi-ld/auto/Term/ReadLine/Gnu/XS/rl_message.al Installing /home/perl/perl-5.16.3/lib/site/x86_64-linux-thread-multi-ld/auto/Term/ReadLine/Gnu/XS/rl_completion_mode.al Installing /home/perl/perl-5.16.3/lib/site/x86_64-linux-thread-multi-ld/auto/Term/ReadLine/Gnu/XS/rl_filename_list.al Installing /home/perl/perl-5.16.3/lib/site/x86_64-linux-thread-multi-ld/auto/Term/ReadLine/Gnu/XS/hist_list.al Installing /home/perl/perl-5.16.3/lib/site/x86_64-linux-thread-multi-ld/auto/Term/ReadLine/Gnu/XS/hist_arg_extract.al Installing /home/perl/perl-5.16.3/lib/site/x86_64-linux-thread-multi-ld/auto/Term/ReadLine/Gnu/XS/get_history_event.al Installing /home/perl/perl-5.16.3/lib/site/x86_64-linux-thread-multi-ld/auto/Term/ReadLine/Gnu/XS/ornaments.al Installing /home/perl/perl-5.16.3/lib/site/x86_64-linux-thread-multi-ld/auto/Term/ReadLine/Gnu/XS/history_expand_line.al Installing /home/perl/perl-5.16.3/lib/site/x86_64-linux-thread-multi-ld/auto/Term/ReadLine/Gnu/XS/operate_and_get_next.al Installing /home/perl/perl-5.16.3/lib/site/x86_64-linux-thread-multi-ld/auto/Term/ReadLine/Gnu/XS/display_readline_version.al Installing /home/perl/perl-5.16.3/lib/site/x86_64-linux-thread-multi-ld/auto/Term/ReadLine/Gnu/XS/change_ornaments.al Installing /home/perl/perl-5.16.3/lib/site/x86_64-linux-thread-multi-ld/auto/Term/ReadLine/Gnu/XS/Tk_getc.al Installing /home/perl/perl-5.16.3/lib/site/x86_64-linux-thread-multi-ld/auto/Term/ReadLine/Gnu/XS/shadow_redisplay.al Installing /home/perl/perl-5.16.3/lib/site/x86_64-linux-thread-multi-ld/auto/Term/ReadLine/Gnu/XS/_tgetstrs.al Installing /home/perl/perl-5.16.3/lib/site/x86_64-linux-thread-multi-ld/auto/Term/ReadLine/Gnu/XS/_ch_wrapper.al Installing /home/perl/perl-5.16.3/lib/site/x86_64-linux-thread-multi-ld/auto/Term/ReadLine/Gnu/XS/list_completion_function.al Installing /home/perl/perl-5.16.3/lib/site/x86_64-linux-thread-multi-ld/auto/Term/ReadLine/Gnu/XS/_trp_completion_function.al Installing /home/perl/perl-5.16.3/lib/site/x86_64-linux-thread-multi-ld/auto/Term/ReadLine/Gnu/XS/autosplit.ix Installing /home/perl/perl-5.16.3/man/man1/perlsh.1 Installing /home/perl/perl-5.16.3/man/man3/Term::ReadLine::Gnu.3 HAYASHI/Term-ReadLine-Gnu-1.35.tar.gz sudo make install -j UNINST=1 -- OK cpan[2]> q Lockfile removed. ------------------- Of note: it still gives a _warning_ about encountering 8-char names, BUT, the link shows no errors consistent with 8-char names being used for linkage. Not sure what that is about. You might consider what libreadline version you want and use the same file for both tests, above (?)...but far from expert in that area... -linda
Subject: Re: [rt.cpan.org #120246] install fail due to linking problem
Date: Sun, 19 Feb 2017 13:45:22 -0800
To: bug-Term-ReadLine-Gnu [...] rt.cpan.org
From: L A Walsh <cpan [...] tlinx.org>
Hiroo_HAYASHI via RT wrote: Show quoted text
BTW -- both your docs and tests refer to the emacs mode even though emacs isn't quite as popular as vim (recent poll, analysis of github projects & code). You might, either, want to document & test vim in the same way (not my idea of fun), OR, in both cases refer them to the bash(+readline) manpage for more API details. An example is my calculator program where the key bindings you demonstrate don't work (because .inputrc says to use vim bindings). Thanks! -linda
Hi Linda, I am glad to hear that my reasoning was correct and you could solve your problem. Show quoted text
> You might consider what libreadline version you > want and use the same file for both tests, above (?)
I hope so, too. ...but far from expert in that area... Me too. Show quoted text
> gcc -D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing -pipe -fstack-protector -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DHAVE_STRING_H rlver.c -o rlver -g -fstack-protector -fPIC -lreadline -ltermcap
This finds your Readline 6.2. But it seems that Show quoted text
> LD_RUN_PATH="/usr/lib64" gcc -shared -g -O2 -fstack-protector -fPIC Gnu.o -o blib/arch/auto/Term/ReadLine/Gnu/Gnu.so \ -lreadline -ltermcap
this finds your Readline 7.0. 'LD_RUN_PATH="/usr/lib64"' this may be a trouble maker. Could you let let me know the results of follows? LD_RUN_PATH="/usr/lib64" gcc -D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing -pipe -fstack-protector -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DHAVE_STRING_H rlver.c -o rlver -g -fstack-protector -fPIC -lreadline -ltermcap ./rlver And please attach your Makefile which "perl Makefile.PL" generates. ----------- Show quoted text
> Of note: it still gives a _warning_ about encountering 8-char names, > BUT, the link shows no errors consistent with 8-char names being used > for linkage. Not sure what that is about.
It seems that my words not enough for you. AutoLoader module is warning. http://perldoc.perl.org/AutoLoader.html Show quoted text
> On systems with restrictions on file name length, the file corresponding > to a subroutine may have a shorter name that the routine itself. > This can lead to conflicting file names. The AutoSplit package warns of > these potential conflicts when used to split a module.
----------- Show quoted text
> BTW -- both your docs and tests refer to the emacs mode > even though emacs isn't quite as popular as vim (recent > poll, analysis of github projects & code).
I chose emacs-mode, because it is the default mode of the GNU Readline Library. I've been using emacs keybinding on not only emacs but also bash for 30 years. But I recently knew that my son was a vim user. I did not force him to use emacs:-) Show quoted text
> You might, either, want to document & test > vim in the same way (not my idea of fun), OR, > in both cases refer them to the bash(+readline) > manpage for more API details.
Your contribution is very welcome. Thanks!
Hi, Linda, How about this issue? If you resolved your problem, please close this ticket. Thanks!
From: cpan [...] tlinx.org
On Sun Nov 19 09:46:16 2017, HAYASHI wrote: Show quoted text
> Hi, Linda, > > How about this issue? > If you resolved your problem, please close this ticket. > > Thanks!
---- I'm no longer able to reproduce this, so am closing it out...
I change the status.
Subject: Re: [rt.cpan.org #120246] install fail due to linking problem
Date: Sat, 02 Dec 2017 16:40:11 -0800
To: bug-Term-ReadLine-Gnu [...] rt.cpan.org
From: "unknown [...] tlinx.org" <cpan [...] tlinx.org>
Hiroo_HAYASHI via RT wrote: Show quoted text
> <URL: https://rt.cpan.org/Ticket/Display.html?id=120246 > > > I change the status. >
Ok...I did try... but it wouldn't let me. Rather lame bug interface when you can't close out your own bug.