Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Spamassassin compile error
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
kahler
n00b
n00b


Joined: 01 Nov 2003
Posts: 62

PostPosted: Mon Dec 27, 2004 12:14 pm    Post subject: Spamassassin compile error Reply with quote

Hi folks,

I just synced my portage tree and tried to upgrade spamassassin to version 3.0.2 but it fails during compilation with the following error:
Code:
spamc/configure.pl: version.h.pl: Failed to get the version from Mail::SpamAssassin.
Please use the --with-version= switch to specify it manually.

The error was:
version.h.pl: version.h.pl: version.h.pl: version.h.pl: version.h.pl: version.h.pl: version.h.pl: Can't locate Digest/SHA1.pm in @INC (@INC contains: ../lib /etc/perl /usr/lib/perl5/site_perl/5.8.5/i686-linux /usr/lib/perl5/site_perl/5.8.5 /usr/lib/perl5/site_perl/5.8.2 /usr/lib/perl5/site_perl/5.8.4 /usr/lib/perl5/site_perl /usr/lib/perl5/vendor_perl/5.8.5/i686-linux /usr/lib/perl5/vendor_perl/5.8.5 /usr/lib/perl5/vendor_perl/5.8.4 /usr/lib/perl5/vendor_perl /usr/lib/perl5/5.8.5/i686-linux /usr/lib/perl5/5.8.5 /usr/local/lib/site_perl .) at ../lib/Mail/SpamAssassin/EvalTests.pm line 33.
BEGIN failed--compilation aborted at ../lib/Mail/SpamAssassin/EvalTests.pm line 33.
Compilation failed in require at ../lib/Mail/SpamAssassin/PerMsgStatus.pm line 56.
BEGIN failed--compilation aborted at ../lib/Mail/SpamAssassin/PerMsgStatus.pm line 56.
Compilation failed in require at ../lib/Mail/SpamAssassin.pm line 74.
BEGIN failed--compilation aborted at ../lib/Mail/SpamAssassin.pm line 74.
Compilation failed in require at version.h.pl line 27.
cd spamc
/usr/bin/perl version.h.pl
version.h.pl: creating version.h
make: *** [spamc/Makefile] Error 2

Has anyone got the same error and knows what the problem is :?:
Thanks for your help,

Kahler
_________________
-----BEGIN GEEK CODE BLOCK-----
Version: 3.1
GIT d- s:+ a-- C++++ UL++++$ P+>+++ L++ E--- W+++$ N+ o+ K? w O M V- PS+ PE++ Y+ PGP- t--- 5--- X-- R tv b DI++ D+ G e h r y?+
------END GEEK CODE BLOCK------
Back to top
View user's profile Send private message
g_os
n00b
n00b


Joined: 25 Nov 2003
Posts: 71
Location: France

PostPosted: Mon Dec 27, 2004 1:53 pm    Post subject: Reply with quote

Hi,

Ebuild not good.

Try:
Code:
emerge Digest-SHA1


G_os
_________________
I can't remember where I take this avatar, thanks ;p)
Back to top
View user's profile Send private message
Gotterdammerung
l33t
l33t


Joined: 11 Feb 2004
Posts: 627
Location: Rio de Janeiro, Brazil

PostPosted: Mon Dec 27, 2004 3:27 pm    Post subject: Reply with quote

g_os wrote:
Hi,

Ebuild not good.

Try:
Code:
emerge Digest-SHA1


G_os


It worked here, thanks!
_________________
A mind that is stretched by a new experience can never go back to its old dimensions. - Oliver Wendell Holmes
Back to top
View user's profile Send private message
kahler
n00b
n00b


Joined: 01 Nov 2003
Posts: 62

PostPosted: Mon Dec 27, 2004 5:13 pm    Post subject: Reply with quote

Unfortunately this didn't work for me. has anyone else got an idea what could be wrong :?:
_________________
-----BEGIN GEEK CODE BLOCK-----
Version: 3.1
GIT d- s:+ a-- C++++ UL++++$ P+>+++ L++ E--- W+++$ N+ o+ K? w O M V- PS+ PE++ Y+ PGP- t--- 5--- X-- R tv b DI++ D+ G e h r y?+
------END GEEK CODE BLOCK------
Back to top
View user's profile Send private message
nordom
n00b
n00b


Joined: 20 Jan 2004
Posts: 5
Location: Bydgoszcz, Poland

PostPosted: Mon Dec 27, 2004 9:28 pm    Post subject: Reply with quote

