Gentoo Archives: gentoo-user

From: "Oszkár Ocsenás" <ocsenaso@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Failed to emerge Spamassassin
Date: Wed, 04 Jul 2012 05:35:41
Message-Id: CAK86ViRD-6jDk6qEX5M+-GPPkxwqkajPog_agQCDtFtF1aa6DQ@mail.gmail.com
In Reply to: [gentoo-user] Failed to emerge Spamassassin by meino.cramer@gmx.de
1 You need to install required Perl modules I think. Please google it how, if
2 there is no ebuild.
3 2012.07.04. 4:57, <meino.cramer@×××.de> ezt írta:
4
5 > hi,
6 >
7 > I tried to emerge Spamassassin bit it failes due to
8 > missing dependencies, which I would exspect to be
9 > resolved by emerge itsself.
10 >
11 > I wanted, I will post the referenced logfiles
12 > also.
13 >
14 > How can I fix this?
15 >
16 > Best regards,
17 > mcc
18 >
19 >
20 > solfire:/home/user>sudo emerge spamassassin
21 > Calculating dependencies... done!
22 >
23 > >>> Verifying ebuild manifests
24 >
25 > >>> Emerging (1 of 1) mail-filter/spamassassin-3.3.2-r1
26 > * Mail-SpamAssassin-3.3.2.tar.bz2 RMD160 SHA1 SHA256 size ;-) ...
27 > [ ok ]
28 > >>> cfg-update-1.8.2-r1: Creating checksum index...
29 > >>> Unpacking source...
30 > >>> Unpacking Mail-SpamAssassin-3.3.2.tar.bz2 to
31 > /var/tmp/portage/mail-filter/spamassassin-3.3.2-r1/work
32 > >>> Source unpacked in
33 > /var/tmp/portage/mail-filter/spamassassin-3.3.2-r1/work
34 > >>> Preparing source in
35 > /var/tmp/portage/mail-filter/spamassassin-3.3.2-r1/work/Mail-SpamAssassin-3.3.2
36 > ...
37 > * Applying spamassassin-3.3.2-mysql_count_rows.patch ...
38 > [ ok ]
39 > * Applying spamassassin-3.3.2-binary_token.patch ...
40 > [ ok ]
41 > * Applying spamassassin-3.3.2-innodb.patch ...
42 > [ ok ]
43 > >>> Source prepared.
44 > >>> Configuring source in
45 > /var/tmp/portage/mail-filter/spamassassin-3.3.2-r1/work/Mail-SpamAssassin-3.3.2
46 > ...
47 > * Using ExtUtils::MakeMaker
48 > * perl Makefile.PL PREFIX=/usr INSTALLDIRS=vendor INSTALLMAN3DIR=none
49 > DESTDIR=/var/tmp/portage/mail-filter/spamassassin-3.3.2-r1/image/
50 > SYSCONFDIR=/etc DATADIR=/usr/share/spamassassin ENABLE_SSL=yes
51 > PERL_BIN=/usr/bin/perl
52 > What email address or URL should be used in the suspected-spam report
53 > text for users who want more information on your filter installation?
54 > (In particular, ISPs should change this to a local Postmaster contact)
55 > default text: [the administrator of that system] the administrator of that
56 > system
57 >
58 > NOTE: settings for "make test" are now controlled using "t/config.dist".
59 > See that file if you wish to customise what tests are run, and how.
60 >
61 > checking module dependencies and their versions...
62 >
63 > ***************************************************************************
64 > ERROR: the required HTML::Parser module is not installed,
65 > minimum required version is 3.43.
66 >
67 > HTML is used for an ever-increasing amount of email so this dependency
68 > is unavoidable. Run "perldoc -q html" for additional information.
69 >
70 >
71 > ***************************************************************************
72 > ERROR: the required Net::DNS module is not installed,
73 > minimum required version is 0.34.
74 >
75 > Used for all DNS-based tests (SBL, XBL, SpamCop, DSBL, etc.),
76 > perform MX checks, and is also used when manually reporting spam to
77 > SpamCop.
78 >
79 > You need to make sure the Net::DNS version is sufficiently up-to-date:
80 >
81 > - version 0.34 or higher on Unix systems
82 > - version 0.46 or higher on Windows systems
83 >
84 >
85 > ***************************************************************************
86 > ERROR: the required NetAddr::IP module is not installed,
87 > minimum required version is 4.000.
88 >
89 > Used in determining which DNS tests are to be done for each of
90 > the header's received fields, and used by AWL plugin for extracting
91 > network
92 > address from an IPv6 addresses (and from IPv4 address on nondefault
93 > mask).
94 >
95 >
96 > ***************************************************************************
97 > NOTE: the optional Digest::SHA1 module is not installed.
98 >
99 > The Digest::SHA1 module is required by the Razor2 plugin.
100 >
101 >
102 > ***************************************************************************
103 > NOTE: the optional Mail::SPF module is not installed.
104 >
105 > Used to check DNS Sender Policy Framework (SPF) records to fight email
106 > address forgery and make it easier to identify spams.
107 >
108 >
109 > ***************************************************************************
110 > NOTE: the optional IP::Country module is not installed.
111 >
112 > Used by the RelayCountry plugin (not enabled by default) to determine
113 > the domain country codes of each relay in the path of an email.
114 >
115 >
116 > ***************************************************************************
117 > NOTE: the optional Razor2 module is not installed,
118 > minimum required version is 2.61.
119 >
120 > Used to check message signatures against Vipul's Razor collaborative
121 > filtering network. Razor has a large number of dependencies on CPAN
122 > modules. Feel free to skip installing it, if this makes you nervous;
123 > SpamAssassin will still work well without it.
124 >
125 > More info on installing and using Razor can be found
126 > at http://wiki.apache.org/spamassassin/InstallingRazor .
127 >
128 >
129 > ***************************************************************************
130 > NOTE: the optional Net::Ident module is not installed.
131 >
132 > If you plan to use the --auth-ident option to spamd, you will need
133 > to install this module.
134 >
135 >
136 > ***************************************************************************
137 > NOTE: the optional IO::Socket::INET6 module is not installed.
138 >
139 > This is required if the first nameserver listed in your IP
140 > configuration or /etc/resolv.conf file is available only via an
141 > IPv6 address. Also used by a DCC plugin to access dccifd over network.
142 >
143 >
144 > ***************************************************************************
145 > NOTE: the optional IO::Socket::SSL module is not installed.
146 >
147 > If you wish to use SSL encryption to communicate between spamc and
148 > spamd (the --ssl option to spamd), you need to install this
149 > module. (You will need the OpenSSL libraries and use the
150 > ENABLE_SSL="yes" argument to Makefile.PL to build and run an SSL
151 > compatibile spamc.)
152 >
153 >
154 > ***************************************************************************
155 > NOTE: the optional DBI module is not installed.
156 >
157 > If you intend to use SpamAssassin with an SQL database backend for
158 > user configuration data, Bayes storage, or other storage, you will need
159 > to have these installed; both the basic DBI module and the DBD driver for
160 > your database.
161 >
162 >
163 > ***************************************************************************
164 > NOTE: the optional Encode::Detect module is not installed.
165 >
166 > If you plan to use the normalize_charset config setting to detect
167 > charsets and convert them into Unicode, you will need to install
168 > this module.
169 >
170 > REQUIRED module missing: HTML::Parser
171 > REQUIRED module missing: Net::DNS
172 > REQUIRED module missing: NetAddr::IP
173 > optional module missing: Digest::SHA1
174 > optional module missing: Mail::SPF
175 > optional module missing: IP::Country
176 > optional module missing: Razor2
177 > optional module missing: Net::Ident
178 > optional module missing: IO::Socket::INET6
179 > optional module missing: IO::Socket::SSL
180 > optional module missing: DBI
181 > optional module missing: Encode::Detect
182 >
183 > warning: some functionality may not be available,
184 > please read the above report before continuing!
185 >
186 > make -j 1 CC=x86_64-pc-linux-gnu-gcc 'LDFLAGS=-Wl,-O1 -Wl,--as-needed'
187 > spamc/Makefile
188 > make: *** No rule to make target `spamc/Makefile'. Stop.
189 > * ERROR: mail-filter/spamassassin-3.3.2-r1 failed (configure phase):
190 > * emake failed
191 > *
192 > * If you need support, post the output of `emerge --info
193 > '=mail-filter/spamassassin-3.3.2-r1'`,
194 > * the complete build log and the output of `emerge -pqv
195 > '=mail-filter/spamassassin-3.3.2-r1'`.
196 > * The complete build log is located at
197 > '/var/tmp/portage/mail-filter/spamassassin-3.3.2-r1/temp/build.log'.
198 > * The ebuild environment file is located at
199 > '/var/tmp/portage/mail-filter/spamassassin-3.3.2-r1/temp/environment'.
200 > * Working directory:
201 > '/var/tmp/portage/mail-filter/spamassassin-3.3.2-r1/work/Mail-SpamAssassin-3.3.2'
202 > * S:
203 > '/var/tmp/portage/mail-filter/spamassassin-3.3.2-r1/work/Mail-SpamAssassin-3.3.2'
204 >
205 > >>> Failed to emerge mail-filter/spamassassin-3.3.2-r1, Log file:
206 >
207 > >>> '/var/tmp/portage/mail-filter/spamassassin-3.3.2-r1/temp/build.log'
208 > [1] 13372 exit 1 sudo emerge spamassassin
209 >
210 >
211 >