- Integrated Systems
- About Us
- Integrated Systems
- About Us
Dec 15, 4:00 am to 10:00 am UTC
Dec 14, 10:00 pm CST to Dec 15, 4:00 am CST
Dec 14, 8:00 pm PST to Dec 15, 2:00 am PST
07-08-2010 07:04 AM
I have a software write in perl 5.010 that works on my linux machine using perl module net::dns and I would want to port it on VMS alpha or (possibly) itanium on an ODS5 disk.
Do you know if it is possible? The module net::dns is supported on VMS?
Thanks in advance
Solved! Go to Solution.
07-08-2010 08:03 AM
A similar topic was discussed in the below thread. May be useful.
07-08-2010 07:08 PM
Check the following links -
Hope this helps.
07-09-2010 11:47 AM
I spent 10 minutes building the current version (0.66) myself and with minor adjustments got it to build and pass most of its tests (only failed 3 of 1492). The failures seem to have to do with additional modules that I don't have installed and poorly written tests that do not check for their presence before running.
So the module appears to work on VMS, but no, in answer to the original question, no, it is not "supported" in the sense that anyone guarantees it will work or has any obligation to make it work.
07-12-2010 01:50 AM
I wanted to know if it was possible because I have to install the perl too...
Now I've decided to try. I have chosen an IA64 Operating System (Version V8.3-1H1), ODS5 disk and perl 5.10.1.
I followed the README.vms file in the perl packet, extracted files in PERL_5-010.DIR and in the directory
gave the commands:
@configure "-des" "-Dprefix=DATE$MSA1:[perl5]
During mmk I obtain the error in the attachment.
07-12-2010 10:09 AM
rename the top-level source directory like so:
set security/protection=(o:rwed) perl-5^.10^.1.dir
rename perl-5^.10^.1.dir perl-5_10_1.dir
The reason for this last step is that while filenames with multiple dots
are generally supported by Perl on VMS, I
dots are a special case with special problems because the dot is the
traditional directory delimiter on VMS. Rudimentary support for
multi-dot directory names is available, but some of the oldest and most
essential parts of Perl (such as searching for and loading library
modules) do not yet fully support the ODS-5 caret-escape syntax.
07-15-2010 11:54 PM
Thanks Craig. I thought that giving the command
I could skip this passage...but I'm wrong.
Now I've given the commands (I decided to use the last perl version):
set security/protection=(o:rwed) perl-5^.12^.1.DIR;1
rename perl-5^.12^.1.DIR perl-5_12_1.DIR
@configure "-des" "-Dprefix=DATE$MSA1:[PERL-5_12_1.]"
My machine appears to be very slow...it spends about four or five hours to do mmk and mmk test. Is it normal? The system don't seem to be overload. I have four cpu and with "system monitor" the CPU load is always about 120 of 400. Suggests?
During mmk test there are a series of failed tests as:
t/op/exec...FAILED at test 16
cpan/Archive-Extract/t/01_Archive-Extract.........FAILED at test 35
cpan/Archive-Tar/t/02_methods...FAILED at test 241
cpan/Compress-Raw-Bzip2/t/01bzip2......FAILED--expected 173 tests, saw 10
cpan/Compress-Raw-Bzip2/t/09limitoutput..FAILED--expected 88 tests, saw 5
cpan/CPANPLUS/t/03_CPANPLUS-Internals-Source...FAILED at test 40
cpan/CPANPLUS/t/15_CPANPLUS-Shell.....FAILED--extra output after trailing 1..n
cpan/ExtUtils-Command/t/cp........FAILED at test 1
cpan/ExtUtils-MakeMaker/t/pm_to_blib.....FAILED at test 8
cpan/IO-Compress/t/001bzip2.........FAILED at test 58
cpan/IO-Compress/t/006zip......FAILED--expected 77 tests, saw 17
I have do two attempts and in both case the process after the 006zip test failed doesn't go on (doesn't return the prompt).
My mmk and C compiler version are:
mmk/ident: %MMK-I-IDENT, this is the MadGoat Make Utility V4.1
CC/version nl: HP C V7.2-001 on OpenVMS IA64 V8.3-1H1
09-03-2010 02:59 AM
I have installed perl 5.10.1 and now it works.
So I've tried to install the perl module Net::DNS. I've read that is not advise to use the module cpan (giving the command cpan Net::DNS) in VMS.
So I've given the command:
cpanp install "Net::DNS"
but it doesn't work. I obtain the error:
ISTI-MX4> cpanp install "Net::DNS"
[ERROR] Could not find the 'cpanp-run-perl' binary in your path--this may be a problem.
Please locate this program and set your 'perlwrapper' config entry to its path.
From the default shell, you can do this by typing:
s program perlwrapper FULL_PATH_TO_CPANP_RUN_PERL
09-03-2010 08:09 AMSolution
I did get Net::DNS to install this way (despite the warnings) but it installed the pure Perl version because it has a very Unix-specific method for determining if there is a C compiler.
You can force it to build the XS version by doing
$ perl Makefile.PL --xs
$ mms install
09-07-2010 01:58 AM
I have installed the missing modules to satisfy dependencies of Net::DNS.
After I've tried to install Net-DNS-0.66 giving the commands:
$ perl Makefile.PL --xs (I obtain "looks good" from check if the kit is complete)
during mmk process I obtain the first error in the attachment.
Instead if I ignore the --xs option for link to the libresolv library, I obtain during mmk test the second error in the attachment.
09-07-2010 02:05 AM
#define MAXDNAME 1010
#define MAXDNAME 1010
and you might report to the module author that he shouldn't blindly redefine macros defined in standard headers.
09-07-2010 04:42 AM
Ok, thanks. Now the mmk works but I still have problems during mmk test.
I obtain the error in the attachment and so the process stops before running tests.
09-07-2010 11:24 AM