FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Gentoo > Gentoo User

 
 
LinkBack Thread Tools
 
Old 07-04-2012, 02:52 AM
 
Default Failed to emerge Spamassassin

hi,

I tried to emerge Spamassassin bit it failes due to
missing dependencies, which I would exspect to be
resolved by emerge itsself.

I wanted, I will post the referenced logfiles
also.

How can I fix this?

Best regards,
mcc


solfire:/home/user>sudo emerge spamassassin
Calculating dependencies... done!

>>> Verifying ebuild manifests

>>> Emerging (1 of 1) mail-filter/spamassassin-3.3.2-r1
* Mail-SpamAssassin-3.3.2.tar.bz2 RMD160 SHA1 SHA256 size ;-) ... [ ok ]
>>> cfg-update-1.8.2-r1: Creating checksum index...
>>> Unpacking source...
>>> Unpacking Mail-SpamAssassin-3.3.2.tar.bz2 to /var/tmp/portage/mail-filter/spamassassin-3.3.2-r1/work
>>> Source unpacked in /var/tmp/portage/mail-filter/spamassassin-3.3.2-r1/work
>>> Preparing source in /var/tmp/portage/mail-filter/spamassassin-3.3.2-r1/work/Mail-SpamAssassin-3.3.2 ...
* Applying spamassassin-3.3.2-mysql_count_rows.patch ...
[ ok ]
* Applying spamassassin-3.3.2-binary_token.patch ...
[ ok ]
* Applying spamassassin-3.3.2-innodb.patch ...
[ ok ]
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/mail-filter/spamassassin-3.3.2-r1/work/Mail-SpamAssassin-3.3.2 ...
* Using ExtUtils::MakeMaker
* perl Makefile.PL PREFIX=/usr INSTALLDIRS=vendor INSTALLMAN3DIR=none DESTDIR=/var/tmp/portage/mail-filter/spamassassin-3.3.2-r1/image/ SYSCONFDIR=/etc DATADIR=/usr/share/spamassassin ENABLE_SSL=yes PERL_BIN=/usr/bin/perl
What email address or URL should be used in the suspected-spam report
text for users who want more information on your filter installation?
(In particular, ISPs should change this to a local Postmaster contact)
default text: [the administrator of that system] the administrator of that system

NOTE: settings for "make test" are now controlled using "t/config.dist".
See that file if you wish to customise what tests are run, and how.

checking module dependencies and their versions...

************************************************** *************************
ERROR: the required HTML::Parser module is not installed,
minimum required version is 3.43.

HTML is used for an ever-increasing amount of email so this dependency
is unavoidable. Run "perldoc -q html" for additional information.


************************************************** *************************
ERROR: the required Net:NS module is not installed,
minimum required version is 0.34.

Used for all DNS-based tests (SBL, XBL, SpamCop, DSBL, etc.),
perform MX checks, and is also used when manually reporting spam to
SpamCop.

You need to make sure the Net:NS version is sufficiently up-to-date:

- version 0.34 or higher on Unix systems
- version 0.46 or higher on Windows systems


************************************************** *************************
ERROR: the required NetAddr::IP module is not installed,
minimum required version is 4.000.

Used in determining which DNS tests are to be done for each of
the header's received fields, and used by AWL plugin for extracting network
address from an IPv6 addresses (and from IPv4 address on nondefault mask).


************************************************** *************************
NOTE: the optional Digest::SHA1 module is not installed.

The Digest::SHA1 module is required by the Razor2 plugin.


************************************************** *************************
NOTE: the optional Mail::SPF module is not installed.

Used to check DNS Sender Policy Framework (SPF) records to fight email
address forgery and make it easier to identify spams.


************************************************** *************************
NOTE: the optional IP::Country module is not installed.

Used by the RelayCountry plugin (not enabled by default) to determine
the domain country codes of each relay in the path of an email.


************************************************** *************************
NOTE: the optional Razor2 module is not installed,
minimum required version is 2.61.

