niXforums Forum Index
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   PreferencesPreferences   Log in to check your private messagesLog in to check your private messages   Log inLog in 
·  nixdoc.net ·  man pages ·  Linux HOWTOs ·  FreeBSD Tips ·  Forums
navigation Forum index » Not Unix » VMS » vmsperl
how to install a loadable module?
Post new topic   Reply to topic Page 1 of 1 [5 Posts] View previous topic :: View next topic
Author Message
Martin Guzman
*nix forums beginner


Joined: 16 Jan 2006
Posts: 2

PostPosted: Wed Jan 18, 2006 2:04 pm    Post subject: Re: how to install a loadable module? Reply with quote

I installed version 5.8-6, Digest::MD5 is in there. Thank you so much
for all your help.
Martin

Peter Prymmer wrote:

Quote:
Martin Guzman <martin@partners.stalker.com> wrote on 01/16/2006 10:22:40
AM:



Hello,

I just started to use perl (which mean I'm a neophite on this) and got


it


installed on OpenVMS 8.2-1 Itanium.
I am trying to install and get to work (http://www.stalker.com/CGPerl/)


CGP::


CLI class, which uses Digest::MD5 module.

After some reading, I decided to get the files and run the makefile


from


http://search.cpan.org/~gaas/Digest-MD5-2.36/. After fixing some small


issues


(changed a fatal error for a warning, and moving files around to get the


path


correctly) makefike ran, but I think I'm missing a step since now I'm


now


stuck in an error where the perl processor cant locate the loadable


object


module for MD5. how do I build the object module? how do I install it?

runing the makefile issues the folowing:
$ set def PERL_ROOT:[LIB.Digest]



It is not recommended to unpack a distribution into your perl_root.



$ perl makefilemd5.pl !original name was makefile.pl
Testing alignment requirements for U32...
Warning: prerequisite


Digest::base 1.0


0 not found at /perl_root/lib/ExtUtils/MakeMaker.pm line 343.
Warning: I could not locate your pod2man program. As a last choice,
I will look for the file to which the logical name POD2MAN
points when MMK is invoked.

Writing Descrip.MMS for Digest::MD5
$
$! testing:
$ perl ListTotals.pl



The VMS specific instructions on how to build a CPAN module
are at:

http://perldoc.perl.org/perlmodinstall.html

You could also see them locally by running:

perldoc perlmodinstall

I hope that helps.

Peter Prymmer


Back to top
PPrymmer@factset.com
*nix forums beginner


Joined: 08 Jul 2005
Posts: 21

PostPosted: Tue Jan 17, 2006 4:00 pm    Post subject: Re: how to install a loadable module? Reply with quote

Martin Guzman <martin@partners.stalker.com> wrote on 01/16/2006 10:22:40
AM:

Quote:
Hello,

I just started to use perl (which mean I'm a neophite on this) and got
it
installed on OpenVMS 8.2-1 Itanium.
I am trying to install and get to work (http://www.stalker.com/CGPerl/)
CGP::
CLI class, which uses Digest::MD5 module.

After some reading, I decided to get the files and run the makefile
from
http://search.cpan.org/~gaas/Digest-MD5-2.36/. After fixing some small
issues
(changed a fatal error for a warning, and moving files around to get the
path
correctly) makefike ran, but I think I'm missing a step since now I'm
now
stuck in an error where the perl processor cant locate the loadable
object
module for MD5. how do I build the object module? how do I install it?

runing the makefile issues the folowing:
$ set def PERL_ROOT:[LIB.Digest]

It is not recommended to unpack a distribution into your perl_root.

Quote:
$ perl makefilemd5.pl !original name was makefile.pl
Testing alignment requirements for U32...
Warning: prerequisite
Digest::base 1.0
0 not found at /perl_root/lib/ExtUtils/MakeMaker.pm line 343.
Warning: I could not locate your pod2man program. As a last choice,
I will look for the file to which the logical name POD2MAN
points when MMK is invoked.

Writing Descrip.MMS for Digest::MD5
$
$! testing:
$ perl ListTotals.pl

The VMS specific instructions on how to build a CPAN module
are at:

http://perldoc.perl.org/perlmodinstall.html

You could also see them locally by running:

perldoc perlmodinstall

I hope that helps.

Peter Prymmer
Back to top
Craig A. Berry
*nix forums Guru Wannabe


Joined: 27 May 2005
Posts: 143

PostPosted: Tue Jan 17, 2006 1:35 pm    Post subject: Re: how to install a loadable module? Reply with quote

At 5:07 PM -0800 1/16/06, martin guzman wrote:
Quote:
Thanks Craig

is MMK or MMS part of perl?
how I get them?

No, they're not. They are build tools analogous to Unix make. You
can buy MMS from HP. You can get MMK for free here:

http://www.madgoat.com

Quote:

I have version 5.6 and it does not include MD5.

You can get a pre-built kit of 5.8.4 here:

http://h71000.www7.hp.com/freeware/freeware70/perl/

HP has a supported version of 5.8.6 available as a PCSI installation kit at:

http://h71000.www7.hp.com/openvms/products/ips/apache/csws_modperl.html

If you are compiling from source, please read about the requirements
in README.vms in the source distribution.

Quote:

$ perl -e "use Digest::MD5;"
Can't locate loadable object for module Digest::MD5 in @INC
(@INC contains: /per
l_root/lib/VMS_IA64/5_6_1 /perl_root/lib
/perl_root/lib/site_perl/VMS_IA64 /perl
_root/lib/site_perl /perl_root/lib/site_perl .) at -e line
1
Compilation failed in require at -e line 1.
BEGIN failed--compilation aborted at -e line 1.
%SYSTEM-W-NOSUCHFILE, no such file

$ product show product perl
----------------------------------- -----------
------------
PRODUCT KIT TYPE STATE
----------------------------------- -----------
------------
HP I64VMS PERL V5.6-1A1 Full LP Installed
----------------------------------- -----------
------------

1 item found


Thank you so much!
Martin

On Mon, 16 Jan 2006 12:15:51 -0600
Craig Berry <craigberry@mac.com> wrote:
Martin,

A couple of observations. Recent versions of Perl
already have Digest::MD5 included ("in the core", as we
say). I'm afraid I don't have the exact definition of
"recent" handy, but I think it was in the 5.8 time frame.
If you can run the following command without error, then
you've got it:

$ perl -e "use Digest::MD5;"
$


If you do need to build it, running the Makefile.PL is
only the first step in building an extension. It just
generates the description file for MMK or MMS. A typical
complete build and install sequence looks like:

$ perl Makefile.PL
$ MMK
$ MMK test
$ MMK install


--
________________________________________
Craig A. Berry
mailto:craigberry@mac.com

"... getting out of a sonnet is much more
difficult than getting in."
Brad Leithauser
Back to top
Craig A. Berry
*nix forums Guru Wannabe


Joined: 27 May 2005
Posts: 143

PostPosted: Mon Jan 16, 2006 6:15 pm    Post subject: Re: how to install a loadable module? Reply with quote

Martin,

A couple of observations. Recent versions of Perl already have Digest::MD5 included ("in the core", as we say). I'm afraid I don't have the exact definition of "recent" handy, but I think it was in the 5.8 time frame. If you can run the following command without error, then you've got it:

$ perl -e "use Digest::MD5;"
$


If you do need to build it, running the Makefile.PL is only the first step in building an extension. It just generates the description file for MMK or MMS. A typical complete build and install sequence looks like:

$ perl Makefile.PL
$ MMK
$ MMK test
$ MMK install
Back to top
Martin Guzman
*nix forums beginner


Joined: 16 Jan 2006
Posts: 2

PostPosted: Mon Jan 16, 2006 3:22 pm    Post subject: how to install a loadable module? Reply with quote

Hello,

I just started to use perl (which mean I'm a neophite on this) and got
it installed on OpenVMS 8.2-1 Itanium.
I am trying to install and get to work (http://www.stalker.com/CGPerl/)
CGP::CLI class, which uses Digest::MD5
<http://search.cpan.org/search?module=Digest::MD5> module.

After some reading, I decided to get the files and run the makefile
from http://search.cpan.org/~gaas/Digest-MD5-2.36/. After fixing some
small issues (changed a fatal error for a warning, and moving files
around to get the path correctly) makefike ran, but I think I'm missing
a step since now I'm now stuck in an error where the perl processor
cant locate the loadable object module for MD5. how do I build the
object module? how do I install it?
**
runing the makefile issues the folowing:
$ set def PERL_ROOT:[LIB.Digest]
$ perl makefilemd5.pl !original name was makefile.pl
Testing alignment requirements for U32...
Warning: prerequisite
Digest::base 1.0
0 not found at /perl_root/lib/ExtUtils/MakeMaker.pm line 343.
Warning: I could not locate your pod2man program. As a last choice,
I will look for the file to which the logical name POD2MAN
points when MMK is invoked.

Writing Descrip.MMS for Digest::MD5
$
$! testing:
$ perl ListTotals.pl
warning: build architecture (VMS_IA64-E8.2) does not match executable
architectu
re (VMS_IA64-XATM-D2Y)
* Can't locate loadable object for module
Digest::MD5* in @IN
C (@INC contains: /perl_root/lib/VMS_IA64/5_6_1 /perl_root/lib
/perl_root/lib/si
te_perl/VMS_IA64 /perl_root/lib/site_perl /perl_root/lib/site_perl .) at
/perl_r
oot/lib/CLI.pm line 223
Compilation failed in require at /perl_root/lib/CLI.pm line 223.
BEGIN failed--compilation aborted at /perl_root/lib/CLI.pm line 223.
Compilation failed in require at listtotals.pl line 13.
BEGIN failed--compilation aborted at listtotals.pl line 13.
%SYSTEM-W-NOSUCHFILE, no such file
Back to top
Google

Back to top
Display posts from previous:   
Post new topic   Reply to topic Page 1 of 1 [5 Posts] View previous topic :: View next topic
The time now is Sat Nov 22, 2008 11:24 am | All times are GMT
navigation Forum index » Not Unix » VMS » vmsperl
Jump to:  

Similar Topics
Topic Author Forum Replies Last Post
No new posts Install suse from USB without BIOS support vjy04 Suse 0 Tue Jun 24, 2008 8:57 am
No new posts Install suse from USB without BIOS support vjy04 Suse 0 Tue Jun 24, 2008 8:56 am
No new posts Install suse from USB without BIOS support vjy04 Suse 0 Tue Jun 24, 2008 8:56 am
No new posts Install suse from USB without BIOS support vjy04 Suse 0 Tue Jun 24, 2008 8:55 am
No new posts RS6000 43p/140 AIX 4.3 new install - am stuck! remllov99x AIX 0 Tue Aug 21, 2007 11:07 pm

Credit Card | Car Loan | Loans | Credit Card Consolidation | MySpace Images
Copyright © 2004-2005 DeniX Solutions SRL
 
Other DeniX Solutions sites: Unix/Linux blog |  electronics forum |  medicine forum |  science forum | 
Privacy Policy


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.2407s ][ Queries: 20 (0.1433s) ][ GZIP on - Debug on ]