Re-hashed from an earlier post re: Digest::SHA1

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.

Repeat for Digest::HMAC_MD5

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

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of froedi
Sent: 19 January 2004 13:03
To: [EMAIL PROTECTED]
Subject: [Razor-users] Troubles building razor-agents-sdk


hey!

I want to use razor with spamassassin, but I have troubles building it.

I've downloaded both, the razor-agents (2.36) and the razor-agents-sdk 
(2.03) sources.

when I do "perl Makefile.PL" for razor-agents-sdk, the output looks like 
this:

__________

Warning: prerequisite Digest::SHA1 1 not found
Writing Makefile for Digest::HMAC
Testing alignment requirements for U32... 
/usr/lib/gcc-lib/i486-slackware-linux/3.2.3/../../../../i486-slackware-linux
/bin/ld: 
cannot find -ldb
collect2: ld returned 1 exit status
Can't compile test program
Writing Makefile for Digest::MD5
Writing Makefile for Digest::Nilsimsa
Writing Makefile for Digest::SHA1
Writing Makefile for MIME::Base64
Warning: prerequisite Digest::HMAC_MD5 1 not found.
Writing Makefile for Net::DNS
Writing Makefile for Test::Simple
[...]
__________

why are Digest::SHA1 and Digest::HMAC_MD5 not recognized, although they 
are part of the package?

+ what does "cannot find -ldb" mean?

has anybody got an idea about how to fix this?


I have some trouble with razor-agents as well, but I guess it's because 
razor-agents-sdk hasn't been built properly. :/


thank you for your help. ;)



-------------------------------------------------------
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn
_______________________________________________
Razor-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/razor-users

Reply via email to