Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
PerlMonks  

Red Hat 9 --- Curses.pm installation woes.

by blue_cowdawg (Monsignor)
on Feb 12, 2004 at 18:42 UTC ( #328630=perlquestion: print w/ replies, xml ) Need Help??
blue_cowdawg has asked for the wisdom of the Perl Monks concerning the following question:

Dear Fellow Monks,
I am attempting to install Curses on my system and getting compile time errors when running make. First I tried running it from

$ perl -MCPAN -e 'install Curses'
and then tried building it manually and get the same results. My environment is as follows:
$ uname -a Linux my-dell-box 2.4.20-18.9 #1 Thu May 29 07:08:16 EDT 2003 i686 i68 +6 i386 GNU/Linux $ perl -v This is perl, v5.8.0 built for i386-linux-thread-multi (with 1 registered patch, see perl -V for more detail) [unimportant spew snipped]
My first thought is that somehow this being a threaded Perl may somehow be messing with the build. If that is the case I am very willing to rip the Perl that comes with this system off of it and install one that I've built without the threading for my own purposes. However, I am looking at a much larger picture and since this is the version of Perl that comes with the corporate Linux standard desk/laptop build I'd rather fix the module installation issue.

The errors (that are important) that I'm getting are:

Curses.c: In function `c_sv2window': Curses.c:275: warning: passing arg 1 of `Perl_sv_isa' from incompatibl +e pointer type Curses.c:275: warning: passing arg 2 of `Perl_sv_isa' from incompatibl +e pointer type Curses.c:275: too few arguments to function `Perl_sv_isa' In file included from Curses.c:344: CursesFun.c: In function `XS_Curses_newterm': CursesFun.c:1279: warning: initialization from incompatible pointer ty +pe CursesFun.c:1280: warning: initialization from incompatible pointer ty +pe CursesFun.c: In function `XS_Curses_putwin': CursesFun.c:3453: warning: initialization from incompatible pointer ty +pe CursesFun.c: In function `XS_Curses_getwin': CursesFun.c:3472: warning: initialization from incompatible pointer ty +pe make: *** [Curses.o] Error 1
There were other errors as well about bool being redifined but I don't think that has anything to do with it. The manual build was done via:
perl Makefile.PL FORMS MENUS GEN PANELS

Thoughts anyone? Anybody else run into this?


Peter L. Berghold -- Unix Professional
Peter at Berghold dot Net
   Dog trainer, dog agility exhibitor, brewer of fine Belgian style ales. Happiness is a warm, tired, contented dog curled up at your side and a good Belgian ale in your chalice.

Comment on Red Hat 9 --- Curses.pm installation woes.
Select or Download Code
Re: Red Hat 9 --- Curses.pm installation woes.
by Paladin (Priest) on Feb 12, 2004 at 18:53 UTC
    There is a patch available out there somewhere, but I can't find it on the web, so I will include it below in READMORE tags.

      That did the trick! Thank you kindly sir!


      Peter L. Berghold -- Unix Professional
      Peter at Berghold dot Net
         Dog trainer, dog agility exhibitor, brewer of fine Belgian style ales. Happiness is a warm, tired, contented dog curled up at your side and a good Belgian ale in your chalice.
Re: Red Hat 9 --- Curses.pm installation woes.
by flyingmoose (Priest) on Feb 12, 2004 at 19:21 UTC
    Thanks for posting this Paladin...I was having exactly the same problem with Curses!

    Usually I've found most compile errors with RedHat 9 (and Fedora Core 1, which I run at home) can be fixed by running apt-get against some "-devel" package. This didn't help with Curses. And I wanted Curses. Bad. I like console apps.

    The one I haven't been able to conquer is OpenGL support. Sadly, there are no bugs listed on the bug page for OpenGL.pm on RedHat 9 or Fedora Core 1. Anyone know if there are any patches available for this?

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others rifling through the Monastery: (5)
As of 2015-07-05 16:32 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (67 votes), past polls