View previous topic :: View next topic |
Author |
Message |
kahler n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
![](images/avatars/577300931420f90c2ea98e.gif)
Joined: 01 Nov 2003 Posts: 62
|
Posted: Mon Dec 27, 2004 12:14 pm Post subject: Spamassassin compile error |
|
|
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 |
|
![](templates/gentoo/images/spacer.gif) |
g_os n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
![](images/avatars/17252891773fc3b9000dfcb.jpg)
Joined: 25 Nov 2003 Posts: 71 Location: France
|
Posted: Mon Dec 27, 2004 1:53 pm Post subject: |
|
|
Hi,
Ebuild not good.
Try:
G_os _________________ I can't remember where I take this avatar, thanks ;p) |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Gotterdammerung l33t
![l33t l33t](/images/ranks/rank_rect_4.gif)
![](images/avatars/611640514821f1ea1731b.png)
Joined: 11 Feb 2004 Posts: 627 Location: Rio de Janeiro, Brazil
|
Posted: Mon Dec 27, 2004 3:27 pm Post subject: |
|
|
g_os wrote: | Hi,
Ebuild not good.
Try:
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 |
|
![](templates/gentoo/images/spacer.gif) |
kahler n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
![](images/avatars/577300931420f90c2ea98e.gif)
Joined: 01 Nov 2003 Posts: 62
|
Posted: Mon Dec 27, 2004 5:13 pm Post subject: |
|
|
Unfortunately this didn't work for me. has anyone else got an idea what could be wrong ![Question :?:](images/smiles/icon_question.gif) _________________ -----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 |
|
![](templates/gentoo/images/spacer.gif) |
nordom n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 20 Jan 2004 Posts: 5 Location: Bydgoszcz, Poland
|
Posted: Mon Dec 27, 2004 9:28 pm Post subject: |
|
|
kahler wrote: | Unfortunately this didn't work for me. has anyone else got an idea what could be wrong ![Question :?:](images/smiles/icon_question.gif) |
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 |
|
![](templates/gentoo/images/spacer.gif) |
Jerome_A n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 28 Dec 2004 Posts: 1 Location: Toulouse - France
|
Posted: Tue Dec 28, 2004 8:42 am Post subject: |
|
|
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 |
|
![](templates/gentoo/images/spacer.gif) |
scoy Tux's lil' helper
![Tux's lil' helper Tux's lil' helper](/images/ranks/rank_rect_1.gif)
Joined: 21 Jun 2002 Posts: 95
|
Posted: Tue Jan 04, 2005 2:54 pm Post subject: |
|
|
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 |
|
![](templates/gentoo/images/spacer.gif) |
sigmalll Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
![](images/avatars/142210387240308597f1d39.gif)
Joined: 24 Aug 2003 Posts: 332
|
Posted: Thu Jan 06, 2005 9:10 am Post subject: |
|
|
g_os wrote: | Hi,
Ebuild not good.
Try:
G_os |
Worked for me |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Derek_Burdick n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 13 Oct 2003 Posts: 2
|
Posted: Fri Jan 21, 2005 7:34 pm Post subject: |
|
|
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 |
|
![](templates/gentoo/images/spacer.gif) |
sprite Tux's lil' helper
![Tux's lil' helper Tux's lil' helper](/images/ranks/rank_rect_1.gif)
![](images/avatars/gallery/The Matrix/movie_the_matrix_agent_smith.gif)
Joined: 10 Jun 2003 Posts: 143 Location: Camarillo, California (USA)
|
Posted: Sat Feb 19, 2005 6:39 pm Post subject: |
|
|
nordom wrote: | kahler wrote: | Unfortunately this didn't work for me. has anyone else got an idea what could be wrong ![Question :?:](images/smiles/icon_question.gif) |
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 |
|
![](templates/gentoo/images/spacer.gif) |
gpeangel Tux's lil' helper
![Tux's lil' helper Tux's lil' helper](/images/ranks/rank_rect_1.gif)
![](images/avatars/12295475233f7ae83a18983.jpg)
Joined: 02 Jan 2003 Posts: 132 Location: Colorado, USA
|
Posted: Tue Feb 22, 2005 4:45 am Post subject: |
|
|
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 |
|
![](templates/gentoo/images/spacer.gif) |
pilla Bodhisattva
![Bodhisattva Bodhisattva](/images/ranks/rank-bodhisattva.gif)
![](images/avatars/9555681074926d9b92f09a.jpg)
Joined: 07 Aug 2002 Posts: 7731 Location: Underworld
|
Posted: Fri Jul 22, 2005 2:33 am Post subject: |
|
|
maybe the perl-cleaner script? _________________ "I'm just very selective about the reality I choose to accept." -- Calvin |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
|