tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
* SUMMARY> Re: Curses 1.01 not compiling with Perl V5.003
@ 1997-05-14  7:12 Neil Movold
  0 siblings, 0 replies; only message in thread
From: Neil Movold @ 1997-05-14  7:12 UTC (permalink / raw)
  To: tru64-unix-managers

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: multipart/mixed; boundary="--0__=ZJtNZsPpNGCBfvMwtlRLg2xrdUvj7nDGMexuwXiWqRLWqas7pLF3BKyU", Size: 7056 bytes --]

  This message is in MIME format.  The first part should be readable text,
  while the remaining parts are likely unreadable without MIME-aware tools.
  Send mail to mime@docserver.cac.washington.edu for more info.

--0__=ZJtNZsPpNGCBfvMwtlRLg2xrdUvj7nDGMexuwXiWqRLWqas7pLF3BKyU
Content-Type: TEXT/PLAIN; CHARSET=US-ASCII
Content-ID: <Pine.ULT.3.90.970514024840.251I@nukem.bsl.bm>

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@ibl.bm wrote:

> Date: Wed, 14 May 1997 02:10:50 -0300
> From: nmovold@ibl.bm
> To: alpha-osf-managers@ornl.gov
> Cc: William_Setzer@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@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@ibl.bm     
P.O. Box HM2445
Hamilton, Bermuda
HM JX

--0__=ZJtNZsPpNGCBfvMwtlRLg2xrdUvj7nDGMexuwXiWqRLWqas7pLF3BKyU
Content-Type: APPLICATION/OCTET-STREAM; NAME="PIC31273.PCX"
Content-Transfer-Encoding: BASE64
Content-ID: <Pine.ULT.3.90.970514024840.251J@nukem.bsl.bm>

CgUBCAAAAABoACwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA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PLE8YTwxMT8BPKBgfYE8wTxhPDExP1E9sTzRPHE8MTwhP1E9sTzRPH
E8MTwhMMAAAAgAAAAIAAgIAAAACAgACAAICAwMDAwNzApsrw//vwoKCkgICA/wAAAP8A//8AAAD/
/wD/AP//////AAAAgAAAAIAAgIAAAACAgACAAICAwMDAwNzApsrw//vwoKCkgICA/wAAAP8A//8A
AAD//wD/AP//////AAAAgAAAAIAAgIAAAACAgACAAICAwMDAwNzApsrw//vwoKCkgICA/wAAAP8A
//8AAAD//wD/AP//////AAAAgAAAAIAAgIAAAACAgACAAICAwMDAwNzApsrw//vwoKCkgICA/wAA
AP8A//8AAAD//wD/AP//////AAAAgAAAAIAAgIAAAACAgACAAICAwMDAwNzApsrw//vwoKCkgICA
/wAAAP8A//8AAAD//wD/AP//////AAAAgAAAAIAAgIAAAACAgACAAICAwMDAwNzApsrw//vwoKCk
gICA/wAAAP8A//8AAAD//wD/AP//////AAAAgAAAAIAAgIAAAACAgACAAICAwMDAwNzApsrw//vw
oKCkgICA/wAAAP8A//8AAAD//wD/AP//////AAAAgAAAAIAAgIAAAACAgACAAICAwMDAwNzApsrw
//vwoKCkgICA/wAAAP8A//8AAAD//wD/AP//////AAAAgAAAAIAAgIAAAACAgACAAICAwMDAwNzA
psrw//vwoKCkgICA/wAAAP8A//8AAAD//wD/AP//////AAAAgAAAAIAAgIAAAACAgACAAICAwMDA
wNzApsrw//vwoKCkgICA/wAAAP8A//8AAAD//wD/AP//////AAAAgAAAAIAAgIAAAACAgACAAICA
wMDAwNzApsrw//vwoKCkgICA/wAAAP8A//8AAAD//wD/AP//////AAAAgAAAAIAAgIAAAACAgACA
AICAwMDAwNzApsrw//vwoKCkgICA/wAAAP8A//8AAAD//wD/AP//////AAAAgAAAAIAAgIAAAACA
gACA//vwoKCkgICA/wAAAP8A//8AAAD//wD/AP//////

--0__=ZJtNZsPpNGCBfvMwtlRLg2xrdUvj7nDGMexuwXiWqRLWqas7pLF3BKyU--

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~1997-05-14  7:12 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1997-05-14  7:12 SUMMARY> Re: Curses 1.01 not compiling with Perl V5.003 Neil Movold

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox