How to install Digest::MD5

Dear All,

when i test perl module installation with the CPAN tool provided by RT, it
give me the following error:

Digest::MD5 2.27…MISSING
Digest::MD5 version 2.27 required–this is only version 2.20
at (eval 45) line 2.

so i tried to install by typing
perl -MCPAN -e ‘install Digest::MD5’

but it give me this error
Removing previously used /root/.cpan/build/Digest-MD5-2.30

CPAN.pm: Going to build G/GA/GAAS/Digest-MD5-2.30.tar.gz

Testing alignment requirements for U32… no restrictions
Checking if your kit is complete…
Looks good
Writing Makefile for Digest::MD5
Makefile:84: *** missing separator. Stop.
/usr/bin/make – NOT OK
Running make test
Can’t test without successful make
Running make install
make had returned bad status, install seems impossible

how should i install Digest::MD5 this module? can anyone pls help? Thx.

Best Regards,
Ada Hui

Get 10Mb extra storage for MSN Hotmail. Subscribe Now!
http://join.msn.com/?pgmarket=en-hk

Ada Hui wrote:

Dear All,

when i test perl module installation with the CPAN tool provided by RT,
it give me the following error:

Digest::MD5 2.27…MISSING
Digest::MD5 version 2.27 required–this is only version
2.20 at (eval 45) line 2.

so i tried to install by typing
perl -MCPAN -e ‘install Digest::MD5’

but it give me this error
Removing previously used /root/.cpan/build/Digest-MD5-2.30

CPAN.pm: Going to build G/GA/GAAS/Digest-MD5-2.30.tar.gz

Testing alignment requirements for U32… no restrictions
Checking if your kit is complete…
Looks good
Writing Makefile for Digest::MD5
Makefile:84: *** missing separator. Stop.
Hello.
You are using RH9? If so then you system have UTF locale. perl 5.8.0
have bug under this conditions. Change your locale settings to C. Also
this could break other perl thing and RT also not just installation.
Best. Ruslan.

Dear Ruslan,

Thanks for replying me. I am totally new to perl and not familar to those
settings, would you mind telling me in details how should i config so that i
can have RT successfully installed? I have been trying to use at most
default as possible with RH9, do i need to reinstall some of those things?

Also when i try to view the web interface with the browser, it gives me
System error
error: mkdir /opt/rt3/var/mason_data/obj: Permission denied at
/usr/lib/perl5/site_perl/5.8.0HTML/Mason/Complier/ToObject.pm line 102

when i comment out the below lines in my httpd.conf,

SetHandler perl-script
PerlHandler RT::Mason

i can see the codes with my browser. Otherwise, it give me permission
denied. Please advice how should i tackle with this. Thanks a million!!!

Best Regards,
Ada

From: “Ruslan U. Zakirov” cubic@acronis.ru
To: Ada Hui myqu@hotmail.com
CC: rt-users@lists.fsck.com
Subject: Re: [rt-users] How to install Digest::MD5
Date: Mon, 20 Oct 2003 10:51:02 +0400

Ada Hui wrote:

Dear All,

when i test perl module installation with the CPAN tool provided by RT,
it give me the following error:

Digest::MD5 2.27…MISSING
Digest::MD5 version 2.27 required–this is only version
2.20 at (eval 45) line 2.

so i tried to install by typing
perl -MCPAN -e ‘install Digest::MD5’

but it give me this error
Removing previously used /root/.cpan/build/Digest-MD5-2.30

CPAN.pm: Going to build G/GA/GAAS/Digest-MD5-2.30.tar.gz

Testing alignment requirements for U32… no restrictions
Checking if your kit is complete…
Looks good
Writing Makefile for Digest::MD5
Makefile:84: *** missing separator. Stop.
Hello.
You are using RH9? If so then you system have UTF locale. perl 5.8.0 have
bug under this conditions. Change your locale settings to C. Also this
could break other perl thing and RT also not just installation.
Best. Ruslan.
/usr/bin/make – NOT OK
Running make test
Can’t test without successful make
Running make install
make had returned bad status, install seems impossible

how should i install Digest::MD5 this module? can anyone pls help? Thx.

