in reply to Build Curses for Perl 5.8.0

Hi,

After implementing your suggested changes I still am unable to install curses. Whether or not it is the same problem I am not sure, I no longer recieve the "incompatible pointer type". Bellow in a readmore is all the gory details.

Running Mac OS X Darwin Kernel Version 6.5 (10.2.5)
perl v5.8.0
GCC version 1175, based on gcc version 3.1 20020420 (prerelease)

perl Makefile.PL
GEN support: not applicable
PANELS support: not enabled
MENUS support: not enabled
FORMS support: not enabled

Making a guess for $inc and/or $libs...
Making a guess for "c-config.h"...
Checking if your kit is complete...
Looks good
Writing Makefile for Curses

make output:

snip snip
typedef 'SCREEN' found
cc -c -pipe -fno-common -no-cpp-precomp -fno-strict-aliasing -O3 -DVERSION=\"1.06\" -DXS_VERSION=\"1.06\" "-I/Library/Perl/darwin/CORE" Curses.c
In file included from /Library/Perl/darwin/CORE/perl.h:466, from Curses.c:14:
/Library/Perl/darwin/CORE/embed.h:252:1: warning: "instr" redefined In file included from c-config.h:9, from Curses.c:11:
/usr/include/curses.h:852:1: warning: this is the location of the previous definition In file included from /Library/Perl/darwin/CORE/perl.h:1713, from Curses.c:14:
/Library/Perl/darwin/CORE/handy.h:83:1: warning: "bool" redefined In file included from c-config.h:9, from Curses.c:11:
/usr/include/curses.h:117:1: warning: this is the location of the previous definition In file included from Curses.c:344:
CursesFun.c: In function `XS_Curses_longname':
CursesFun.c:3146: too many arguments to function `longname' In file included from Curses.c:344:
CursesFun.c:3254:73: macro "touchline" passed 4 arguments, but takes just 3
CursesFun.c: In function `XS_Curses_touchline':
CursesFun.c:3254: warning: pointer/integer type mismatch in conditional expression
CursesFun.c:3254: warning: initialization makes integer from pointer without a cast
make: *** Curses.o Error 1