Hello,
I have read the posts about upgrading to V2.63. I started to follow the upgrade procedure from Jalal and couldn't get past the cpan install bundle procedure. Since I have no idea about how to modify my configuration, or if I even need to, I selected NO to that answer and I get stuck in the process where it asks me to "Enter arithmetic or Perl expression" and I don't recall seeing anything about that in the procedure.
When type exit and rerun the install I receive the following output:
TermReadKey-2.30/README
Removing previously used /home/clearsightnet/.cpan/build/TermReadKey-2.30
CPAN.pm: Going to build J/JS/JSTOWE/TermReadKey-2.30.tar.gz
Checking if your kit is complete...
Looks good
Writing Makefile for Term::ReadKey
mkdir blib
mkdir blib/lib
mkdir blib/lib/Term
mkdir blib/arch
mkdir blib/arch/auto
mkdir blib/arch/auto/Term
mkdir blib/arch/auto/Term/ReadKey
mkdir blib/lib/auto
mkdir blib/lib/auto/Term
mkdir blib/lib/auto/Term/ReadKey
mkdir blib/man3
cp ReadKey.pm blib/lib/Term/ReadKey.pm
AutoSplitting blib/lib/Term/ReadKey.pm (blib/lib/auto/Term/ReadKey)
/bin/perl -I/usr/local/perl/lib/5.6.0 genchars.pl
Writing termio/termios section of cchars.h... Done.
Checking for sgtty...
Sgtty NOT found.
Writing sgtty section of cchars.h... Done.
/bin/perl -I/usr/local/perl/lib/5.6.0/i686-linux -I/usr/local/perl/lib/5.6.0 /usr/local/perl/lib/5.6.0/ExtUtils/xsubpp -noprototypes -typemap /usr/local/perl/lib/5.6.0/ExtUtils/typemap ReadKey.xs > ReadKey.xsc && mv ReadKey.xsc ReadKey.c
gcc -c -fno-strict-aliasing -I/usr/local/include -O2 -DVERSION=\"2.30\" -DXS_VERSION=\"2.30\" -fpic -I/usr/local/perl/lib/5.6.0/i686-linux/CORE ReadKey.c
make: gcc: Command not found
make: *** [ReadKey.o] Error 127
/bin/make -- NOT OK
Running make test
Can't test without successful make
Running make install
make had returned bad status, install seems impossible
Running install for module Term::ReadLine::Perl
Running make for I/IL/ILYAZ/modules/Term-ReadLine-Perl-1.0203.tar.gz
Checksum for /home/clearsightnet/.cpan/sources/authors/id/I/IL/ILYAZ/modules/Term-ReadLine-Perl-1.0203.tar.gz ok
Term-ReadLine-Perl-1.0203/
Term-ReadLine-Perl-1.0203/CHANGES
Term-ReadLine-Perl-1.0203/Makefile.PL
Term-ReadLine-Perl-1.0203/MANIFEST
Term-ReadLine-Perl-1.0203/ReadLine/
Term-ReadLine-Perl-1.0203/ReadLine/Perl.pm
Term-ReadLine-Perl-1.0203/ReadLine/readline.pm
Term-ReadLine-Perl-1.0203/README
Term-ReadLine-Perl-1.0203/test.pl
Removing previously used /home/clearsightnet/.cpan/build/Term-ReadLine-Perl-1.0203
CPAN.pm: Going to build I/IL/ILYAZ/modules/Term-ReadLine-Perl-1.0203.tar.gz
Checking if your kit is complete...
Looks good
Writing Makefile for Term::ReadLine
mkdir blib
mkdir blib/lib
mkdir blib/lib/Term
mkdir blib/arch
mkdir blib/arch/auto
mkdir blib/arch/auto/Term
mkdir blib/arch/auto/Term/ReadLine
mkdir blib/lib/auto
mkdir blib/lib/auto/Term
mkdir blib/lib/auto/Term/ReadLine
cp ReadLine/readline.pm blib/lib/Term/ReadLine/readline.pm
cp ReadLine/Perl.pm blib/lib/Term/ReadLine/Perl.pm
/bin/make -- OK
Running make test
PERL_DL_NONLAZY=1 /bin/perl -Iblib/arch -Iblib/lib -I/usr/local/perl/lib/5.6.0/i686-linux -I/usr/local/perl/lib/5.6.0 test.pl
Features present: preput 1 tkRunning 1 setHistory 1 attribs 1 addHistory 1 autohistory 1 ornaments 1 appname 1 newTTY 1 minline 1 getHistory 1
Can't ioctl TIOCGETP: Invalid argument
Consider installing Term::ReadKey from CPAN site nearby
at http://www.perl.com/CPAN
Or use
perl -MCPAN -e shell
to reach CPAN. Falling back to 'stty'.
If you do not want to see this warning, set PERL_READLINE_NOWARN
in your environment.
readline::SetTTY() called at blib/lib/Term/ReadLine/readline.pm line 1414
require 0 called at blib/lib/Term/ReadLine/readline.pm line 1414
readline::readline('Enter arithmetic or Perl expression: ', 'exit') called at blib/lib/Term/ReadLine/Perl.pm line 11
Term::ReadLine::Perl::readline('Term::ReadLine::Pe rl=ARRAY(0x812c004)', 'Enter arithmetic or Perl expression: ', 'exit') called at test.pl line 29
Cannot call `stty': No such file or directory at blib/lib/Term/ReadLine/readline.pm line 1546.
readline::readline('Enter arithmetic or Perl expression: ', 'exit') called at blib/lib/Term/ReadLine/Perl.pm line 11
Term::ReadLine::Perl::readline('Term::ReadLine::Pe rl=ARRAY(0x812c004)', 'Enter arithmetic or Perl expression: ', 'exit') called at test.pl line 29
Enter arithmetic or Perl expression: exit
/bin/make test -- OK
Running make install
Installing /usr/local/perl/lib/site_perl/5.6.0/Term/ReadLine/readline.pm
Installing /usr/local/perl/lib/site_perl/5.6.0/Term/ReadLine/Perl.pm
Writing /usr/local/perl/lib/site_perl/5.6.0/i686-linux/auto/Term/ReadLine/.packlist
Appending installation info to /usr/local/perl/lib/5.6.0/i686-linux/perllocal.pod
/bin/make install -- OK
CPAN is up to date.
Bundle summary: The following items in bundle Bundle::CPAN had installation
problems:
File::Spec Digest::MD5 Compress::Zlib Bundle::libnet Term::ReadKey and
the following items had problems during recursive bundle calls:
Data:umper Net::Cmd
CPAN: Term::ReadLine::Perl loaded ok
...................
19 subroutines in Term::ReadLine redefined
cpan shell -- CPAN exploration and modules installation (v1.76)
ReadLine support enabled
Can't ioctl TIOCGETP: Invalid argument
Consider installing Term::ReadKey from CPAN site nearby
at http://www.perl.com/CPAN
Or use
perl -MCPAN -e shell
to reach CPAN. Falling back to 'stty'.
If you do not want to see this warning, set PERL_READLINE_NOWARN
in your environment.
Can't exec "stty": No such file or directory at /usr/local/perl/lib/site_perl/5.6.0/Term/ReadLine/readline.pm line 1546.
Cannot call `stty': No such file or directory at /usr/local/perl/lib/site_perl/5.6.0/Term/ReadLine/readline.pm line 1546.
cpan> install Bundle::CPAN
Running install for module File::Spec
Running make for K/KW/KWILLIAMS/PathTools-3.08.tar.gz
Is already unwrapped into directory /home/clearsightnet/.cpan/build/PathTools-3.08
Has already been processed within this session
Running make test
Can't test without successful make
Running make install
make had returned bad status, install seems impossible
Running install for module Digest::MD5
Running make for G/GA/GAAS/Digest-MD5-2.33.tar.gz
Is already unwrapped into directory /home/clearsightnet/.cpan/build/Digest-MD5-2.33
Has already been processed within this session
Running make test
Can't test without successful make
Running make install
make had returned bad status, install seems impossible
Running install for module Compress::Zlib
Running make for P/PM/PMQS/Compress-Zlib-1.34.tar.gz
Is already unwrapped into directory /home/clearsightnet/.cpan/build/Compress-Zlib-1.34
Has already been processed within this session
Running make test
Can't test without successful make
Running make install
make had returned bad status, install seems impossible
Archive::Tar is up to date.
Running install for module Data:umper
Running make for I/IL/ILYAM/Data-Dumper-2.121.tar.gz
Is already unwrapped into directory /home/clearsightnet/.cpan/build/Data-Dumper-2.121
Has already been processed within this session
Running make test
Can't test without successful make
Running make install
make had returned bad status, install seems impossible
Net::Telnet is up to date.
Running install for module Net::Cmd
Running make for G/GB/GBARR/libnet-1.19.tar.gz
Is already unwrapped into directory /home/clearsightnet/.cpan/build/libnet-1.19
Has already been processed within this session
Running make test
PERL_DL_NONLAZY=1 /bin/perl -Iblib/arch -Iblib/lib -I/usr/local/perl/lib/5.6.0/i686-linux -I/usr/local/perl/lib/5.6.0 -e 'use Test::Harness qw(&runtests $verbose); $verbose=0; runtests @ARGV;' t/*.t
t/config......ok
t/datasend....ok
t/ftp.........FAILED tests 1-7
Failed 7/7 tests, 0.00% okay
t/hostname....ok
t/netrc.......ok
t/nntp........skipped
all skipped: no reason given
t/require.....ok
t/smtp........skipped
all skipped: no reason given
Failed Test Stat Wstat Total Fail Failed List of Failed
-------------------------------------------------------------------------------
t/ftp.t 7 7 100.00% 1-7
2 tests skipped.
Failed 1/8 test scripts, 87.50% okay. 7/99 subtests failed, 92.93% okay.
make: *** [test_dynamic] Error 11
/bin/make test -- NOT OK
Running make install
make test had returned bad status, won't install without force
Bundle summary: The following items in bundle Bundle::libnet had
installation problems:
Data:umper Net::Cmd
Running install for module Term::ReadKey
Running make for J/JS/JSTOWE/TermReadKey-2.30.tar.gz
Is already unwrapped into directory /home/clearsightnet/.cpan/build/TermReadKey-2.30
Has already been processed within this session
Running make test
Can't test without successful make
Running make install
make had returned bad status, install seems impossible
Term::ReadLine::Perl is up to date.
CPAN is up to date.
Bundle summary: The following items in bundle Bundle::CPAN had installation problems:
File::Spec Digest::MD5 Compress::Zlib Bundle::libnet Term::ReadKey and the following items had problems during recursive bundle calls:
Data:umper Net::Cmd
cpan>
So, now I know I don't have gcc installed but does that make a difference in the basic functionality of Version 2.63?
Thanks,
Brian.
Results 1 to 3 of 3
-
06-10-2005, 11:58 AM #1Junior Member
- Join Date
- Jun 2005
- Posts
- 7
Spamassassin upgrade isn't working - part 2
-
06-10-2005, 01:29 PM #2
Some Perl modules need 'gcc' to install, other modules don't (they are pure Perl).
SpamAssassin doesn't need 'gcc' at all.
Take a look at the section on my site:
http://codeworks.gnomedia.com/westho...-installation/
and near the end of the page is the 3rd means of installing ("Upgrading using a prebuilt package from another Westhost site.").
Try that and see if it works for you.
But, to be honest, you could be little out of your depth and it may be better to find a local unix guru to handle it for you.
There is no black magic involved, I promise!
-
06-10-2005, 02:16 PM #3Junior Member
- Join Date
- Jun 2005
- Posts
- 7
Thank you Jalal.
I pulled the tarball from your site. I've untarred it and modified the spamassassin path to /sa/bin/spamassassin per your directions.
I'll go look at the docs now for the new version and see how much trouble I can cause myself.
Brian.
Similar Threads
-
SpamAssassin Procmail
By Coinmint in forum E-mail / FTP ManagementReplies: 5Last Post: 11-10-2006, 12:22 PM -
Spamassassin upgrade isn't working - part 1
By bstreet in forum E-mail / FTP ManagementReplies: 1Last Post: 06-10-2005, 12:07 PM -
Spamassassin suddenly stopped working
By seaquest in forum E-mail / FTP ManagementReplies: 7Last Post: 08-27-2004, 03:26 AM -
Upgrade SpamAssassin using CPAN?
By j103c in forum E-mail / FTP ManagementReplies: 54Last Post: 06-10-2004, 03:35 PM -
SpamAssassin 2.60 upgrade failure?
By Frisky in forum E-mail / FTP ManagementReplies: 6Last Post: 11-21-2003, 09:02 AM
umper Net::Cmd
Reply With Quote