Skip Menu |

Preferred bug tracker

Please visit the preferred bug tracker to report your issue.

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

Report information
The Basics
Id: 85059
Status: resolved
Priority: 0/
Queue: Term-EditLine

People
Owner: Nobody in particular
Requestors: james2vegas [...] aim.com
Cc:
AdminCc:

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

Attachments


Subject: On OpenBSD, Makefile.PL doesn't pick up required libcurses, leading to undefined symbol warnings, but make test passes.
$ make test
PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
t/1.t .. /usr/bin/perl:/usr/lib/libedit.so.4.1: undefined symbol 'tgetnum'
/usr/bin/perl:/usr/lib/libedit.so.4.1: undefined symbol 'tgoto'
/usr/bin/perl:/usr/lib/libedit.so.4.1: undefined symbol 'tgetflag'
/usr/bin/perl:/usr/lib/libedit.so.4.1: undefined symbol 'tputs'
/usr/bin/perl:/usr/lib/libedit.so.4.1: undefined symbol 'tgetent'
/usr/bin/perl:/usr/lib/libedit.so.4.1: undefined symbol 'tgetstr'
t/1.t .. ok   
All tests successful.
Files=1, Tests=2,  0 wallclock secs ( 0.02 usr  0.02 sys +  0.01 cusr  0.02 csys =  0.07 CPU)
Result: PASS
$

The attached patch adds the libcurses dependency on OpenBSD (checking for openbsd in $^O). prevents the undefined symbol warnings and lets Term::ReadLine::EditLine install.



Subject: patch-Term_EditLine_0.05-Makefile_PL
Download patch-Term_EditLine_0.05-Makefile_PL
application/octet-stream 666b

Message body not shown because it is not plain text.

I believe that 0.06 and 0.07 should now work with recent versions of OpenBSD. If you find that is not the case, please open a support ticket on this projects GitHub issue tracker (now the official issue tracker for this dist): https://github.com/plicease/Term-EditLine/issues