Patricia Hinman wrote:
I would like to pack some modules with my program. I've learned about use lib qw(/mydirto/mylibrary/); for simple modules. Now I have an module that has
several directories (Crypt::OpenPGP). The program
can't find the module in the library when I simply
upload it to the server.
I've appended this to the library: cgi-bin/cryption/Crypt-OpenPGP-1.03/lib/Crypt
the pm file is in this directory.

Do I have to use makefile.pl to install these on my
web server? I don't have super user privileges.

May need to back up 2-3 steps first. What OS is the web server running? Windows (version?)? Unix (type?)? Other?

Crypt::OpenPGP has a number of dependencies:

Data::Buffer,
MIME::Base64
Math::Pari
Compress::Zlib
LWP::UserAgent
URI::Escape
Crypt::DSA
Crypt::RSA

And then a whole slew of possible dependencies depending on the type of encryption you wish to mimic, and at the very least Math::Pari is a lib based off of a C package.

Do you have all of the prerequisites available? installed? Is the computer you are copying from running the same architecture/OS as the server?

With simple modules it is often possible to just upload the files, however you are likely going to run into issues in this case. The best way to install a complex module like this is to use CPAN (or building by hand), but that is going to require other development tools to be installed, which is the last question, is there a development environment setup so that you can compile C objects?

Going to need more info before going any further... (though it can be done, I have done it myself).

http://danconia.org


--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to