Clifford Bruce wrote:
> 
> I am a beginner at PERL, PERL modules, and UNIX. I installed RADIATOR on
> my Ultra 2 with Solaris 8. Before I can configure RADIATOR I need to
> install several modules (e.g. MD4, ldap, openSSL). The first module I
> have attempted to install is MD4. I began by finding out what the
> default PERL path was by issuing the following command:
> 
> perl -e "print qq(@INC)"

Perl and Unix are not acronyms or abbreviations although LDAP is.


> Their were several paths so I chose one which was:
> 
> /usr/per5/5.005003/sun4-solaris

Perl 5.005_03 is a rather old version.  You should be able to get Perl
version 5.8.3 from Sun's web site.


> I copied the Digest-MD4-1.3.tar file to this directory and then used the
> following command to untar it:
> 
> tar -xof Digest-MD4-1.3.tar
> 
> I then looked for the "make" command by doing the following:
> 
> find / -name make -print

which make

Although if make is in your path then you don't really need to know
which directory it is in.


> I copied the make command to the Digest-MD4-1.3 directory that was
> created after a decompressed the tar file. I then went to ths directory
> and issued the following command:
> 
> ./make

Did 'make' not work when you tried to run it from its original location?


> The command started creating directory and seemed to be working fine but
> at the end there was the following fatal error:
> 
> *** Error code 1
> 
> make: Fatal error: command failed for target 'MD4.o'

The usual way to install a Perl module is to run these commands:

perl Makefile.PL
make
make test
make install

The untarred file does not have to be in the @INC path as the
installation knows where to install itself.  The last step (make
install) has to be run as root but the first three can be run as any
user.  Because this module contains an .xs file which is written in C,
you have to have a C compiler and AFAIK it has to be the same compiler
that compiled perl itself.  Run 'perl -V' on the command line to find
out which C compiler was used to compile your version of perl.


John
-- 
use Perl;
program
fulfillment

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>


Reply via email to