Used to check message signatures against Vipul's Razor collaborative
filtering network. Razor has a large number of dependencies on CPAN
modules. Feel free to skip installing it, if this makes you nervous;
SpamAssassin will still work well without it.

More info on installing and using Razor can be found
at http://wiki.apache.org/spamassassin/InstallingRazor .


************************************************** *************************
NOTE: the optional Net::Ident module is not installed.

If you plan to use the --auth-ident option to spamd, you will need
to install this module.


************************************************** *************************
NOTE: the optional IO::Socket::INET6 module is not installed.

This is required if the first nameserver listed in your IP
configuration or /etc/resolv.conf file is available only via an
IPv6 address. Also used by a DCC plugin to access dccifd over network.


************************************************** *************************
NOTE: the optional IO::Socket::SSL module is not installed.

If you wish to use SSL encryption to communicate between spamc and
spamd (the --ssl option to spamd), you need to install this
module. (You will need the OpenSSL libraries and use the
ENABLE_SSL="yes" argument to Makefile.PL to build and run an SSL
compatibile spamc.)


************************************************** *************************
NOTE: the optional DBI module is not installed.

If you intend to use SpamAssassin with an SQL database backend for
user configuration data, Bayes storage, or other storage, you will need
to have these installed; both the basic DBI module and the DBD driver for
your database.


************************************************** *************************
NOTE: the optional Encode:etect module is not installed.

If you plan to use the normalize_charset config setting to detect
charsets and convert them into Unicode, you will need to install
this module.

REQUIRED module missing: HTML::Parser
REQUIRED module missing: Net:NS
REQUIRED module missing: NetAddr::IP
optional module missing: Digest::SHA1
optional module missing: Mail::SPF
optional module missing: IP::Country
optional module missing: Razor2
optional module missing: Net::Ident
optional module missing: IO::Socket::INET6
optional module missing: IO::Socket::SSL
optional module missing: DBI
optional module missing: Encode:etect

warning: some functionality may not be available,
please read the above report before continuing!

