Subject: | Can't test properly with latest FreeType on Linux |
I have just installed the altest FreeType libraries on my Linux box:
http://download.savannah.gnu.org/releases/freetype/freetype-
2.2.1.tar.gz
Running make test results in:
PERL_DL_NONLAZY=1 /usr/local/bin/perl "-MExtUtils::Command::MM" "-
e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
t/align....ok
5/21 skipped: Some TTF tests disabled: Freetype inconsistent
t/text.....ok
2/20 skipped: Some TTF tests disabled: Freetype inconsistent
t/wrap.....ok
2/14 skipped: Some TTF tests disabled: Freetype inconsistent
All tests successful, 9 subtests skipped.
Files=3, Tests=55, 0 wallclock secs ( 0.22 cusr + 0.03 csys = 0.25
CPU)
bash-3.00#
Then I tried:
bash-3.00# perl t/text.t
1..20
ok 1 - use GD::Text;
ok 2 - default font is builtin
ok 3 - default size params
ok 4 - default size params 2
ok 5 - gdGiantFont builtin
ok 6 - width method
ok 7 - text did not change
ok 8 - Giant font size
ok 9 - constructor with args
ok 10 - multiple fonts
ok 11 - correct directory
ok 12 - ttf set_font
ok 13 - ttf multiple fonts
ok 14 - ttf multiple fonts
ok 15 # skip Some TTF tests disabled: Freetype inconsistent
ok 16 # skip Some TTF tests disabled: Freetype inconsistent
ok 17 - font path no ttf
ok 18 - font path multi
ok 19 - font path abs
ok 20 - named
bash-3.00#
Summary of my perl5 (revision 5 version 8 subversion 8) configuration:
Platform:
osname=linux, osvers=2.6.12.6-xen3_12.1_rhel4.1, archname=i686-
linux
uname='linux rnddev 2.6.12.6-xen3_12.1_rhel4.1 #1 smp tue jan 31
14:04:08 pst 2006 i686 i686 i386 gnulinux '
config_args=''
hint=recommended, useposix=true, d_sigaction=define
usethreads=undef use5005threads=undef useithreads=undef
usemultiplicity=undef
useperlio=define d_sfio=undef uselargefiles=define usesocks=undef
use64bitint=undef use64bitall=undef uselongdouble=undef
usemymalloc=n, bincompat5005=undef
Compiler:
cc='cc', ccflags ='-fno-strict-aliasing -pipe -Wdeclaration-after-
statement -I/usr/local/include -D_LARGEFILE_SOURCE -
D_FILE_OFFSET_BITS=64',
optimize='-O2',
cppflags='-fno-strict-aliasing -pipe -Wdeclaration-after-
statement -I/usr/local/include'
ccversion='', gccversion='3.4.5 20051201 (Red Hat 3.4.5-2)',
gccosandvers=''
intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=1234
d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=12
ivtype='long', ivsize=4, nvtype='double', nvsize=8, Off_t='off_t',
lseeksize=8
alignbytes=4, prototype=define
Linker and Libraries:
ld='cc', ldflags =' -L/usr/local/lib'
libpth=/usr/local/lib /lib /usr/lib
libs=-lnsl -ldb -ldl -lm -lcrypt -lutil -lc
perllibs=-lnsl -ldl -lm -lcrypt -lutil -lc
libc=/lib/libc-2.3.4.so, so=so, useshrplib=false, libperl=libperl.a
gnulibc_version='2.3.4'
Dynamic Linking:
dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags='-Wl,-E'
cccdlflags='-fpic', lddlflags='-shared -L/usr/local/lib'
Characteristics of this binary (from libperl):
Compile-time options: PERL_MALLOC_WRAP USE_LARGE_FILES USE_PERLIO
Built under linux
Compiled at Jun 7 2006 07:50:37
@INC:
/usr/local/lib/perl5/5.8.8/i686-linux
/usr/local/lib/perl5/5.8.8
/usr/local/lib/perl5/site_perl/5.8.8/i686-linux
/usr/local/lib/perl5/site_perl/5.8.8
/usr/local/lib/perl5/site_perl
.
bash-3.00#