Skip Menu |

This queue is for tickets about the Curses CPAN distribution.

Report information
The Basics
Id: 21627
Status: resolved
Priority: 0/
Queue: Curses

Owner: Nobody in particular
Requestors: alexchorny [...]

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

Subject: Attempt to compile with MSVC
Download (untitled) / with headers
text/plain 875b
ActiveState perl v5.8.7 built for MSWin32-x86-multi-thread Binary build 813 I'm trying to compile under MSVC with pdcurses library. I propose to add link to pdcurses ( to 'INSTALL'. I've encountered several problems with it: 1. 'pdcurses.h' does not exists, only 'curses.h'. Renamed it. 2. 'curses.h' also defines chtype and attr_t. Commented out there. 3. 'curses.h' also defines SCREEN. Commented out in 'CursesTyp.h'. 4. `perl demo` fails Curses function 'TIESCALAR' called with too few arguments at C:\cpan\Curses-1.14\blib\lib/ line 82. Compilation failed in require at demo line 11. 5. I propose to add load test. Attached is '00-load.t', which should be put in 't/' directory. 6. `nmake cdemo` fails because it expects .o extension. 'Makefile.PL.patch' corrects this. ------- Alexandr Ciornii,
Subject: Makefile.PL.patch
Download Makefile.PL.patch
text/x-diff 595b
--- Makefile.PL.dist Sat Jun 3 00:18:48 2006 +++ Makefile.PL Sat Sep 23 01:54:45 2006 @@ -396,6 +396,7 @@ my ($this, %args) = @_; my $echo = $OSNAME eq 'VMS' ? 'write sys$output' : 'echo'; + my $objext = $OSNAME eq 'MSWin32' ? 'obj' : 'o'; my $mf = <<EOM; CursesDef.h: c-config.h Makefile.PL list.syms \$(PERL) test.syms $args{COMPONENTS} @@ -403,7 +404,7 @@ c-config.h: @ $echo "You need to make a c-config.h. See the INSTALL document."; @ exit 1 -cdemo: cdemo.o c-config.h +cdemo: cdemo.$objext c-config.h EOM if ($OSNAME eq 'VMS') {
Subject: 00-load.t
Download 00-load.t
text/x-perl 120b
#!perl use Test::More tests => 1; BEGIN { use_ok( 'Curses' ); } diag( "Testing Curses $Curses::VERSION, Perl $]" );
Download (untitled) / with headers
text/plain 139b
Release 1.15 has the .obj patch, the test file, and the reference to Pdcurses in INSTALL, along with the notes about it from this ticket.

This service is sponsored and maintained by Best Practical Solutions and runs on infrastructure.

Please report any issues with to