Subject: | Curses-1.10 does not work |
Curses-1.10 simply does not work.
$ cd Curses-1.10
$ perl Makefile.PL
GEN function: not applicable
PANELS functions: not enabled
MENUS functions: not enabled
FORMS functions: not enabled
Making a guess for $inc and/or $libs...
Writing Makefile for Curses
$ make
[...]
$ perl -Mblib -MCurses -e1
Curses object version 1.10 does not match $Curses::VERSION 1.1 at /usr/lib/perl5/i386-linux/DynaLoader.pm line 253.
Compilation failed in require.
BEGIN failed--compilation aborted.
$
This is because 1.10 was treated as 1.0.
Here is a patch.
Please consider adding a few simple tests.
--
Alexey Tourbin
ALT Linux Team
--- Curses-1.10/Curses.pm- 2005-03-05 17:29:47 +0000
+++ Curses-1.10/Curses.pm 2005-03-12 14:28:55 +0000
@@ -54,7 +54,7 @@ sub DESTROY { }
package Curses;
-$VERSION = 1.10; # Also see Makefile.PL
+$VERSION = "1.10"; # Also see Makefile.PL
use Carp;
require Exporter;