Subject: | "make test" fails on RedHat ES: "undefined symbol: FT_Get_Postscript_Name" |
0.42 fails "make test" with repeated "undefined symbol: FT_Get_Postscript_Name" errors. 0.41 passes cleanly.
[Imager-0.42]$ IM_VERBOSE=1 perl Makefile.PL
Verbose mode
pathcheck
Include paths:
/sw/include
/usr/include/freetype2
/usr/local/include/freetype2
/usr/include
/usr/local/include
/usr/include/freetype
/usr/local/include/freetype
/sw/include doesnt exist or is unaccessible - removed.
/usr/local/include/freetype2 doesnt exist or is unaccessible - removed.
/usr/include/freetype doesnt exist or is unaccessible - removed.
/usr/local/include/freetype doesnt exist or is unaccessible - removed.
Library paths:
/usr/include/freetype2
/usr/include
/usr/local/include
/sw/lib doesnt exist or is unaccessible - removed.
done.
freetype2: includes found - libraries found
gif: includes found - libraries found
png: includes found - libraries found
jpeg: includes found - libraries found
ungif: includes found - libraries found
T1-fonts: includes not found - libraries not found
w32: includes not found - libraries not found
tiff: includes found - libraries found
TT-fonts: includes not found - libraries found
ungif and gif can not coexist - removing ungif support
You have libgif or libungif installed. They are both known to have
bugs. Imager can crash or display other strange behaviour after
reading or writing gif images. Some of the gif tests can even fail
since they stress some parts of the buggy code.
Do you want to remove gif support? [Y/n]
n
$VAR1 = {
'VERSION_FROM' => 'Imager.pm',
'DEFINE' => '-DIM_GIFMAJOR=4 -DIM_GIFMINOR=0 -DHAVE_FT2 -DHAVE_LIBGIF -DHAVE_LIBPNG -DHAVE_LIBJPEG -DHAVE_LIBTIFF -DIMAGER_LOG -DOS_linux ',
'OBJECT' => 'Imager.o draw.o polygon.o image.o io.o iolayer.o log.o gaussian.o conv.o pnm.o raw.o feat.o font.o filters.o dynaload.o stackmach.o datatypes.o regmach.o trans2.o quant.o error.o convert.o map.o tags.o palimg.o maskimg.o img16.o rotate.o bmp.o tga.o rgb.o color.o fills.o imgdouble.o freetyp2.o gif.o png.o jpeg.o tiff.o',
'ABSTRACT' => 'Perl extension for Generating 24 bit Images',
'LIBS' => ' -lm -L/usr/local/lib -L/lib -L/usr/lib -lfreetype -lgif -lpng -lz -ljpeg -ltiff',
'clean' => {
'FILES' => 'testout'
},
'NAME' => 'Imager',
'INC' => ' -I/usr/include/freetype2 -I/usr/local/include',
'AUTHOR' => 'Arnar M. Hrafnkelsson, addi@umich.edu'
};
MakeMaker (v6.17)
Writing Makefile for Imager::plugins
Writing Makefile for Imager
[Imager-0.42]$ make test
make[1]: Entering directory `/home/edaly/Imager-0.42/dynfilt'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/home/edaly/Imager-0.42/dynfilt'
PERL_DL_NONLAZY=1 /usr/local/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
t/t00basic........Can't load '/home/edaly/Imager-0.42/blib/arch/auto/Imager/Imager.so' for module Imager: /home/edaly/Imager-0.42/blib/arch/auto/Imager/Imager.so: undefined symbol: FT_Get_Postscript_Name at /usr/local/lib/perl5/5.8.1/i686-linux/DynaLoader.pm line 229.
at /usr/local/lib/perl5/5.8.1/i686-linux/DynaLoader.pm line 153
BEGIN failed--compilation aborted at /home/edaly/Imager-0.42/blib/lib/Imager.pm line 153.
Compilation failed in require at t/t00basic.t line 11.
BEGIN failed--compilation aborted at t/t00basic.t line 11.
t/t00basic........dubious
Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED tests 1-2
Failed 2/2 tests, 0.00% okay
[Imager-0.41]$ IM_VERBOSE=1 perl Makefile.PL
Verbose mode
pathcheck
Include paths:
/usr/include/freetype2
/usr/local/include/freetype2
/usr/include
/usr/local/include
/usr/include/freetype
/usr/local/include/freetype
/usr/local/include/freetype2 doesnt exist or is unaccessible - removed. /usr/include/freetype doesnt exist or is unaccessible - removed. /usr/local/include/freetype doesnt exist or is unaccessible - removed.
Library paths:
/usr/include/freetype2
/usr/include
/usr/local/include
done.
T1-fonts: includes not found - libraries not found
TT-fonts: includes not found - libraries found
png: includes found - libraries found
freetype2: includes found - libraries found
w32: includes not found - libraries not found
ungif: includes found - libraries found
tiff: includes found - libraries found
jpeg: includes found - libraries found
gif: includes found - libraries found
ungif and gif can not coexist - removing ungif support
You have libgif or libungif installed. They are both known to have
bugs. Imager can crash or display other strange behaviour after
reading or writing gif images. Some of the gif tests can even fail
since they stress some parts of the buggy code.
Do you want to remove gif support? [Y/n]
n
$VAR1 = {
'NAME' => 'Imager',
'AUTHOR' => 'Arnar M. Hrafnkelsson, addi@umich.edu',
'INC' => ' -I/usr/include/freetype2 -I/usr/local/include',
'LIBS' => ' -lm -L/usr/local/lib -L/lib -L/usr/lib -lpng -lz -lfreetype -ltiff -ljpeg -lgif',
'DEFINE' => '-DIM_GIFMAJOR=4 -DIM_GIFMINOR=0 -DHAVE_LIBPNG -DHAVE_FT2 -DHAVE_LIBTIFF -DHAVE_LIBJPEG -DHAVE_LIBGIF -DIMAGER_LOG -DOS_linux ',
'OBJECT' => 'Imager.o draw.o polygon.o image.o io.o iolayer.o log.o gaussian.o conv.o pnm.o raw.o feat.o font.o filters.o dynaload.o stackmach.o datatypes.o regmach.o trans2.o quant.o error.o convert.o map.o tags.o palimg.o maskimg.o img16.o rotate.o bmp.o tga.o rgb.o color.o fills.o imgdouble.o png.o freetyp2.o tiff.o jpeg.o gif.o',
'clean' => {
'FILES' => 'testout'
},
'ABSTRACT' => 'Perl extension for Generating 24 bit Images',
'VERSION_FROM' => 'Imager.pm'
};
MakeMaker (v6.17)
Writing Makefile for Imager::plugins
Writing Makefile for Imager
[Imager-0.41]$ make test
make[1]: Entering directory `/home/edaly/.cpan/build/Imager-0.41/dynfilt'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/home/edaly/.cpan/build/Imager-0.41/dynfilt'
PERL_DL_NONLAZY=1 /usr/local/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
t/t00basic........ok
t/t01introvert....ok
t/t020masked......ok
t/t021sixteen.....ok
t/t022double......ok
t/t05error........ok
t/t07iolayer......ok
t/t101jpeg........ok
t/t102png.........ok
t/t103raw.........ok
t/t104ppm.........ok
t/t105gif.........ok
t/t106tiff........ok
t/t107bmp.........ok
t/t108tga.........ok
t/t15color........ok
t/t16matrix.......ok
t/t20fill.........ok
t/t21draw.........ok
t/t30t1font.......ok
5/6 skipped: t1lib unavailable or disabled
t/t35ttfont.......ok
2/3 skipped:
t/t36oofont.......ok
6/7 skipped:
t/t37w32font......ok
3/4 skipped: not MS Windows
t/t38ft2font......ok
t/t40scale........ok
t/t50basicoo......ok
t/t55trans........ok
4/5 skipped:
t/t56postfix......ok
t/t57infix........ok
6/7 skipped: - no Parse::RecDescent
t/t58trans2.......ok
t/t59assem........ok
t/t60dyntest......ok
t/t61filters......ok
t/t64copyflip.....ok
t/t65crop.........ok
t/t66paste........ok
t/t67convert......ok
t/t68map..........ok
t/t69rubthru......ok
t/t70newgif.......ok
t/t75polyaa.......ok
t/t90cc...........ok
All tests successful, 26 subtests skipped.
Files=42, Tests=995, 14 wallclock secs (10.56 cusr + 3.11 csys = 13.67 CPU)
make[1]: Entering directory `/home/edaly/.cpan/build/Imager-0.41/dynfilt'
\/bin/sh -c true
No tests defined for Imager::plugins extension.
make[1]: Leaving directory `/home/edaly/.cpan/build/Imager-0.41/dynfilt'
$ uname -a
Linux www 2.4.9-e.37smp #1 SMP Mon Jan 26 10:53:54 EST 2004 i686 unknown
$ perl -v
This is perl, v5.8.1 built for i686-linux