SUMMARY> Re: Curses 1.01 not compiling with Perl V5.003

From: Neil Movold <nmovold_at_ibl.bm>
Date: Wed, 14 May 1997 03:12:35 -0400 (EDT)

Well,
        digging around in the code, I figured out my own problem. It
would seem that the Makefile.PL was using a version of the "curses.h" file
in my "/usr/local/include" directory. This is a version that was supplied
from something, although looking into the file, I cannot find out from what.
There was also a version that was supplied with the OS in "/usr/include",
which was much bigger in size. I copied this version to my
"/usr/local/include" directory, and besides a few warnings, the source
compiled just fine and tested fine with gdc.

        As an aside, I was using the perlmenu V3.3 source and had to
modify the menu.pl code to disable the "getcap" settings to use
"terminfo", rather then "termcap". Now everything works just great.

        I hope this is useful to someone trying to do the same thing.

                        Neil :-)


On Wed, 14 May 1997 nmovold_at_ibl.bm wrote:

> Date: Wed, 14 May 1997 02:10:50 -0300
> From: nmovold_at_ibl.bm
> To: alpha-osf-managers_at_ornl.gov
> Cc: William_Setzer_at_ncsu.edu
> Subject: Curses 1.01 not compiling with Perl V5.003
>
>
>
>
>
>
>
>
> Hi,
> I have been trying to compile V1.01 of Curses for Perl V5.003
> and I get the following error message :
>
> cc -c -DSTANDARD_C -I/usr/local/include -D__LANGUAGE_C__ -D_NO_PROTO -O2
> -Olimit 2900 -DVERSION=\"1.01\" -DXS_VERSION=\"1.01\"
> -I/usr/local/lib/perl5/alpha-dec_osf/5.003/CORE Curses.c
> cc: Error: Curses.c, line 996: Invalid expression.
> int ret = gettmode();
> --------------------------------^^
> cc: Error: Curses.c, line 999: In this statement, "ret" is not declared.
> sv_setiv(ST(0), (IV)ret);
> ----------------------------^^
> *** Exit 1
> Stop.
>
>
>
> Now, I tried to use the c-dec_osf.h file, but that did not work. I also
> tried the c-none.h with no luck. The thing that I do know is that I have
> been successful in compiling this source on another system that has Perl
> V5.001 on it, not V5.003. The only other difference is the version of
> Digital UNIX. On my Perl V5.003 system that does not compile, the version
> is 4.0b and on my Perl V5.001 system which does compile, the version is
> 3.2g. However, I don't think this is an OS issue as much as it is a Perl
> issue as the Makefile is much different from system to system when using
> the different versions of Perl with Makefile.PL.
>
> Any suggestions would be appreciated.
>
> Neil :-)
> \\\//
> (o o)
> ------------------ooO-(_)-Ooo-----------------------------------------
> Neil Movold Phone : +1 441 296-1800
> Director of Technology Fax : +1 441 295-7269
> Internet (Bermuda) Limited E-mail : nmovold_at_ibl.bm
> P.O. Box HM2445
> Hamilton, Bermuda
> HM JX
>


                     \\\//
                     (o o)
------------------ooO-(_)-Ooo-----------------------------------------
Neil Movold Phone : +1 441 296-1800
Director of Technology Fax : +1 441 295-7269
Internet (Bermuda) Limited E-mail : nmovold_at_ibl.bm
P.O. Box HM2445
Hamilton, Bermuda
HM JX

Received on Wed May 14 1997 - 08:37:33 NZST

This archive was generated by hypermail 2.4.0 : Wed Nov 08 2023 - 11:53:36 NZDT