Problems building Perl 5.8.4 on Vax/VMS 6.2

[email protected] ("Rushton, Bernard (B.)")
Newsgroups perl.vmsperl
Message-ID <B7C1412B175FA64493C20F093D8AF5B701AA102D@eu1wam35.warley.ford.com>
I've seen posts dating from 2004/5 asking then if people were still
using VMS 6.2 on Vax - well some people still are in 2009!

Background: We're trying to webify some data on a Vax. Unfortunately the
app which generates it is about 30K lines of aged Macro-32 and will not
easily port to Alpha (BTDT). Neither is there the
time/inclination/budget to rewrite. The plan is to use Perl with some
kind of interface (LWP preferably) to post it externally.

First off, I downloaded the pre-built 5.4.4 binaries for Vax/VMS 6.2 but
unfortunately LWP requires Perl 5.6 or later. Argh.

OK, I then thought the easiest way would be to use Craig Berry's
PERLBUILD584.ZIP as that seems to include what we need. Sadly the build
is failing so I would greatly appreciate some pointers on where to go
next.

(Using VMS 6.2 on Vax 4000-105A, DEC C v5.5-002 (though the build
procedure reports 50590002), MMS v3.1-03)

Here is the last part of the log:-

...
        Making threads (dynamic)
Writing Descrip.MMS for threads
cp threads.pm [--.lib]threads.pm
MCR [--]miniperl.exe "-I[--.lib]" "-I[--.lib]" -e "use
ExtUtils::Mksymlists;"
 }, 'DL_VARS' => [], 'FUNCLIST' => [])"
MCR [--]miniperl.exe -e "print
""[--.lib.auto.threads]threads.olb/Include=threads\n[--.lib.auto.threads
]threads.olb/Library\n"";" >>
THREADS.OPT
MCR [--]miniperl.exe -e "print qq{[--]PerlShr.exe/Share\n}"
>>THREADS.OPT
Copy/NoConfirm THREADS.OPT [--.LIB.AUTO.THREADS]THREADS.OPT
MCR [--]miniperl.exe "-I[--.lib]" "-I[--.lib]" [--.lib.ExtUtils]xsubpp
-typemap [--.lib.ExtUtils]typemap -typemap typemap THREADS.x
s >THREADS.C
CC/DECC /Include=[]/Standard=Relaxed_ANSI/Prefix=All/Obj=.obj
/Define=("VERSION=""1.03""","XS_VERSION=""1.03""")/Include=([--])/NoLi
st  THREADS.c
If F$Search("[--.LIB.AUTO.THREADS]THREADS.OLB").eqs."" Then
Library/Object/Create [--.LIB.AUTO.THREADS]THREADS.OLB
Library/Object/Replace [--.LIB.AUTO.THREADS]THREADS.OLB THREADS.OBJ
If F$TrnLNm("PerlShr").eqs."" Then Define/NoLog/User PerlShr
Sys$Share:PerlShr.exe
Link /NoTrace/NoMap /Shareable=[--.LIB.AUTO.THREADS]PL_THREADS.EXE
threads.opt/Option,[--]perlshr_attr.opt/Option
Running mkbootstrap for threads ()
Copy/NoConfirm threads.bs [--.lib.auto.threads]threads.bs

        Making threads/shared (dynamic)
Writing Descrip.MMS for threads::shared
cp shared.pm [---.lib.threads]shared.pm
MCR [---]miniperl.exe "-I[---.lib]" "-I[---.lib]" -e "use
ExtUtils::Mksymlists;"
'DL_FUNCS' => {  }, 'DL_VARS' => [], 'FUNCLIST' => [])"
MCR [---]miniperl.exe -e "print
""[---.lib.auto.threads.shared]shared.olb/Include=shared\n[---.lib.auto.
threads.shared]shared.olb/Li
brary\n"";" >>SHARED.OPT
MCR [---]miniperl.exe -e "print qq{[---]PerlShr.exe/Share\n}"
>>SHARED.OPT
Copy/NoConfirm SHARED.OPT [---.LIB.AUTO.THREADS.SHARED]SHARED.OPT
MCR [---]miniperl.exe "-I[---.lib]" "-I[---.lib]"
[---.lib.ExtUtils]xsubpp  -typemap [---.lib.ExtUtils]typemap -typemap
typemap SHAR
ED.xs >SHARED.C
Warning: long symbol threads__shared__tie_STORESIZE
        trimmed to threads_shared_tie_STORESIZE
         at [---.lib.extutils]xsubpp line 1126
Warning: long symbol threads__shared__tie_FIRSTKEY
        trimmed to threads_shared_tie_FIRSTKEY
         at [---.lib.extutils]xsubpp line 1126
Warning: long symbol threads__shared_cond_wait_enabled
        trimmed to tes_sr_cd_wt_enabled
         at [---.lib.extutils]xsubpp line 1126
Warning: long symbol threads__shared_cond_timedwait_enabled
        trimmed to tes_sr_cd_tea_enabled
         at [---.lib.extutils]xsubpp line 1126
Warning: long symbol threads__shared_cond_signal_enabled
        trimmed to tes_sr_cd_sn_enabled
         at [---.lib.extutils]xsubpp line 1126
Warning: long symbol threads__shared_cond_broadcast_enabled
        trimmed to tes_sr_cd_baa_enabled
         at [---.lib.extutils]xsubpp line 1126
CC/DECC /Include=[]/Standard=Relaxed_ANSI/Prefix=All/Obj=.obj
/Define=("VERSION=""0.92""","XS_VERSION=""0.92""")/Include=([---])/NoL
ist  SHARED.c
If F$Search("[---.LIB.AUTO.THREADS.SHARED]SHARED.OLB").eqs."" Then
Library/Object/Create [---.LIB.AUTO.THREADS.SHARED]SHARED.OLB
Library/Object/Replace [---.LIB.AUTO.THREADS.SHARED]SHARED.OLB
SHARED.OBJ
If F$TrnLNm("PerlShr").eqs."" Then Define/NoLog/User PerlShr
Sys$Share:PerlShr.exe
Link /NoTrace/NoMap
/Shareable=[---.LIB.AUTO.THREADS.SHARED]PL_THREADS__SHARED.EXE
shared.opt/Option,[---]perlshr_attr.opt/Option
Running mkbootstrap for threads::shared ()
Copy/NoConfirm shared.bs [---.lib.auto.threads.shared]shared.bs

        Making Time/HiRes (dynamic)
Configuring Time::HiRes...
Your operating system does not seem to have the gettimeofday() function.
(or, at least, I cannot find it)

There is no way Time::HiRes is going to work.

I am awfully sorry but I cannot go further.

Aborting configuration.

Looking for gettimeofday()...
%RMS-E-FNF, file not found
%RMS-E-FNF, file not found
%MMS-F-ABORT, For target DYNEXT, CLI returned abort status: %X00018292.
-RMS-E-FNF, file not found

----------------------------

TVMIA

Bernard Rushton
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.