473,408 Members | 1,980 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,408 software developers and data experts.

Crypt::RSA, manual module installation

hello,

need help with the subject. i need a module. unfortunately official
PPM way doesn work for me (proxy/firewall issues). i am trying to
install it manually. what i basically do is i run following code:
--------------------------------------------------
#!/path/perl -w
use Crypt::RSA;
my $rsa=Crypt::RSA->new;
--------------------------------------------------
and search/download and copy modules needed for the successfull run. i
have come up to following error:

Can't locate loadable object for module Math::PARI at
/path/Crypt/Random.pm line 14

if i look into Crypt/Random.pm, the line 14 is:

use Math::Pari qw(PARI flooor Mod pari2pv pari2num lift);

now i have no idea what to do.. Any advices?

thanks,
alex
Jul 19 '05 #1
1 7502
alex wrote:
hello,

need help with the subject. i need a module. unfortunately official
PPM way doesn work for me (proxy/firewall issues). i am trying to
install it manually. what i basically do is i run following code:
--------------------------------------------------
#!/path/perl -w
use Crypt::RSA;
my $rsa=Crypt::RSA->new;
--------------------------------------------------
and search/download and copy modules needed for the successfull run. i
have come up to following error:

Can't locate loadable object for module Math::PARI at
/path/Crypt/Random.pm line 14

if i look into Crypt/Random.pm, the line 14 is:

use Math::Pari qw(PARI flooor Mod pari2pv pari2num lift);

now i have no idea what to do.. Any advices?


Did you try the CPAN shell method ?
I did the following:

start -> run ... -> cmd.exe

perl -MCPAN -e shell
install Crypt::RSA

It ran for a while and I got this:

Failed 15/16 test scripts, 6.25% okay. 0/6 subtests failed, 100.00% okay.
NMAKE : fatal error U1077: 'C:\Perl\bin\perl.exe' : return code '0x2'
Stop.
"C:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\bin\nmake.exe"
test --
NOT OK
Running make install
make test had returned bad status, won't install without force

While running I also got this error message popping up:
Perl Command Line Interpreter has encountered a problem and needs to close.
We are sorry for the inconvenience.
So it seems that "make" worked but "make test" failed,
maybe your scriped would still work that way, you could try ...

--
Dieter D'Hoker
news:free.nl.dieter.dhoker & news:alt.nl.fan.dieter.dhoker
Google? http://neverseenbefore.com/
Multiplayer tetris? http://www.tsrv.com/
Jul 19 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: Marco Herrn | last post by:
I want to use a crypt function to store crypted passwords. These will be used to verify mail-user access. Now the crypt() function from the module crypt is only significant for the first 8...
1
by: Marco Herrn | last post by:
Hi, I don't know wether this is really the best place for asking this question. If you know a better, please tell me. The problem is an understanding of the 3 modules for hash algorithms. I need...
7
by: Bart Nessux | last post by:
Does Python have anything similar to Perl's Crypt::PasswdMD5??? I read about the crypt module... but it only does DES. Any plans to add md5 or other digests to it in the future?
0
by: AdrianK | last post by:
I'm having a lotta problems installing Crypt::RSA on Linux Linux gogol 2.4.17smt-mono using perl5.005_03. Main problem at present is that all the tests fail with Crypt::Primes When I run a trace...
0
by: John Bergstrom | last post by:
Hello everyone! I wrote a simple perl program to encrypt a string using Crypt::OpenSSL::RSA. Everything as described in the module documentation. The public key is a valid X.509 encrypted...
0
by: Richard Eichhorn | last post by:
I am new to encryption, and am trying a determine how to encrypt a file using RSA encryption in perl. The module Crypt::RSA only allows for encryption of strings rather than a whole file. Are...
3
by: TheWalWorker | last post by:
Hi everyone! I'm working on an RSA project that has to communicate with ASP.NET. Here's my problem: I'm following the code here: http://cpan.uwinnipeg.ca/htdocs/Crypt-RSA/Crypt/RSA.html This...
12
by: jcor | last post by:
Hi, I'm using Ubuntu 7.04. I'm writing a sript that sends files via ftp for several destinations. So far I used Net::FTP and it worked fine. My problem is that I need to send files via SFTP...
7
by: arnab0143 | last post by:
Hi All, I'm using Crypt::RSA module for generating public & private keys. Now the problem is that when I'm storing the keys in the database, and again bringing them to do the signature or...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.