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
Received on Wed May 14 1997 - 07:34:07 NZST