Best Regards,
Ada Hui

Linguaphone : Learning English? Get Japanese lessons for FREE
http://go.msnserver.com/HK/30476.asp

Ada Hui wrote:

Dear Ruslan,

Thanks for replying me. I am totally new to perl and not familar to
those settings, would you mind telling me in details how should i config
so that i can have RT successfully installed? I have been trying to use
at most default as possible with RH9, do i need to reinstall some of
those things?
Ok. As I understand that tip help, is it true?
Also you must go through archive of this list for last month. Here was
big thread about RT3 and RH[89] and other users posted step by step
installation process.
Small mine FAQ:

  1. echo $LANG must not contain utf. Don’t be afraid with this. this
    don’t break anything only fix. So better do it permanently on your system.
  2. On RH9 you have to use latest Storable module(due perl 5.8.0 bug).
  3. Also you have to specify Apache [user:group] to configure script when
    installing RT. RT by default uses [www:www] :
    –with-web-user=USER user the web server runs as (default: www)
    –with-web-group=GROUP group the web server runs as (default: www)
    You can view your apache settings in httpd.conf

Also when i try to view the web interface with the browser, it gives me
System error
error: mkdir /opt/rt3/var/mason_data/obj: Permission denied at
/usr/lib/perl5/site_perl/5.8.0HTML/Mason/Complier/ToObject.pm line 102
NOTE: You problem is 3 :slight_smile:

when i comment out the below lines in my httpd.conf,

SetHandler perl-script
PerlHandler RT::Mason

You turn of RT(Mason) at all with commenting it out, but Mason complains
about permissions.
i can see the codes with my browser. Otherwise, it give me permission
denied. Please advice how should i tackle with this. Thanks a million!!!

Best Regards,
Ada

Good luck. Ruslan.

Dear Ruslan,

Thanks a lot. You are really helpful. I have installed Digest::MD5
successfully, but still got problem with the RT::Mason. I found the default
user and group in httpd.conf to be “apache”, and i have tried to change it
to “www” (RT’s default) but it still don’t work. I have also tried to use
./configure --with-web-user=apache --woth-web-group=apache to change the RT
settings instead of apache, but it also don’t work. How should i make it
work? Please tell me how should i do it (pls forgive me if i’m doing silly
things, coz i really not familar with that). Thanks .

Best Regards,
Ada

From: “Ruslan U. Zakirov” cubic@acronis.ru
To: Ada Hui myqu@hotmail.com
CC: rt-users@lists.fsck.com
Subject: Re: [rt-users] How to install Digest::MD5
Date: Mon, 20 Oct 2003 12:15:58 +0400

Ada Hui wrote:

Dear Ruslan,

Thanks for replying me. I am totally new to perl and not familar to those
settings, would you mind telling me in details how should i config so that
i can have RT successfully installed? I have been trying to use at most
default as possible with RH9, do i need to reinstall some of those things?
Ok. As I understand that tip help, is it true?
Also you must go through archive of this list for last month. Here was big
thread about RT3 and RH[89] and other users posted step by step
installation process.
Small mine FAQ:

  1. echo $LANG must not contain utf. Don’t be afraid with this. this don’t
    break anything only fix. So better do it permanently on your system.
  2. On RH9 you have to use latest Storable module(due perl 5.8.0 bug).
  3. Also you have to specify Apache [user:group] to configure script when
    installing RT. RT by default uses [www:www] :
    –with-web-user=USER user the web server runs as (default: www)
    –with-web-group=GROUP group the web server runs as (default: www)
    You can view your apache settings in httpd.conf

Also when i try to view the web interface with the browser, it gives me
System error
error: mkdir /opt/rt3/var/mason_data/obj: Permission denied at
/usr/lib/perl5/site_perl/5.8.0HTML/Mason/Complier/ToObject.pm line 102
NOTE: You problem is 3 :slight_smile:

when i comment out the below lines in my httpd.conf,

SetHandler perl-script
PerlHandler RT::Mason

You turn of RT(Mason) at all with commenting it out, but Mason complains
about permissions.
i can see the codes with my browser. Otherwise, it give me permission
denied. Please advice how should i tackle with this. Thanks a million!!!

