For Programmers: Free Programming Magazines  


Home > Archive > PERL Modules > January 2006 > GDTextUtil-0.86 Makefile core dump









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author GDTextUtil-0.86 Makefile core dump
rnhurt@gmail.com

2006-01-19, 6:58 pm

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

rnhurt@gmail.com

2006-01-19, 6:58 pm

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

Sisyphus

2006-01-19, 9:55 pm


<rnhurt@gmail.com> 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


rnhurt@gmail.com

2006-01-20, 9:55 pm

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

rnhurt@gmail.com

2006-01-20, 9:55 pm

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

rnhurt@gmail.com

2006-01-20, 9:55 pm

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

Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com