Re: cannot install LWP on FreeBSD!

Martijn Koster (mak@webcrawler.com)
Fri, 16 Jan 1998 08:25:45 +0000


On Thu, Jan 15, 1998 at 04:23:55PM -0800, Kenneth Gaugler wrote:
 
> I did install it successfully in the
> /usr/src/perl5.004_04/ext/MD5-1.7 directory. Does it need to be
> somewhere else?

Huh, that ain't right. Modules are built separately from the source,
and you usually do:

  gunzip -c module.tar.gz | tar xvf -
  cd module
  perl Makefile.PL
  make
  make test
  make install  # as root

which installs it in /usr/local/lib/perl5/site_perl or wherever it
should on your platform.

To test if it worked, see if you can do this:

  perl -MMD5 -e 'print MD5->hexhash('hi'), "\n";'
  49f68a5c8493ec2c0bf489821c21fc3b

-- Martijn Koster, m.koster@pobox.com