make -j 1 CC=x86_64-pc-linux-gnu-gcc 'LDFLAGS=-Wl,-O1 -Wl,--as-needed' spamc/Makefile
make: *** No rule to make target `spamc/Makefile'. Stop.
* ERROR: mail-filter/spamassassin-3.3.2-r1 failed (configure phase):
* emake failed
*
* If you need support, post the output of `emerge --info '=mail-filter/spamassassin-3.3.2-r1'`,
* the complete build log and the output of `emerge -pqv '=mail-filter/spamassassin-3.3.2-r1'`.
* The complete build log is located at '/var/tmp/portage/mail-filter/spamassassin-3.3.2-r1/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/mail-filter/spamassassin-3.3.2-r1/temp/environment'.
* Working directory: '/var/tmp/portage/mail-filter/spamassassin-3.3.2-r1/work/Mail-SpamAssassin-3.3.2'
* S: '/var/tmp/portage/mail-filter/spamassassin-3.3.2-r1/work/Mail-SpamAssassin-3.3.2'

>>> Failed to emerge mail-filter/spamassassin-3.3.2-r1, Log file:

>>> '/var/tmp/portage/mail-filter/spamassassin-3.3.2-r1/temp/build.log'
[1] 13372 exit 1 sudo emerge spamassassin
 
Old 07-04-2012, 05:34 AM
Oszkár Ocsenás
 
Default Failed to emerge Spamassassin

You need to install required Perl modules I think. Please google it how, if there is no ebuild.

2012.07.04. 4:57, <meino.cramer@gmx.de> ezt írta:
hi,



I tried to emerge Spamassassin bit it failes due to

missing dependencies, which I would exspect to be

resolved by emerge itsself.



I wanted, I will post the referenced logfiles

also.



How can I fix this?



Best regards,

mcc





solfire:/home/user>sudo emerge *spamassassin

Calculating dependencies... done!



>>> Verifying ebuild manifests



>>> Emerging (1 of 1) mail-filter/spamassassin-3.3.2-r1

** Mail-SpamAssassin-3.3.2.tar.bz2 RMD160 SHA1 SHA256 size ;-) ... * * * * * * * * * * * * * * * * * [ ok ]

>>> cfg-update-1.8.2-r1: Creating checksum index...

>>> Unpacking source...

>>> Unpacking Mail-SpamAssassin-3.3.2.tar.bz2 to /var/tmp/portage/mail-filter/spamassassin-3.3.2-r1/work

>>> Source unpacked in /var/tmp/portage/mail-filter/spamassassin-3.3.2-r1/work

>>> Preparing source in /var/tmp/portage/mail-filter/spamassassin-3.3.2-r1/work/Mail-SpamAssassin-3.3.2 ...

** Applying spamassassin-3.3.2-mysql_count_rows.patch ...

*[ ok ]

** Applying spamassassin-3.3.2-binary_token.patch ...

*[ ok ]

** Applying spamassassin-3.3.2-innodb.patch ...

*[ ok ]

>>> Source prepared.

>>> Configuring source in /var/tmp/portage/mail-filter/spamassassin-3.3.2-r1/work/Mail-SpamAssassin-3.3.2 ...

** Using ExtUtils::MakeMaker

** perl Makefile.PL PREFIX=/usr INSTALLDIRS=vendor INSTALLMAN3DIR=none DESTDIR=/var/tmp/portage/mail-filter/spamassassin-3.3.2-r1/image/ SYSCONFDIR=/etc DATADIR=/usr/share/spamassassin ENABLE_SSL=yes PERL_BIN=/usr/bin/perl


What email address or URL should be used in the suspected-spam report

text for users who want more information on your filter installation?

(In particular, ISPs should change this to a local Postmaster contact)

default text: [the administrator of that system] the administrator of that system



NOTE: settings for "make test" are now controlled using "t/config.dist".

See that file if you wish to customise what tests are run, and how.



checking module dependencies and their versions...



************************************************** *************************

ERROR: the required HTML::Parser module is not installed,

minimum required version is 3.43.



* HTML is used for an ever-increasing amount of email so this dependency

* is unavoidable. *Run "perldoc -q html" for additional information.





************************************************** *************************

ERROR: the required Net:NS module is not installed,

minimum required version is 0.34.



* Used for all DNS-based tests (SBL, XBL, SpamCop, DSBL, etc.),

* perform MX checks, and is also used when manually reporting spam to

* SpamCop.



* You need to make sure the Net:NS version is sufficiently up-to-date:



* - version 0.34 or higher on Unix systems

* - version 0.46 or higher on Windows systems





************************************************** *************************

ERROR: the required NetAddr::IP module is not installed,

minimum required version is 4.000.



* Used in determining which DNS tests are to be done for each of

* the header's received fields, and used by AWL plugin for extracting network

* address from an IPv6 addresses (and from IPv4 address on nondefault mask).





************************************************** *************************

NOTE: the optional Digest::SHA1 module is not installed.



* The Digest::SHA1 module is required by the Razor2 plugin.





************************************************** *************************

NOTE: the optional Mail::SPF module is not installed.



* Used to check DNS Sender Policy Framework (SPF) records to fight email

* address forgery and make it easier to identify spams.





************************************************** *************************

NOTE: the optional IP::Country module is not installed.



* Used by the RelayCountry plugin (not enabled by default) to determine

* the domain country codes of each relay in the path of an email.





************************************************** *************************

NOTE: the optional Razor2 module is not installed,

minimum required version is 2.61.



* Used to check message signatures against Vipul's Razor collaborative

* filtering network. Razor has a large number of dependencies on CPAN

* modules. Feel free to skip installing it, if this makes you nervous;

* SpamAssassin will still work well without it.



* More info on installing and using Razor can be found

* at http://wiki.apache.org/spamassassin/InstallingRazor .





************************************************** *************************

NOTE: the optional Net::Ident module is not installed.



* If you plan to use the --auth-ident option to spamd, you will need

* to install this module.





************************************************** *************************

NOTE: the optional IO::Socket::INET6 module is not installed.



* This is required if the first nameserver listed in your IP

* configuration or /etc/resolv.conf file is available only via an

* IPv6 address. Also used by a DCC plugin to access dccifd over network.





************************************************** *************************

NOTE: the optional IO::Socket::SSL module is not installed.



* If you wish to use SSL encryption to communicate between spamc and

* spamd (the --ssl option to spamd), you need to install this

* module. (You will need the OpenSSL libraries and use the

* ENABLE_SSL="yes" argument to Makefile.PL to build and run an SSL

* compatibile spamc.)





************************************************** *************************

NOTE: the optional DBI module is not installed.



* If you intend to use SpamAssassin with an SQL database backend for

* user configuration data, Bayes storage, or other storage, you will need

* to have these installed; both the basic DBI module and the DBD driver for

* your database.





************************************************** *************************

NOTE: the optional Encode:etect module is not installed.



* If you plan to use the normalize_charset config setting to detect

* charsets and convert them into Unicode, you will need to install

* this module.



REQUIRED module missing: HTML::Parser

REQUIRED module missing: Net:NS

REQUIRED module missing: NetAddr::IP

optional module missing: Digest::SHA1

optional module missing: Mail::SPF

optional module missing: IP::Country

optional module missing: Razor2

optional module missing: Net::Ident

optional module missing: IO::Socket::INET6

optional module missing: IO::Socket::SSL

optional module missing: DBI

optional module missing: Encode:etect



warning: some functionality may not be available,

please read the above report before continuing!



make -j 1 CC=x86_64-pc-linux-gnu-gcc 'LDFLAGS=-Wl,-O1 -Wl,--as-needed' spamc/Makefile

make: *** No rule to make target `spamc/Makefile'. *Stop.