Best Regards,
Ada

Good luck. Ruslan.

Linguaphone : Learning English? Get Japanese lessons for FREE
http://go.msnserver.com/HK/30476.asp

Ada Hui О©╫О©╫О©╫О©╫О©╫:

Dear Ruslan,

Thanks a lot. You are really helpful. I have installed Digest::MD5
successfully, but still got problem with the RT::Mason. I found the
default user and group in httpd.conf to be “apache”, and i have tried to
change it to “www” (RT’s default) but it still don’t work.
Apache start/stop(restart) after changes of config?
I have also
tried to use ./configure --with-web-user=apache --woth-web-group=apache
–woth-web-group - I think that it’s just typo in email.
./configure changes only files in source dir then you have to do make install. Before ‘make install’ backup your RT_SiteConfig.pm
After install restore config from backup. Apache stop/start.
tail -f htpd.error.log

to change the RT settings instead of apache, but it also don’t work. How
should i make it work? Please tell me how should i do it (pls forgive me
if i’m doing silly things, coz i really not familar with that). Thanks .
What error now? permissions?

cd /opt/rt3/
ls -la
send back info.

Best Regards,
Ada

Good luck.

Dear Ruslan,

Thanks for your help. It worked after i try to modify the httpd.conf again.
But it come up to me a few more question on other things. Hope that you
won’t mind answer me again.

The problem is,
When i type the machine name in the browser, it would give me permission
denied. I have to add index.html by hand before i can go to the home page of
RT.
So i added the following line in my virtual host:
DirectoryIndex index.html

But it still don’t work and in the error log it saids
Directory index forbidden by rule: /opt/rt3/share/html/

But the same statement works well for my another virtual host. Why is it so?

Another problem is,
I added the lines
rt: “|/opt/rt3/bin/rt-mailgate --queue general --action correspond --url
http://localhost/
rt-comment: “|/opt/rt3/bin/rt-mailgate --queue general --action comment
–url http://localhost/
to the /etc/aliases file, but only creating ticket in RT sends e-mail,
replying from RT and also sending e-mail to RT doesn’t work. Is there
something I got wrong?

Thanks a million for giving me valuable advice.

Ada

From: “Ruslan U. Zakirov” cubic@acronis.ru
To: Ada Hui myqu@hotmail.com
CC: rt-users@lists.fsck.com
Subject: Re: [rt-users] How to install Digest::MD5
Date: Thu, 23 Oct 2003 13:16:01 +0400

Ada Hui ����?

Dear Ruslan,

Thanks a lot. You are really helpful. I have installed Digest::MD5
successfully, but still got problem with the RT::Mason. I found the
default user and group in httpd.conf to be “apache”, and i have tried to
change it to “www” (RT’s default) but it still don’t work.
Apache start/stop(restart) after changes of config?
I have also tried to use ./configure --with-web-user=apache
–woth-web-group=apache
–woth-web-group - I think that it’s just typo in email.
./configure changes only files in source dir then you have to do make install. Before ‘make install’ backup your RT_SiteConfig.pm
After install restore config from backup. Apache stop/start.
tail -f htpd.error.log

to change the RT settings instead of apache, but it also don’t work. How
should i make it work? Please tell me how should i do it (pls forgive me
if i’m doing silly things, coz i really not familar with that). Thanks .
What error now? permissions?

cd /opt/rt3/
ls -la
send back info.

Best Regards,
Ada

Good luck.

Linguaphone : Learning English? Get Japanese lessons for FREE
http://go.msnserver.com/HK/30476.asp

Ada Hui wrote:

When i type the machine name in the browser, it would give me permission
denied. I have to add index.html by hand before i can go to the home page
of RT.

You’re using apache2+mod_perl? That’s just one of the many known
problems you’ll run into. If you really must put yourself through
that, search the list archives for help.

Phil Homewood, Systems Janitor, http://www.SnapGear.com
pdh@snapgear.com Ph: +61 7 3435 2810 Fx: +61 7 3891 3630
SnapGear - Custom Embedded Solutions and Security Appliances