GDTextUtil-0.86 Makefile core dump

GDTextUtil-0.86 Makefile core dump

am 19.01.2006 15:04:11 von rnhurt

I am getting a compile error (below) while trying to build
GDTextUtil-0.86 on AIX 5.3, Perl v5.8.7. The weird thing is that 0.85
builds just fine. When I try to install via CPAN it just fails without
any reason at all. :(

Did something major change between 0.85 & 0.86? Or maybe this is just
an AIX thing.


$ perl Makefile.PL
Segmentation fault (core dumped)
$


Thanx!
Richard

Re: GDTextUtil-0.86 Makefile core dump

am 19.01.2006 15:42:44 von rnhurt

Update - 0.85 builds properly but it doesn't pass it's test. It too is
segfaulting somewhere because after I run "make test" I find a core
file in the directory. :(

Any hints? GD compiled and runs every test without complaint. Why
would this one fail?

Thanx!
Richard

Re: GDTextUtil-0.86 Makefile core dump

am 20.01.2006 03:29:09 von Sisyphus

wrote in message
news:1137678856.539165.229240@f14g2000cwb.googlegroups.com.. .
> I am getting a compile error (below) while trying to build
> GDTextUtil-0.86 on AIX 5.3, Perl v5.8.7. The weird thing is that 0.85
> builds just fine. When I try to install via CPAN it just fails without
> any reason at all. :(
>
> Did something major change between 0.85 & 0.86? Or maybe this is just
> an AIX thing.
>
>
> $ perl Makefile.PL
> Segmentation fault (core dumped)
> $
>

I would try to first find out precisely which code in the Makefile.PL is
causing the segfault. Just insert some 'print "got to here\n"' type
statements in the Makefile.PL until you can narrow it down to the exact
piece of code.

Cheers,
Rob

Re: GDTextUtil-0.86 Makefile core dump

am 20.01.2006 15:55:23 von rnhurt

Update - 0.85 builds properly but it doesn't pass it's test. It too is
segfaulting somewhere because after I run "make test" I find a core
file in the directory. :(

Any hints? GD compiled and runs every test without complaint. Why
would this one fail?

Thanx!
Richard

Re: GDTextUtil-0.86 Makefile core dump

am 20.01.2006 16:03:52 von rnhurt

Well it's dying on this line:

GD::Image->stringTTF(0, 'foo', 10, 0, 0, 0, 'foo');

....which says to me that my TrueType is messed up somewhere. I have
freetype2-2.1.7-2 & freetype2-devel-2.1.7-2 installed on my machine but
not very many TrueType fonts. I can only find the following fonts:

/usr/lpp/X11/lib/X11/fonts/TrueType/MTSanXBA.ttf
/usr/lpp/X11/lib/X11/fonts/TrueType/mtsans_s.ttf
/usr/lpp/X11/lib/X11/fonts/TrueType/mtsansds.ttf
/usr/lpp/X11/lib/X11/fonts/TrueType/tnrwt_s.ttf

Does this help?

Thanx!
Richard

Re: GDTextUtil-0.86 Makefile core dump

am 20.01.2006 16:08:01 von rnhurt

Well, it looks like it's back to the GD-2.30 drawing board - err -
compiler. :)

The GD demo program, truetype_test, fails with a SegFault so my guess
is that GD is bad somewhere, not the gd Perl module. That's good and
bad news. Thanx for all the help! Now I'm off to GD land to see if I
can figure it out.

Later...
Richard