Craig,

Thanks for the suggestion -  I downloaded VMS::SYSTEM and tried to build
it but it fails to compile with the following errors.  It looks like the
last time this kit was worked on was back in the late 90's.  Any
suggestions about how to get it to compile?

Robert

$Perl makefile.pl
$mmk
CC/DECC
/Include=[]/Standard=Relaxed_ANSI/Prefix=All/Obj=.obj/List/Machine/Show=
Expan /NOANSI_ALIAS/float=ieee/ieee=denorm_results/D
efine=("VERSION=""1.04""","XS_VERSION=""1.04""")/Include=(perl_root:[lib
.VMS_AXP.5_8_6.CORE])/List/Machine/Show=Expan  SYSTEM.c + SY
S$LIBRARY:SYS$LIB_C/LIBRARY

  return(&sv_undef);
..........^
%CC-E-UNDECLARED, In this statement, "sv_undef" is not declared.
at line number 1042 in file
SYS$SYSDEVICE:[SOFTWARE.LIB.VMS.SYSTEM]system.xs;1

    if (strEQ(SysInfoList[i].SysInfoName, SvPV(infoname, na))) {
........^
%CC-E-UNDECLARED, In this statement, "na" is not declared.
at line number 1204 in file
SYS$SYSDEVICE:[SOFTWARE.LIB.VMS.SYSTEM]system.xs;1

    ST(0) = &sv_undef;
.............^
%CC-E-UNDECLARED, In this statement, "sv_undef" is not declared.
at line number 1212 in file
SYS$SYSDEVICE:[SOFTWARE.LIB.VMS.SYSTEM]system.xs;1

      ST(0) = &sv_undef;
...............^
%CC-E-UNDECLARED, In this statement, "sv_undef" is not declared.
at line number 1217 in file
SYS$SYSDEVICE:[SOFTWARE.LIB.VMS.SYSTEM]system.xs;1

        ST(0) = &sv_undef;
.................^
%CC-E-UNDECLARED, In this statement, "sv_undef" is not declared.
at line number 1289 in file
SYS$SYSDEVICE:[SOFTWARE.LIB.VMS.SYSTEM]system.xs;1

            ST(0) = &sv_yes;
.....................^
%CC-E-UNDECLARED, In this statement, "sv_yes" is not declared.
at line number 1330 in file
SYS$SYSDEVICE:[SOFTWARE.LIB.VMS.SYSTEM]system.xs;1

            ST(0) = &sv_no;
.....................^
%CC-E-UNDECLARED, In this statement, "sv_no" is not declared.
at line number 1332 in file
SYS$SYSDEVICE:[SOFTWARE.LIB.VMS.SYSTEM]system.xs;1

          ST(0) = &sv_undef;
...................^
%CC-E-UNDECLARED, In this statement, "sv_undef" is not declared.
at line number 1335 in file
SYS$SYSDEVICE:[SOFTWARE.LIB.VMS.SYSTEM]system.xs;1

        ST(0) = &sv_undef;
.................^
%CC-E-UNDECLARED, In this statement, "sv_undef" is not declared.
at line number 1340 in file
SYS$SYSDEVICE:[SOFTWARE.LIB.VMS.SYSTEM]system.xs;1

                   strlen(OurDataList[i].ItemName), &sv_yes, 0);
.....................................................^
%CC-E-UNDECLARED, In this statement, "sv_yes" is not declared.
at line number 1502 in file
SYS$SYSDEVICE:[SOFTWARE.LIB.VMS.SYSTEM]system.xs;1

                   strlen(OurDataList[i].ItemName), &sv_no, 0);
.....................................................^
%CC-E-UNDECLARED, In this statement, "sv_no" is not declared.
at line number 1505 in file
SYS$SYSDEVICE:[SOFTWARE.LIB.VMS.SYSTEM]system.xs;1

    ST(0) = &sv_undef;
.............^
%CC-E-UNDECLARED, In this statement, "sv_undef" is not declared.
at line number 1520 in file
SYS$SYSDEVICE:[SOFTWARE.LIB.VMS.SYSTEM]system.xs;1

    bit_test(AllPurposeHV, PRC$M_TCB, "TCB", BitmapValue);
....^
%CC-E-UNDECLARED, In this statement, "sv_yes" is not declared.
at line number 1548 in file
SYS$SYSDEVICE:[SOFTWARE.LIB.VMS.SYSTEM]system.xs;1

    bit_test(AllPurposeHV, PRC$M_TCB, "TCB", BitmapValue);
....^
%CC-E-UNDECLARED, In this statement, "sv_no" is not declared.
at line number 1548 in file
SYS$SYSDEVICE:[SOFTWARE.LIB.VMS.SYSTEM]system.xs;1

    ST(0) = &sv_undef;
.............^
%CC-E-UNDECLARED, In this statement, "sv_undef" is not declared.
at line number 1574 in file
SYS$SYSDEVICE:[SOFTWARE.LIB.VMS.SYSTEM]system.xs;1
%MMK-F-ERRUPD, error status %X10B91262 occurred when updating target
SYSTEM.OBJ
-----Original Message-----
From: "Craig A. Berry" <[EMAIL PROTECTED]>@DUKEPOWER 
Sent: Wednesday, July 19, 2006 11:52 PM
To: Boyd, Robert L
Cc: vmsperl@perl.org
Subject: RE: Installing Net::SSH2 on OpenVMS

Robert,

I see that you are all over the net today with essentially the same
question on comp.os.vms and the ITRC forum.  It appears that you have
found out the same thing that was my understanding, which is that to
get the name of your Alpha architecture, you pretty much have to roll
your own number to name translation, i.e.,

$ write sys$output f$getsyi("cputype")
8

is not immediately obvious, without reading the include files, that
this is an EV67 system.  In principle, the VMS::System Perl extension
could retrieve this just as well as DCL can, though I haven't used
that recently.

Let us know if you get SSH2 running and if there are any necessary
changes to the extension.

At 1:46 PM -0400 7/19/06, Boyd, Robert L wrote:
>I'm trying to do the build of SSH2 and running into a problem.   It's
>looking for a c include file gmp.h.  My research so far leads me to
>believe this is part of the GMP kit.  I'm attempting to build GMP under
>the GNV environment and running into trouble with the configure script.
>Config.guess is blowing up while attempting to sort out exactly which
>model of Alpha I'm running on.  The code looks as if it's never really
>been tested on VMS.  There's pieces that look like they're VMS aware,
>but the part that gets down to distinguishing EV4/EV5/EV56... is not
>fleshed out.
>
>Do any of you out there have any experience with this kind of thing? 
>
>Or do you know another way for me to get gmp.h?   Or is there another
>way to do what I want?
>
>Have any of you built the SSH2 kit on Alpha?
>
>Thanks for any leads/hints/solutions!
>
>Robert Boyd


-- 
________________________________________
Craig A. Berry
mailto:[EMAIL PROTECTED]

"... getting out of a sonnet is much more
 difficult than getting in."
                 Brad Leithauser

Reply via email to