Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
PerlMonks  

Re^3: GD giving me the error "libgd was not built with FreeType font support"

by PacoH (Initiate)
on Dec 18, 2013 at 05:41 UTC ( #1067589=note: print w/ replies, xml ) Need Help??


in reply to Re^2: GD giving me the error "libgd was not built with FreeType font support"
in thread GD giving me the error "libgd was not built with FreeType font support"

I tried uninstalling GD using pm-uninstall. When I ran

cpan -t GD

I got the same warning but it turns out that /usr/local/include/gd.h is just a symlink to the Cellar gd.h

I tried installing GD again with cpanm and got test errors:

Failed 1/2 test programs. 7/13 subtests failed. make: *** [test_dynamic] Error 255 Retry with --force to force install it.

I did a force install and now I'm not getting original error but I am getting this error:

Can't call method "val" on an undefined value at /Users/user/perl5/perlbrew/perls/perl-5.18.1/lib/site_perl/5.18.1/PDF/API2/Resource/XObject/Image.pm line 66.

I don't know if this is related to the failed tests.


Comment on Re^3: GD giving me the error "libgd was not built with FreeType font support"
Select or Download Code
Re^4: GD giving me the error "libgd was not built with FreeType font support"
by taint (Chaplain) on Dec 18, 2013 at 07:39 UTC

    I'm admittedly groping a bit here. Your process is (to me) a bit choppy. But non-the-less. Since you appear to have (forcefully) re-installed GD, and it appears that the PDF Module is the one now complaining. Why don't you now attempt to re-install PDF::API2, and see if that does it. I think (aside from Perl itself) that's all you have left, to (re)install.

    HTH

    --Chris

    Yes. What say about me, is true.
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1067589]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others cooling their heels in the Monastery: (15)
As of 2014-11-28 08:35 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My preferred Perl binaries come from:














    Results (194 votes), past polls