Click here to get back home

GDTextUtil-0.86 Makefile core dump

 HomeNewsGroups | Search | About
 comp.lang.perl.modules    Post an article   get this group's latest topics as an RSS feed add this group's latest topics to your My MSN content add this group's latest topics to your My Yahoo content
Subject Author Date
GDTextUtil-0.86 Makefile core dump rnhurt 01-19-2006
Posted by rnhurt on January 19, 2006, 9:04 am
Please log in for more thread options


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


Posted by rnhurt on January 19, 2006, 9:42 am
Please log in for more thread options


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


Posted by Sisyphus on January 19, 2006, 9:29 pm
Please log in for more thread options



> 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



Posted by rnhurt on January 20, 2006, 10:03 am
Please log in for more thread options


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


Posted by rnhurt on January 20, 2006, 10:08 am
Please log in for more thread options


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


Similar ThreadsPosted
fedora core 5 + install net::ssh::perl = hangs June 25, 2007, 6:33 am
Bogus error messages re Perl/lib/CORE/ includes September 30, 2005, 9:36 pm
Mason Mod_Perl2.0 Apache 2.0 Fedora Core 1 AMD64 - HOW I DID IT! - February 23, 2005, 3:19 pm
Simplest Makefile.PL July 27, 2007, 4:08 pm
GD.pm Makefile not installing GD::Polyline July 12, 2005, 5:12 pm
how to install multiple modules with one Makefile.PL July 2, 2008, 11:56 am
Net::LDAP makefile generation fails on ActiveState Perl 5.8.8 June 23, 2006, 2:57 am

Our other projects:

Art Dolls, Fairies and Mermaids - Sunnyfaces.net

Roy's Linux, Programming and Search Engines messages

1-Script XML SitemapXML Sitemap