Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

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:

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

Comment on curses installation on osx
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

Re: curses installation on osx
by Zaxo (Archbishop) on Apr 14, 2003 at 03:52 UTC

Log In?
Username:
Password:

What's my password?
Create A New User
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? | Other CB clients
Other Users?
Others browsing the Monastery: (7)
As of 2014-09-18 21:33 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How do you remember the number of days in each month?











    Results (124 votes), past polls