kahler wrote:
Unfortunately this didn't work for me. has anyone else got an idea what could be wrong :?:


Code:

echo dev-perl/HTML-Parser ~x86 >> /etc/portage/package.keywords
echo dev-perl/Digest-SHA1 ~x86 >> /etc/portage/package.keywords


And then re-emerge Digest-SHA1 and HTML-Parser. It worked here :)

Good luck.
Back to top
View user's profile Send private message
Jerome_A
n00b
n00b


Joined: 28 Dec 2004
Posts: 1
Location: Toulouse - France

PostPosted: Tue Dec 28, 2004 8:42 am    Post subject: Reply with quote

Had the same problem.

As I always use ~x86 packages I don't need to use packages.keywords file and a simple emerge HTML-Parser and Digest-SHA1 are needed.
Back to top
View user's profile Send private message
scoy
Tux's lil' helper
Tux's lil' helper


Joined: 21 Jun 2002
Posts: 95

PostPosted: Tue Jan 04, 2005 2:54 pm    Post subject: Reply with quote

nordom wrote:

Code:

echo dev-perl/HTML-Parser ~x86 >> /etc/portage/package.keywords
echo dev-perl/Digest-SHA1 ~x86 >> /etc/portage/package.keywords



Worked for me. Thanks.
Back to top
View user's profile Send private message
sigmalll
Guru
Guru


Joined: 24 Aug 2003
Posts: 332

PostPosted: Thu Jan 06, 2005 9:10 am    Post subject: Reply with quote

g_os wrote:
Hi,

Ebuild not good.

Try:
Code:
emerge Digest-SHA1


G_os


Worked for me
Back to top
View user's profile Send private message
Derek_Burdick
n00b
n00b


Joined: 13 Oct 2003
Posts: 2

PostPosted: Fri Jan 21, 2005 7:34 pm    Post subject: Reply with quote

I have received this error and several like it. I believe it was caused by upgrading to 5.8.5.

The best fix i've found is to run the following shell script, which reemerges all perl modules:

/usr/portage/dev-lang/perl/files/libperl_rebuilder

Without rebuilding all modules by running this script, you will find that periodically a module can not be found.
Back to top
View user's profile Send private message
sprite
Tux's lil' helper
Tux's lil' helper


Joined: 10 Jun 2003
Posts: 143
Location: Camarillo, California (USA)

PostPosted: Sat Feb 19, 2005 6:39 pm    Post subject: Reply with quote

nordom wrote:
kahler wrote:
Unfortunately this didn't work for me. has anyone else got an idea what could be wrong :?:


Code:

echo dev-perl/HTML-Parser ~x86 >> /etc/portage/package.keywords
echo dev-perl/Digest-SHA1 ~x86 >> /etc/portage/package.keywords


And then re-emerge Digest-SHA1 and HTML-Parser. It worked here :)

Good luck.


this did it for me too, thanks

tag for future refrence..
_________________
System 0 - Dual Athlon MP 2400+ - 2.6.10-cko3 - gcc 3.3.5 - nptl - x86
System 1 - Dual Opteron 246 - 2.6.10-cko3 - gcc 3.4.3 - nptl - amd64 and never look back..
xfce 4.2.2 across the board..
------------
www.spritefiend.com
Back to top
View user's profile Send private message
gpeangel
Tux's lil' helper
Tux's lil' helper


Joined: 02 Jan 2003
Posts: 132
Location: Colorado, USA

PostPosted: Tue Feb 22, 2005 4:45 am    Post subject: Reply with quote

Derek_Burdick wrote:
I have received this error and several like it. I believe it was caused by upgrading to 5.8.5.

The best fix i've found is to run the following shell script, which reemerges all perl modules:

/usr/portage/dev-lang/perl/files/libperl_rebuilder

Without rebuilding all modules by running this script, you will find that periodically a module can not be found.


My system does not have this script. The solution that worked for me was the same one that seems to be working for everyone else.
_________________
Gregory Engel
Web Master
www.javazen.com
¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯
My other computer is spongy gray matter.
Back to top
View user's profile Send private message
pilla
Bodhisattva
Bodhisattva


Joined: 07 Aug 2002
Posts: 7731
Location: Underworld

PostPosted: Fri Jul 22, 2005 2:33 am    Post subject: Reply with quote

maybe the perl-cleaner script?
_________________
"I'm just very selective about the reality I choose to accept." -- Calvin
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum