help with an MD5.pm module!!

help with an MD5.pm module!!

am 04.09.2005 08:39:47 von PBookDawg

hi,

i need some help. i'm trying to convert three small webbbs forums over
to a phpbb forum. i'm using the webbbs_to_phpbb converter found here
on my apple powerbook. (my web provider
hasn't been any help, so i'm trying to do this at home.)

anyway, when i run the converter, i get this error:

--
Can't locate MD5.pm in @INC (@INC contains:
/System/Library/Perl/5.8.6/darwin-thread-multi-2level
/System/Library/Perl/5.8.6
/Library/Perl/5.8.6/darwin-thread-multi-2level /Library/Perl/5.8.6
/Library/Perl /Network/Library/Perl/5.8.6/darwin-thread-multi-2level
/Network/Library/Perl/5.8.6 /Network/Library/Perl
/System/Library/Perl/Extras/5.8.6/darwin-thread-multi-2level
/System/Library/Perl/Extras/5.8.6 /Library/Perl/5.8.1 .) at
/Library/WebServer/CGI-Executables/webbbs_to_phpbb.pl line 9.

BEGIN failed--compilation aborted at
/Library/WebServer/CGI-Executables/webbbs_to_phpbb.pl line 9.
---

Line (8 and) 9 of the script calls for:

--
# for bbcode_make_uid
use MD5;
--

i gather that the MD5.pm is a module for perl? i'm a novice with perl
and this is very much above my abilities. there appear to several MD5
modules at CPAN.org. any idea which one this might be, and how i can
install it on my powerbook?

many thanks for any help!

PBookDawg
PBookDawg/at/yahoo.com

Re: help with an MD5.pm module!!

am 04.09.2005 09:52:24 von Thomas Wittek

> Can't locate MD5.pm in @INC
>...
> i gather that the MD5.pm is a module for perl? i'm a novice with perl
> and this is very much above my abilities. there appear to several MD5
> modules at CPAN.org. any idea which one this might be, and how i can
> install it on my powerbook?

As you will have root-access on your computer, it should be easy:

root@computer# cpan
cpan shell -- CPAN exploration and modules installation (v1.7601)
ReadLine support enabled

cpan> install MD5
....
/usr/bin/make install -- OK
cpan> exit

If you haven't used the CPAN-shell before, it will ask you some
questions about the settings. The defaults will be OK in most cases.

If you haven't the "cpan" executable in your PATH, you can also run it
like this:

perl -MCPAN -e shell

HTH,

-Thomas

Re: help with an MD5.pm module!!

am 05.09.2005 22:56:28 von PBookDawg

It worked. Thanks, Thomas!

On 2005-09-04 00:52:24 -0700, Thomas Wittek said:

> As you will have root-access on your computer, it should be easy:
>
> root@computer# cpan
> cpan shell -- CPAN exploration and modules installation (v1.7601)
> ReadLine support enabled
>
> cpan> install MD5
> ...
> /usr/bin/make install -- OK
> cpan> exit
>
> If you haven't used the CPAN-shell before, it will ask you some
> questions about the settings. The defaults will be OK in most cases.
>
> If you haven't the "cpan" executable in your PATH, you can also run it
> like this:
>
> perl -MCPAN -e shell
>
> HTH,
>
> -Thomas