inman has asked for the wisdom of the Perl Monks concerning the following question:

I have previously been using the ActiveState Perl distribution on Windows. In this environment I have been able to install modules using PPM or, for those times when a PPM package was not available, I have been able to download and install from CPAN.

I am now installing a number of scripts onto a Solaris 9 server. The application uses Crypt::SSLeay etc. which need to be downloaded and have binaries compiled as part of the installation. My problem is that the Solaris servers that I am using have a minimal OS install which specifically does not include a compiler. Tools such as make are available but cc (or gcc) and the associated compiler files are not installed.

Bearing in mind that Crypt::SSLeay is not available as a PPM package for Solaris, is installing a compiler (on a dev machine) and using the CPAN package my only choice? If so, what is the best way to then distribute the modules to the servers that do not have compilers installed?

  • Comment on Crypt::SSLeay distribution for Solaris 9

Replies are listed 'Best First'.
Re: Crypt::SSLeay distribution for Solaris 9
by coec (Chaplain) on May 13, 2004 at 00:32 UTC
    My understanding is that PPM's are for Windows ActiveState Perl only (I'm sure someone will correct me if this is incorrect).

    Probably the easiest way to solve your problem is to put the module tarball on another Solaris machine of similar hardware and to run 'make'. Then re tar up the directory and copy the new tarball to your dev machine and once there, run 'make install'.

    CC

      My understanding is that PPM's are for Windows ActiveState Perl only (I'm sure someone will correct me if this is incorrect).
      No, PPM's are for perl. #

      MJD says "you can't just make shit up and expect the computer to know what you mean, retardo!"
      I run a Win32 PPM repository for perl 5.6.x and 5.8.x -- I take requests (README).
      ** The third rule of perl club is a statement of fact: pod is sexy.