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


In reply to Re: Build Curses for Perl 5.8.0 by warren
in thread Build Curses for Perl 5.8.0 by Zaxo

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.