Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling

curses installation on osx

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

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


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.


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.




Log In?

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

How do I use this? | Other CB clients
Other Users?
Others cooling their heels in the Monastery: (3)
As of 2020-05-25 03:56 GMT
Find Nodes?
    Voting Booth?
    If programming languages were movie genres, Perl would be:

    Results (143 votes). Check out past polls.