** ERROR: mail-filter/spamassassin-3.3.2-r1 failed (configure phase):

** * emake failed

**

** If you need support, post the output of `emerge --info '=mail-filter/spamassassin-3.3.2-r1'`,

** the complete build log and the output of `emerge -pqv '=mail-filter/spamassassin-3.3.2-r1'`.

** The complete build log is located at '/var/tmp/portage/mail-filter/spamassassin-3.3.2-r1/temp/build.log'.

** The ebuild environment file is located at '/var/tmp/portage/mail-filter/spamassassin-3.3.2-r1/temp/environment'.

** Working directory: '/var/tmp/portage/mail-filter/spamassassin-3.3.2-r1/work/Mail-SpamAssassin-3.3.2'

** S: '/var/tmp/portage/mail-filter/spamassassin-3.3.2-r1/work/Mail-SpamAssassin-3.3.2'



>>> Failed to emerge mail-filter/spamassassin-3.3.2-r1, Log file:



>>> *'/var/tmp/portage/mail-filter/spamassassin-3.3.2-r1/temp/build.log'

[1] * *13372 exit 1 * * sudo emerge spamassassin
 
Old 07-04-2012, 06:21 AM
Adam Carter
 
Default Failed to emerge Spamassassin

> I tried to emerge Spamassassin bit it failes due to
> missing dependencies, which I would exspect to be
> resolved by emerge itsself.
>
> I wanted, I will post the referenced logfiles
> also.
>
> How can I fix this?

Try a deep dependency check; emerge -aD spamassassin
 
Old 07-04-2012, 08:37 AM
David Abbott
 
Default Failed to emerge Spamassassin

On Wed, Jul 4, 2012 at 2:21 AM, Adam Carter <adamcarter3@gmail.com> wrote:
>> I tried to emerge Spamassassin bit it failes due to
>> missing dependencies, which I would exspect to be
>> resolved by emerge itsself.
>>
>> I wanted, I will post the referenced logfiles
>> also.
>>
>> How can I fix this?
>
Try perl-cleaner --reallyall

http://www.gentoo.org/proj/en/perl/perl-cleaner.xml

HTH,
David
 

Thread Tools




All times are GMT. The time now is 04:27 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright ©2007 - 2008, www.linux-archive.org