[Crypt::SSLeay] installing on Linux and MacOSX

[Crypt::SSLeay] installing on Linux and MacOSX

am 14.08.2006 21:00:48 von Sepehr.Ebrahimzadeh

------_=_NextPart_001_01C6BFD3.F46CE520
Content-Type: text/plain;
charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

Hi there,

=20

Is it possible to have all the installation files which come from
Crypt-SSLeay-0.51.tar.gz into a specific directory (i.e. the perl
distribution directory such as /usr/perl/)=20

So when the perl distribution is moved to another system, packaged with
some application, all the Crypt-SSLeay files would still be there,
instead of having scattered into system /lib and /usr/lib directories?=20

=20

What is the best way to install Crypt-SSLeay on a perl distribution and
be able to package it for use on another machine without having to
install the perl module again?=20

=20

Thank you very much in advance,

Sepehr


------_=_NextPart_001_01C6BFD3.F46CE520--

Re: [Crypt::SSLeay] installing on Linux and MacOSX

am 15.08.2006 07:34:55 von mumia.w.18.spam+nospam

On 08/14/2006 02:00 PM, Sepehr Ebrahimzadeh (Intern) wrote:
> Hi there,
>
>
>
> Is it possible to have all the installation files which come from
> Crypt-SSLeay-0.51.tar.gz into a specific directory (i.e. the perl
> distribution directory such as /usr/perl/)
>

Yes, if you are installing using the CPAN shell, you can
specify a Makefile.PL argument of PREFIX=/usr/perl. See the
docs for CPAN for details.

> So when the perl distribution is moved to another system, packaged with
> some application, all the Crypt-SSLeay files would still be there,
> instead of having scattered into system /lib and /usr/lib directories?
> [...]

You could probably do this without any problems for most
modules except those that use binary code. The binary code
modules would have to be re-compiled.