[ic] Trying to upgrade to 5.6.0 but in a mess

Andrew Rich andrew at mapsdownunder.com.au
Mon May 26 00:20:26 UTC 2008


> Hi All
> 
> Was:
> IC 5.4.2
> Perl 5.6.1
> MySql 3.23.58
> 
> I downloaded IC 5.6.0 and attempted to install.  This failed due to
> Perl
> version was 5.6.1.
> Downloaded and attempted install of Perl 5.10.0 but was not sure of
> folders and ended up with both 5.6.1 and 5.10 files.
> Attempting to install IC failed due to version problems of Perl files
> like Parser.pm.
> Out of control I managed to delete old versions of Parser.pm but I had
> already started to use the cpan InterchangeKitchenSink bundle.
> Finally have IC 5.6.0 installed and on attempting to start I get
> DBD:mysql not present errors for each catalog.
> 
> I have since returned to try and complete KitchenSink install and have
> errors.  I have included the following to see If someone can point me
> back in the right direction.
> 
>  [root at server build]# perl -MCPAN -e 'install
> Bundle::InterchangeKitchenSink'
> 
> CPAN: Storable loaded ok (v2.18)
> Going to read /root/.cpan/Metadata
>   Database was generated on Sat, 24 May 2008 08:30:29 GMT
> CPAN: YAML loaded ok (v0.66)
> Going to read /root/.cpan/build/
> .................................................................DONE
> Found 3 old builds, restored the state of 3
> Digest::MD5 is up to date (2.36_01).
> Digest::SHA1 is up to date (2.11).
> MIME::Base64 is up to date (3.07_01).
> MIME::Lite is up to date (3.021).
> URI::URL is up to date (5.03).
> HTML::Tagset is up to date (3.20).
> HTML::Entities is up to date (1.35).
> HTML::Parser is up to date (3.56).
> MIME::Base64 is up to date (3.07_01).
> Digest::MD5 is up to date (2.36_01).
> URI is up to date (1.36).
> Net::FTP is up to date (2.77).
> HTML::Tagset is up to date (3.20).
> HTML::Parser is up to date (3.56).
> HTML::HeadParser is up to date (2.22).
> LWP is up to date (5.812).
> IO::Scalar is up to date (2.110).
> Parse::RecDescent is up to date (1.94).
> OLE::Storage_Lite is up to date (0.17).
> Term::ReadKey is up to date (2.30).
> Term::ReadLine::Perl is up to date (1.0302).
> Image::Size is up to date (3.100001).
> DBI is up to date (1.604).
> Safe::Hole is up to date (0.10).
> Set::Crontab is up to date (1.00).
> Running install for module 'Text::Query'
> Running make for E/EB/EBOHLMAN/Text-Query-0.07.tar.gz
>   Has already been unwrapped into directory
> /root/.cpan/build/Text-Query-0.07-Kl5TA4
>   Has already been made
> Running make test
> PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e"
> "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
> t/01default....Text::Query::ParseAdvanced::factor() called too early to
> check prototype at
> /root/.cpan/build/Text-Query-0.07-
> Kl5TA4/blib/lib/Text/Query/ParseAdvanced.pm
> line 114.
> t/01default....ok 1/18Text::Query::ParseAdvanced::factor() called too
> early to check prototype at
> /root/.cpan/build/Text-Query-0.07-
> Kl5TA4/blib/lib/Text/Query/ParseAdvanced.pm
> line 122.
> t/01default....ok
> t/02string.....ok 1/56Can't use string ("2") as an ARRAY ref while
> "strict refs" in use at
> /root/.cpan/build/Text-Query-0.07-
> Kl5TA4/blib/lib/Text/Query/SolveSimpleString.pm
> line 52.
> t/02string.....dubious
>         Test returned status 9 (wstat 2304, 0x900) DIED. FAILED tests
> 27-56
>         Failed 30/56 tests, 46.43% okay
> Failed Test  Stat Wstat Total Fail  List of Failed
> -----------------------------------------------------------------------
> t/02string.t    9  2304    56   60  27-56
> Failed 1/2 test scripts. 30/74 subtests failed.
> Files=2, Tests=74,  0 wallclock secs ( 0.06 cusr +  0.02 csys =  0.08
> CPU) Failed 1/2 test programs. 30/74 subtests failed.
> make: *** [test_dynamic] Error 9
>   EBOHLMAN/Text-Query-0.07.tar.gz
>   /usr/bin/make test -- NOT OK
> //hint// to see the cpan-testers results for installing this module,
> try:
>   reports EBOHLMAN/Text-Query-0.07.tar.gz Running make install
>   make test had returned bad status, won't install without force
> Tie::ShadowHash is up to date (0.07).
> Business::UPS is up to date (1.13).
> Storable is up to date (2.18).
> Spreadsheet::ParseExcel is up to date (0.32).
> Spreadsheet::WriteExcel is up to date (2.21).
> Archive::Tar is up to date (1.38).
> Archive::Zip is up to date (1.23).
> Compress::Zlib is up to date (2.011).
> Crypt::SSLeay is up to date (0.57).
> IO::Stty is up to date (.02).
> IO::Tty is up to date (1.07).
> SOAP::Lite is up to date (0.710.05).
> Tie::Watch is up to date (1.2).
> Time::HiRes is up to date (1.9715).
> Running install for module 'Authen::Captcha'
> Running make for U/UN/UNRTST/Authen-Captcha-1.023.tar.gz
>   Has already been unwrapped into directory
> /root/.cpan/build/Authen-Captcha-1.023-c8UgZ0
>   Has already been made
> Running make test
> PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e"
> "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t t/1....Can't locate
> GD.pm in @INC (@INC contains:
> /root/.cpan/build/Authen-Captcha-1.023-c8UgZ0/blib/lib
> /root/.cpan/build/Authen-Captcha-1.023-c8UgZ0/blib/arch
> /usr/bin/lib/perl5/5.10.0/i686-linux
> /usr/bin/lib/perl5/5.10.0/i686-linux /usr/bin/lib/perl5/5.10.0
> /usr/bin/lib/perl5/site_perl/5.10.0/i686-linux
> /usr/bin/lib/perl5/site_perl/5.10.0/i686-linux
> /usr/bin/lib/perl5/site_perl/5.10.0 .
> /usr/bin/lib/perl5/5.10.0/i686-linux /usr/bin/lib/perl5/5.10.0
> /usr/bin/lib/perl5/site_perl/5.10.0/i686-linux
> /usr/bin/lib/perl5/site_perl/5.10.0 .) at
> /root/.cpan/build/Authen-Captcha-1.023-
> c8UgZ0/blib/lib/Authen/Captcha.pm
> line 11.
> BEGIN failed--compilation aborted at
> /root/.cpan/build/Authen-Captcha-1.023-
> c8UgZ0/blib/lib/Authen/Captcha.pm
> line 11.
> Compilation failed in require at t/1.t line 22.
> BEGIN failed--compilation aborted at t/1.t line 22.
> t/1....dubious
>         Test returned status 2 (wstat 512, 0x200)
> FAILED--1 test script could be run, alas--no output ever seen
> make: *** [test_dynamic] Error 2
>   UNRTST/Authen-Captcha-1.023.tar.gz
>   /usr/bin/make test -- NOT OK
> //hint// to see the cpan-testers results for installing this module,
> try:
>   reports UNRTST/Authen-Captcha-1.023.tar.gz
> Running make install
>   make test had returned bad status, won't install without force
>
Sorry took all the spaces out!

