You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@spamassassin.apache.org by Matthew Hardy <ha...@popcbr.rockefeller.edu> on 2007/06/05 02:04:24 UTC

Unable to upgrade to spamassassin v 3.2.0 on a Mac PowerBook G4

I am trying to upgrade to spamassassin 3.2.0 from 3.1.8, with my  
operating
system being Mac OS X, v 10.4.9.  The install failed when running cpan,
despite an earlier successful installation.  The following is a part of
the script file of the terminal output during the cpan session.  It  
indicates a problem with Net::DNS.
At the end of this message, I am attaching cpan session record of my  
attempt to install Net::DNS.
There seemed to be multiple problems.  In particular, the  
MIME::Base64 is 3.05, whereas it
should be 3.07.  I would be grateful for advice on how to rectify.   
When I looked at MIME::Base64,
here is what I found --

cpan> install MIME::Base64
CPAN: Storable loaded ok
Going to read /Users/hardy/.cpan/Metadata
   Database was generated on Mon, 04 Jun 2007 19:10:03 GMT
MIME::Base64 is up to date (3.07).


hardy> spamassassin -V
SpamAssassin version 3.1.8
   running on Perl version 5.8.6

checking module dependencies and their versions...

************************************************************************ 
***
ERROR: the required Net::DNS (version 0.34) module is not installed.  
at lib/Mail/SpamAssassin/Util/DependencyInfo.pm line 293, <STDIN>  
line 1.

   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::DNS version is sufficiently up-to- 
date:

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


************************************************************************ 
***
NOTE: the optional MIME::Base64 module is installed,
but is not an up-to-date version.

   This module is highly recommended to increase the speed with which
   Base64 encoded messages/mail parts are decoded.


************************************************************************ 
***
Text deleted.
************************************************************************ 
***

REQUIRED module missing: Net::DNS
optional module out of date: MIME::Base64
optional module missing: Mail::SPF
optional module missing: Mail::SPF::Query
optional module missing: Net::Ident
optional module missing: Mail::DomainKeys
optional module missing: Mail::DKIM
optional module missing: LWP::UserAgent
optional module missing: HTTP::Date
optional module missing: Encode::Detect

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

Warning: No success on command[/usr/bin/perl Makefile.PL]
Failed during this command:
   JMASON/Mail-SpamAssassin-3.2.0.tar.gz        : writemakefile NO '/ 
usr/bin/perl Makefile.PL' returned status 256

cpan> quit
Lockfile removed.
hardy> exit
Script done on Mon Jun  4 19:10:33 2007

Output from attempted Net::DNS install follows.

Running install for module Net::DNS
Running make for O/OL/OLAF/Net-DNS-0.59.tar.gz
CPAN: Digest::SHA loaded ok
CPAN: Compress::Zlib loaded ok
Checksum for /Users/hardy/.cpan/sources/authors/id/O/OL/OLAF/Net- 
DNS-0.59.tar.gz ok
Scanning cache /Users/hardy/.cpan/build for sizes
Deleting from cache: /Users/hardy/.cpan/build/Mail-SpamAssassin-3.2.0  
(100.9>100.0 MB)

Removing previously used /Users/hardy/.cpan/build/Net-DNS-0.59

   CPAN.pm: Going to build O/OL/OLAF/Net-DNS-0.59.tar.gz

Testing if you have a C compiler and the needed header files....
You have a working compiler.
	
You appear to be directly connected to the Internet.  I have some tests
that try to query live nameservers.
	
Do you want to enable these tests? [y] y
Checking if your kit is complete...
Looks good
Warning: prerequisite MIME::Base64 2.11 not found.
Writing Makefile for Net::DNS
CPAN: YAML loaded ok

