You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@spamassassin.apache.org by Sundaram Ramasamy <sf...@sbcglobal.net> on 2004/07/23 18:56:49 UTC

Razor agent 2.16 install problem

I am trying installing Razor agent 2.61 on Fedora code 2 OS. I have already installed all perl modules including Spamassasin and Razor SDK.

 

Make install gives me this error message. Looked at this bug report http://bugzilla.spamassassin.org/show_bug.cgi?id=2314 . It didn�t help much.

 

Any tips to fix this problem?, How will I delete the digest::SHA1 perl module.

 

 

# make install

make[1]: Entering directory `/usr/src/razor-agents-2.61/Razor2-Preproc-deHTMLxs'

make[1]: Leaving directory `/usr/src/razor-agents-2.61/Razor2-Preproc-deHTMLxs'

/usr/bin/perl "-MExtUtils::Command::MM" -e pod2man "--" \

docs/razor-agent.conf.pod \

blib/man5/razor-agent.conf.5 \

docs/razor-agents.pod \

blib/man5/razor-agents.5 \

docs/razor-whitelist.pod \

blib/man5/razor-whitelist.5

Files found in blib/arch: installing files in blib/lib into architecture dependent library tree

Writing /usr/lib/perl5/site_perl/5.8.3/i386-linux-thread-multi/auto/razor-agents/.packlist

Appending installation info to /usr/lib/perl5/5.8.3/i386-linux-thread-multi/perllocal.pod

blib/script/razor-client

Digest::SHA1 object version 2.01 does not match bootstrap parameter 2.10 at /usr/lib/perl5/5.8.3/i386-linux-thread-multi/DynaLoader.pm line 249.

Compilation failed in require at lib/Razor2/String.pm line 4.

BEGIN failed--compilation aborted at lib/Razor2/String.pm line 4.

Compilation failed in require at (eval 6) line 3.

        ...propagated at /usr/lib/perl5/5.8.3/base.pm line 70.

BEGIN failed--compilation aborted at lib/Razor2/Client/Core.pm line 22.

Compilation failed in require at (eval 3) line 3.

        ...propagated at /usr/lib/perl5/5.8.3/base.pm line 70.

BEGIN failed--compilation aborted at lib/Razor2/Client/Agent.pm line 18.

Compilation failed in require at blib/script/razor-client line 21.

BEGIN failed--compilation aborted at blib/script/razor-client line 21.

make: *** [install_razor_agents] Error 2



Sundaram Ramasamy
Solaris System Administrator
SCSecA,SCNA,SCSA, SCWCD,SCJP
http://sfg.homeunix.com

Re: Razor agent 2.16 install problem SOLVED

Posted by Sundaram Ramasamy <sf...@sbcglobal.net>.
Hi all,
 
my problem was solved. this post helped me.
Thanks to Alan

 
=============
Thomas 

Funny, I've not seen one of these in a while then I get two in one day :-)

[This solution applied to a Linux build]

Start perl in debug mode:

User$> perl -d

Then control d (^d) to get to the debug command prompt:

At the debug command prompt:

  db1>use Digest::SHA1

At this point you should see the error that you encountered during the
Razor2 build.

Go get the latest Digest::SHA1 from the CPAN web site.
http://search.cpan.org  (currently 2.07)

(Don't do this via "perl -MCPAN -e shell" as you may need to reload the
Digest::SHA1 module several times)

For Digest::SHA1 do the usual build steps on your machine:

User$> perl Makefile.PL
User$> make
User$> make test
User$> make install

Go back to the perl debugger and re-issue the use command:

  db2>use Digest::SHA1

This should now load without error.

Continue with your Razor2 install. After each module is installed check the
Digest::SHA1 status in the perl debugger (I've had to do it several times
before now). If you get an error re-issue the make install for Digest::SHA1
and continue.

This worked for me YMMV.

HTH

Alan

================

Sundaram Ramasamy <sf...@sbcglobal.net> wrote:

I am trying installing Razor agent 2.61 on Fedora code 2 OS. I have already installed all perl modules including Spamassasin and Razor SDK.

 

Make install gives me this error message. Looked at this bug report http://bugzilla.spamassassin.org/show_bug.cgi?id=2314 . It didn�t help much.

 

Any tips to fix this problem?, How will I delete the digest::SHA1 perl module.

 

 

# make install

make[1]: Entering directory `/usr/src/razor-agents-2.61/Razor2-Preproc-deHTMLxs'

make[1]: Leaving directory `/usr/src/razor-agents-2.61/Razor2-Preproc-deHTMLxs'

/usr/bin/perl "-MExtUtils::Command::MM" -e pod2man "--" \

docs/razor-agent.conf.pod \

blib/man5/razor-agent.conf.5 \

docs/razor-agents.pod \

blib/man5/razor-agents.5 \

docs/razor-whitelist.pod \

blib/man5/razor-whitelist.5

Files found in blib/arch: installing files in blib/lib into architecture dependent library tree

Writing /usr/lib/perl5/site_perl/5.8.3/i386-linux-thread-multi/auto/razor-agents/.packlist

Appending installation info to /usr/lib/perl5/5.8.3/i386-linux-thread-multi/perllocal.pod

blib/script/razor-client

Digest::SHA1 object version 2.01 does not match bootstrap parameter 2.10 at /usr/lib/perl5/5.8.3/i386-linux-thread-multi/DynaLoader.pm line 249.

Compilation failed in require at lib/Razor2/String.pm line 4.

BEGIN failed--compilation aborted at lib/Razor2/String.pm line 4.

Compilation failed in require at (eval 6) line 3.

        ...propagated at /usr/lib/perl5/5.8.3/base.pm line 70.

BEGIN failed--compilation aborted at lib/Razor2/Client/Core.pm line 22.

Compilation failed in require at (eval 3) line 3.

        ...propagated at /usr/lib/perl5/5.8.3/base.pm line 70.

BEGIN failed--compilation aborted at lib/Razor2/Client/Agent.pm line 18.

Compilation failed in require at blib/script/razor-client line 21.

BEGIN failed--compilation aborted at blib/script/razor-client line 21.

make: *** [install_razor_agents] Error 2



Sundaram Ramasamy
Solaris System Administrator
SCSecA,SCNA,SCSA, SCWCD,SCJP
http://sfg.homeunix.com


Sundaram Ramasamy
Solaris System Administrator
SCSecA,SCNA,SCSA, SCWCD,SCJP
http://sfg.homeunix.com