Skip Menu |

This queue is for tickets about the Curses CPAN distribution.

Report information
The Basics
Id: 23977
Status: stalled
Priority: 0/
Queue: Curses

People
Owner: Nobody in particular
Requestors: alain.pelletier [...] mplusx.com
Cc:
AdminCc:

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



Subject: Curses 1.15 don't compiled ons AIX 5.1
Bonjour, Curses 1.15 ne compile pas sous AIX 5.1 level 4 avec perl 5.8.8 miltithread et compilateur Xlc v8: cc_r -c -D_ALL_SOURCE -D_ANSI_C_SOURCE -D_POSIX_SOURCE - qmaxmem=-1 -qnoansialias -DUSE_NATIVE_DLOPEN -DNEED_PTHREAD_INIT - I/usr/local/include -q32 -D_LARGE_FILES -qlonglong -O - DVERSION=\"1.15\" -DXS_VERSION=\"1.15\" "- I/opt/perl/MPX/perl5/lib/5.8.8/aix-thread-multi/CORE" Curses.c "/opt/perl/MPX/perl5/lib/5.8.8/aix-thread-multi/CORE/perlio.h", line 117.60: 1506-277 (S) Syntax error: possible missing ')' or ','? "/opt/perl/MPX/perl5/lib/5.8.8/aix-thread-multi/CORE/perlio.h", line 121.71: 1506-277 (S) Syntax error: possible missing ')' or ','? "CursesFun.c", line 1279.25: 1506-196 (W) Initialization between types "struct {...}*" and "struct _PerlIO**" is not allowed. "CursesFun.c", line 1280.25: 1506-196 (W) Initialization between types "struct {...}*" and "struct _PerlIO**" is not allowed. "CursesFun.c", line 3453.25: 1506-196 (W) Initialization between types "struct {...}*" and "struct _PerlIO**" is not allowed. "CursesFun.c", line 3472.25: 1506-196 (W) Initialization between types "struct {...}*" and "struct _PerlIO**" is not allowed. make: 1254-004 The error code from the last command is 1. Stop. Il manque peut-être un #define ou une option de compilation (_PerlIO_funcs ???) pourriez-vous m'aider SVP
Subject: Curses 1.15 doesn't compile on AIX 5.1
From: GIRAFFED [...] cpan.org
On Mon Dec 18 10:19:18 2006, apelletier wrote: Show quoted text
>"/opt/perl/MPX/perl5/lib/5.8.8/aix-thread-multi/CORE/perlio.h", line > 117.60: 1506-277 (S) Syntax error: possible missing ')' or ','? > "/opt/perl/MPX/perl5/lib/5.8.8/aix-thread-multi/CORE/perlio.h", line > 121.71: 1506-277 (S) Syntax error: possible missing ')' or ','?
Could you attach /opt/perl/MPX/perl5/lib/5.8.8/aix-thread-multi/CORE/perlio.h?
Subject: RE: [rt.cpan.org #23977] Curses 1.15 doesn't compile on AIX 5.1
Date: Mon, 8 Jan 2007 08:33:52 +0100
To: <bug-Curses [...] rt.cpan.org>
From: "Alain PELLETIER" <Alain.PELLETIER [...] mplusx.banquepopulaire.fr>
bonjour et merci de votre réponse voici notre perlio.h en piece jointe. après ajout de #define PERLIO_IS_STDIO dans c-config.h, Curses compile avec beaucoup de warning ("redefinition"), les tests sont OK mais les démos marchent mal: mauvais positionnement, couleurs inexistantes, touches fonctions non détectées, souris pas toujours prise en compte. cordialement -----Message d'origine----- De : via RT [mailto:bug-Curses@rt.cpan.org] Envoyé : samedi 6 janvier 2007 04:25 À : Alain PELLETIER Objet : [rt.cpan.org #23977] Curses 1.15 doesn't compile on AIX 5.1 <URL: http://rt.cpan.org/Ticket/Display.html?id=23977 > On Mon Dec 18 10:19:18 2006, apelletier wrote: Show quoted text
>"/opt/perl/MPX/perl5/lib/5.8.8/aix-thread-multi/CORE/perlio.h", line > 117.60: 1506-277 (S) Syntax error: possible missing ')' or ','? > "/opt/perl/MPX/perl5/lib/5.8.8/aix-thread-multi/CORE/perlio.h", line > 121.71: 1506-277 (S) Syntax error: possible missing ')' or ','?
Could you attach /opt/perl/MPX/perl5/lib/5.8.8/aix-thread-multi/CORE/perlio.h?

Message body is not shown because sender requested not to inline it.

From: GIRAFFED [...] cpan.org
PERLIO_IS_STDIO is controlled by Perl, so changing its setting should cause a mess. What if you just remove the newterm code? Put #undef C_NEWTERM in CursesFun.c. I believe you simply cannot use newterm() with a Perl core built for PerlIo (which is what you have) because the Curses library doesn't understand PerlIo files. But you probably don't want to use newterm() anyway. If you want to work further on this, you should email me. bryanh@giraffe-data.com.