cc -c   -g -pipe -fno-common -DPERL_DARWIN -no-cpp-precomp -fno- 
strict-aliasing -I/usr/local/include -Os   -DVERSION=\"0.59\" - 
DXS_VERSION=\"0.59\"  "-I/System/Library/Perl/5.8.6/darwin-thread- 
multi-2level/CORE"   netdns.c
ar cr netdns.a netdns.o
/usr/bin/ar ts netdns.a
__.SYMDEF SORTED
netdns.o
/usr/bin/perl /System/Library/Perl/5.8.6/ExtUtils/xsubpp  -typemap / 
System/Library/Perl/5.8.6/ExtUtils/typemap  DNS.xs > DNS.xsc && mv  
DNS.xsc DNS.c
cc -c   -g -pipe -fno-common -DPERL_DARWIN -no-cpp-precomp -fno- 
strict-aliasing -I/usr/local/include -Os   -DVERSION=\"0.59\" - 
DXS_VERSION=\"0.59\"  "-I/System/Library/Perl/5.8.6/darwin-thread- 
multi-2level/CORE"   DNS.c
Running Mkbootstrap for Net::DNS ()
chmod 644 DNS.bs
rm -f blib/arch/auto/Net/DNS/DNS.bundle
env MACOSX_DEPLOYMENT_TARGET=10.3 cc  -bundle -undefined  
dynamic_lookup -L/usr/local/lib DNS.o  -o blib/arch/auto/Net/DNS/ 
DNS.bundle netdns.a	\
      	\

chmod 755 blib/arch/auto/Net/DNS/DNS.bundle
cp DNS.bs blib/arch/auto/Net/DNS/DNS.bs
chmod 644 blib/arch/auto/Net/DNS/DNS.bs

   /usr/bin/make  -- OK
