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
and then tried building it manually and get the same results. My environment is as follows:$ perl -MCPAN -e 'install Curses'
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.$ 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]
The errors (that are important) that I'm getting are:
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: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
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. | |
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Red Hat 9 --- Curses.pm installation woes.
by Paladin (Vicar) on Feb 12, 2004 at 18:53 UTC | |
by Anonymous Monk on Feb 12, 2004 at 19:10 UTC | |
by blue_cowdawg (Monsignor) on Feb 12, 2004 at 19:19 UTC | |
|
Re: Red Hat 9 --- Curses.pm installation woes.
by flyingmoose (Priest) on Feb 12, 2004 at 19:21 UTC |