As Authen-Captcha failed due to GD.pm not found I have since tried
installing GD after finding gd.h in 2 locations. But this is the result.

[root at tanami GD-2.39-jkyTsl]# perl Makefile.PL
Notice: Type perl Makefile.PL -h for command-line option summary.

Configuring for libgd version 2.0.22.
Checking for stray libgd header files...none found.

GD library used from:       /usr/local

Please choose the features that match how libgd was built:
Build JPEG support? [y] y
Build PNG support? [y] y
Build FreeType support? [y] y
Build GIF support? [y] y
Build support for animated GIFs? [y] y
Build XPM support? [y] y
Writing Makefile for GD
[root at tanami GD-2.39-jkyTsl]# make
cc -c  -I/usr/local/include -fno-strict-aliasing -pipe -I/usr/local/include
-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm -O2
-DVERSION=\"2.39\" -DXS_VERSION=\"2.39\" -fPIC
"-I/usr/bin/lib/perl5/5.10.0/i686-linux/CORE"  -DHAVE_JPEG -DHAVE_FT
-DHAVE_XPM -DHAVE_GIF -DHAVE_PNG -DHAVE_ANIMGIF GD.c
GD.xs: In function `XS_GD__Image__newFromGif':
GD.xs:855: warning: assignment makes pointer from integer without a cast
Running Mkbootstrap for GD ()
chmod 644 GD.bs
rm -f blib/arch/auto/GD/GD.so
LD_RUN_PATH="/usr/X11R6/lib:/usr/lib:/usr/local/lib" cc  -shared -O2
-L/usr/local/lib GD.o  -o blib/arch/auto/GD/GD.so  \
   -L/usr/X11R6/lib -L/usr/local/lib -lXpm -lX11 -ljpeg -lfreetype -lpng12
-lz -lm -lgd         \

chmod 755 blib/arch/auto/GD/GD.so
cp GD.bs blib/arch/auto/GD/GD.bs
chmod 644 blib/arch/auto/GD/GD.bs
cp bdf_scripts/bdf2gdfont.pl blib/script/bdf2gdfont.pl
/usr/bin/perl "-MExtUtils::MY" -e "MY->fixin(shift)"
blib/script/bdf2gdfont.pl
Manifying blib/man1/bdf2gdfont.pl.1
Manifying blib/man3/GD::Polyline.3
Manifying blib/man3/GD::Image.3
Manifying blib/man3/GD::Simple.3
Manifying blib/man3/GD.3
Manifying blib/man3/GD::Polygon.3
[root at tanami GD-2.39-jkyTsl]# make test
PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e"
"test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
t/GD..........Can't load './blib/arch/auto/GD/GD.so' for module GD:
./blib/arch/auto/GD/GD.so: undefined symbol: gdImageGifAnimAddPtr at
/usr/bin/lib/perl5/5.10.0/i686-linux/DynaLoader.pm line 203.
 at t/GD.t line 14
Compilation failed in require at t/GD.t line 14.
BEGIN failed--compilation aborted at t/GD.t line 14.
t/GD..........dubious
        Test returned status 2 (wstat 512, 0x200)
DIED. FAILED tests 1-12
        Failed 12/12 tests, 0.00% okay
t/Polyline....Can't load
'/root/.cpan/build/GD-2.39-jkyTsl/blib/arch/auto/GD/GD.so' for module GD:
/root/.cpan/build/GD-2.39-jkyTsl/blib/arch/auto/GD/GD.so: undefined symbol:
gdImageGifAnimAddPtr at /usr/bin/lib/perl5/5.10.0/i686-linux/DynaLoader.pm
line 203.
 at /root/.cpan/build/GD-2.39-jkyTsl/blib/lib/GD/Polyline.pm line 45
Compilation failed in require at
/root/.cpan/build/GD-2.39-jkyTsl/blib/lib/GD/Polyline.pm line 45.
BEGIN failed--compilation aborted at
/root/.cpan/build/GD-2.39-jkyTsl/blib/lib/GD/Polyline.pm line 45.
Compilation failed in require at t/Polyline.t line 10.
BEGIN failed--compilation aborted at t/Polyline.t line 10.
t/Polyline....dubious
        Test returned status 2 (wstat 512, 0x200)
DIED. FAILED test 1
        Failed 1/1 tests, 0.00% okay
Failed Test  Stat Wstat Total Fail  List of Failed
----------------------------------------------------------------------------
---
t/GD.t          2   512    12   23  1-12
t/Polyline.t    2   512     1    2  1
Failed 2/2 test scripts. 13/13 subtests failed.
Files=2, Tests=13,  1 wallclock secs ( 0.11 cusr +  0.02 csys =  0.13 CPU)
Failed 2/2 test programs. 13/13 subtests failed.
make: *** [test_dynamic] Error 2

Andrew




More information about the interchange-users mailing list