Running make test
PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e"  
"test_harness(0, 'blib/lib', 'blib/arch')" t/*.t

MIME::Base64 object version 3.05 does not match bootstrap parameter  
3.07 at /System/Library/Perl/5.8.6/darwin-thread-multi-2level/ 
XSLoader.pm line 91.
# Compilation failed in require at /Users/hardy/.cpan/build/Net- 
DNS-0.59/blib/lib/Net/DNS/RR/CERT.pm line 13.
# BEGIN failed--compilation aborted at /Users/hardy/.cpan/build/Net- 
DNS-0.59/blib/lib/Net/DNS/RR/CERT.pm line 13.
# Compilation failed in require at (eval 25) line 3.
Use of uninitialized value in concatenation (.) or string at t/00- 
load.t line 44.

MIME::Base64 object version 3.05 does not match bootstrap parameter  
3.07 at /System/Library/Perl/5.8.6/darwin-thread-multi-2level/ 
XSLoader.pm line 91.
Compilation failed in require at /Users/hardy/.cpan/build/Net- 
DNS-0.59/blib/lib/Net/DNS/RR/CERT.pm line 13.
BEGIN failed--compilation aborted at /Users/hardy/.cpan/build/Net- 
DNS-0.59/blib/lib/Net/DNS/RR/CERT.pm line 13.




Re: Unable to upgrade to spamassassin v 3.2.0 on a Mac PowerBook G4

Posted by Jerry Durand <jd...@interstellar.com>.
Go see the tutorials on http://osx.topicdesk.com/

If you're like me, you hosed your system trying to upgrade.  You may have
to wipe the disk and re-install OSX.

The TopicDesk tutorials are great!

On Mon, June 4, 2007 5:04 pm, Matthew Hardy wrote:
> I am trying to upgrade to spamassassin 3.2.0 from 3.1.8, with my
> operating
> system being Mac OS X, v 10.4.9.  The install failed when running cpan,
> despite an earlier successful installation.  The following is a part of
> the script file of the terminal output during the cpan session.  It
> indicates a problem with Net::DNS.
> At the end of this message, I am attaching cpan session record of my
> attempt to install Net::DNS.
> There seemed to be multiple problems.  In particular, the
> MIME::Base64 is 3.05, whereas it
> should be 3.07.  I would be grateful for advice on how to rectify.
> When I looked at MIME::Base64,
> here is what I found --
>
> cpan> install MIME::Base64
> CPAN: Storable loaded ok
> Going to read /Users/hardy/.cpan/Metadata
>    Database was generated on Mon, 04 Jun 2007 19:10:03 GMT
> MIME::Base64 is up to date (3.07).
>
>
> hardy> spamassassin -V
> SpamAssassin version 3.1.8
>    running on Perl version 5.8.6
>
> checking module dependencies and their versions...
>
> ************************************************************************
> ***
> ERROR: the required Net::DNS (version 0.34) module is not installed.
> at lib/Mail/SpamAssassin/Util/DependencyInfo.pm line 293, <STDIN>
> line 1.
>
>    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::DNS version is sufficiently up-to-
> date:
>
>    - version 0.34 or higher on Unix systems
>    - version 0.46 or higher on Windows systems
>
>
> ************************************************************************
> ***
> NOTE: the optional MIME::Base64 module is installed,
> but is not an up-to-date version.
>
>    This module is highly recommended to increase the speed with which
>    Base64 encoded messages/mail parts are decoded.
>
>
> ************************************************************************
> ***
> Text deleted.
> ************************************************************************
> ***
>
> REQUIRED module missing: Net::DNS
> optional module out of date: MIME::Base64
> optional module missing: Mail::SPF
> optional module missing: Mail::SPF::Query
> optional module missing: Net::Ident
> optional module missing: Mail::DomainKeys
> optional module missing: Mail::DKIM
> optional module missing: LWP::UserAgent
> optional module missing: HTTP::Date
> optional module missing: Encode::Detect
>
> warning: some functionality may not be available,
> please read the above report before continuing!
>
> Warning: No success on command[/usr/bin/perl Makefile.PL]
> Failed during this command:
>    JMASON/Mail-SpamAssassin-3.2.0.tar.gz        : writemakefile NO '/
> usr/bin/perl Makefile.PL' returned status 256
>
> cpan> quit
> Lockfile removed.
> hardy> exit
> Script done on Mon Jun  4 19:10:33 2007
>
> Output from attempted Net::DNS install follows.
>
> Running install for module Net::DNS
> Running make for O/OL/OLAF/Net-DNS-0.59.tar.gz
> CPAN: Digest::SHA loaded ok
> CPAN: Compress::Zlib loaded ok
> Checksum for /Users/hardy/.cpan/sources/authors/id/O/OL/OLAF/Net-
> DNS-0.59.tar.gz ok
> Scanning cache /Users/hardy/.cpan/build for sizes
> Deleting from cache: /Users/hardy/.cpan/build/Mail-SpamAssassin-3.2.0
> (100.9>100.0 MB)
>
> Removing previously used /Users/hardy/.cpan/build/Net-DNS-0.59
>
>    CPAN.pm: Going to build O/OL/OLAF/Net-DNS-0.59.tar.gz
>
> Testing if you have a C compiler and the needed header files....
> You have a working compiler.
>
> You appear to be directly connected to the Internet.  I have some tests
> that try to query live nameservers.
>
> Do you want to enable these tests? [y] y
> Checking if your kit is complete...
> Looks good
> Warning: prerequisite MIME::Base64 2.11 not found.
> Writing Makefile for Net::DNS
> CPAN: YAML loaded ok
>
> cc -c   -g -pipe -fno-common -DPERL_DARWIN -no-cpp-precomp -fno-
> strict-aliasing -I/usr/local/include -Os   -DVERSION=\"0.59\" -
> DXS_VERSION=\"0.59\"  "-I/System/Library/Perl/5.8.6/darwin-thread-
> multi-2level/CORE"   netdns.c
> ar cr netdns.a netdns.o
> /usr/bin/ar ts netdns.a
> __.SYMDEF SORTED
> netdns.o
> /usr/bin/perl /System/Library/Perl/5.8.6/ExtUtils/xsubpp  -typemap /
> System/Library/Perl/5.8.6/ExtUtils/typemap  DNS.xs > DNS.xsc && mv
> DNS.xsc DNS.c
> cc -c   -g -pipe -fno-common -DPERL_DARWIN -no-cpp-precomp -fno-
> strict-aliasing -I/usr/local/include -Os   -DVERSION=\"0.59\" -
> DXS_VERSION=\"0.59\"  "-I/System/Library/Perl/5.8.6/darwin-thread-
> multi-2level/CORE"   DNS.c
> Running Mkbootstrap for Net::DNS ()
> chmod 644 DNS.bs
> rm -f blib/arch/auto/Net/DNS/DNS.bundle
> env MACOSX_DEPLOYMENT_TARGET=10.3 cc  -bundle -undefined
> dynamic_lookup -L/usr/local/lib DNS.o  -o blib/arch/auto/Net/DNS/
> DNS.bundle netdns.a	\
>       	\
>
> chmod 755 blib/arch/auto/Net/DNS/DNS.bundle
> cp DNS.bs blib/arch/auto/Net/DNS/DNS.bs
> chmod 644 blib/arch/auto/Net/DNS/DNS.bs
>
>    /usr/bin/make  -- OK
> Running make test
> PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e"
> "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
>
> MIME::Base64 object version 3.05 does not match bootstrap parameter
> 3.07 at /System/Library/Perl/5.8.6/darwin-thread-multi-2level/
> XSLoader.pm line 91.
> # Compilation failed in require at /Users/hardy/.cpan/build/Net-
> DNS-0.59/blib/lib/Net/DNS/RR/CERT.pm line 13.
> # BEGIN failed--compilation aborted at /Users/hardy/.cpan/build/Net-
> DNS-0.59/blib/lib/Net/DNS/RR/CERT.pm line 13.
> # Compilation failed in require at (eval 25) line 3.
> Use of uninitialized value in concatenation (.) or string at t/00-
> load.t line 44.
>
> MIME::Base64 object version 3.05 does not match bootstrap parameter
> 3.07 at /System/Library/Perl/5.8.6/darwin-thread-multi-2level/
> XSLoader.pm line 91.
> Compilation failed in require at /Users/hardy/.cpan/build/Net-
> DNS-0.59/blib/lib/Net/DNS/RR/CERT.pm line 13.
> BEGIN failed--compilation aborted at /Users/hardy/.cpan/build/Net-
> DNS-0.59/blib/lib/Net/DNS/RR/CERT.pm line 13.
>
>
>
>
>


-- 
Jerry Durand, Durand Interstellar, Inc.
Los Gatos, California USA
tel:  +1 408 356-3886, USA toll free:  1 866 356-3886
web:  www.interstellar.com, skype:  jerrydurand




Re: Unable to upgrade to spamassassin v 3.2.0 on a Mac PowerBook G4

Posted by Jerry Durand <jd...@interstellar.com>.
On Jun 5, 2007, at 5:56 AM, maillist wrote:

>
>
> Can you not just go to CPAN and install these modules?
>

You have to use a non-standard configuration, otherwise the system  
crashes (mine got to the point that it thought it didn't even have an  
OS installed).  Using the Topic Desk tutorials I was able to update  
SA, ClamAV, SquirrelMail and Amavis-new, and switch from ClamScan to  
Clamd.

I contributed a tiny bit to the current version of the tutorials in  
the form of updates.


Re: Unable to upgrade to spamassassin v 3.2.0 on a Mac PowerBook G4

Posted by maillist <ma...@emailacs.com>.
Matthew Hardy wrote:
> I am trying to upgrade to spamassassin 3.2.0 from 3.1.8, with my 
> operating
> system being Mac OS X, v 10.4.9.  The install failed when running cpan,
> despite an earlier successful installation.  The following is a part of
> the script file of the terminal output during the cpan session.  It 
> indicates a problem with Net::DNS.
> At the end of this message, I am attaching cpan session record of my 
> attempt to install Net::DNS.
> There seemed to be multiple problems.  In particular, the MIME::Base64 
> is 3.05, whereas it
> should be 3.07.  I would be grateful for advice on how to rectify.  
> When I looked at MIME::Base64,
> here is what I found --
>
> cpan> install MIME::Base64
> CPAN: Storable loaded ok
> Going to read /Users/hardy/.cpan/Metadata
>   Database was generated on Mon, 04 Jun 2007 19:10:03 GMT
> MIME::Base64 is up to date (3.07).
>
>
> hardy> spamassassin -V
> SpamAssassin version 3.1.8
>   running on Perl version 5.8.6
>
> checking module dependencies and their versions...
>
> *************************************************************************** 
>
> ERROR: the required Net::DNS (version 0.34) module is not installed. 
> at lib/Mail/SpamAssassin/Util/DependencyInfo.pm line 293, <STDIN> line 1.
>
>   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::DNS version is sufficiently up-to-date:
>
>   - version 0.34 or higher on Unix systems
>   - version 0.46 or higher on Windows systems
>
>
> *************************************************************************** 
>
> NOTE: the optional MIME::Base64 module is installed,
> but is not an up-to-date version.
>
>   This module is highly recommended to increase the speed with which
>   Base64 encoded messages/mail parts are decoded.
>
>
> *************************************************************************** 
>
> Text deleted.
> *************************************************************************** 
>
>
> REQUIRED module missing: Net::DNS
> optional module out of date: MIME::Base64
> optional module missing: Mail::SPF
> optional module missing: Mail::SPF::Query
> optional module missing: Net::Ident
> optional module missing: Mail::DomainKeys
> optional module missing: Mail::DKIM
> optional module missing: LWP::UserAgent
> optional module missing: HTTP::Date
> optional module missing: Encode::Detect


Can you not just go to CPAN and install these modules?