Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
PerlMonks  

curses installation on osx

by warren (Initiate)
on Apr 14, 2003 at 01:42 UTC ( [id://250196]=perlquestion: print w/replies, xml ) Need Help??

warren has asked for the wisdom of the Perl Monks concerning the following question:

Hi,<br.

I'm trying to install curses using the cpan shell and install curses but I get

CursesFun.c:3472: warning: initialization from incompatible pointer type make: *** Curses.o Error 1
/usr/bin/make -- NOT OK
Running make test
Can't test without successful make
Running make install
make had returned bad status, install seems impossible

Umm, ahh help? I've searched google and this site, I really do not know where to start.

Cheers,
Warren

Replies are listed 'Best First'.
Re: curses installation on osx
by Zaxo (Archbishop) on Apr 14, 2003 at 03:52 UTC
Re: curses installation on osx
by tachyon (Chancellor) on Apr 14, 2003 at 02:00 UTC

    There are 4 calls being made by CPAN:

    $ perl Makefile.PL $ make $ make test $ make install

    The first error you get is because make is failing to compile the C code in Curses.c into Curses.o by the look of it. make test and make install naturally fail as you have no binary due to the earlier failure.

    To diagnose the exact issue(s) download the latest tar.gz from CPAN, untar it and go through the motions. See A guide to installing Modules if you are unfamiliar with the process. Then post the exact compilation errors here and the monks may be able to help you. You will need to specify what version of gcc you are using, Perl version and all the compiler output$ gcc -v; perl -v; perl Makefile.PL; make should do the trick if you do that in the Curses-1.06/ dir that the distro (probably) untars into.

    cheers

    tachyon

    s&&rsenoyhcatreve&&&s&n.+t&"$'$`$\"$\&"&ee&&y&srve&&d&&print

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: perlquestion [id://250196]
Approved by Zaxo
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others imbibing at the Monastery: (2)
As of 2024-04-25 20:03 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found