Beefy Boxes and Bandwidth Generously Provided by pair Networks vroom
XP is just a number
 
PerlMonks  

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

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


in reply to Re: 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 already did re-install libgd after I read that thread even though brew showed freetype as installed. Didn't work.

The only thing I can think of is I did try installing GD with cpan before installing it with cpanm and it could not make so I force installed it. Maybe there's some leftover crap somewhere that is messing things up?

cpan -t GD

** WARNING: found gd.h header file in /usr/local/includegd.h, but it is expected at /usr/local/Cellar/gd/2.1.0/include/gd.h. This may cause compile errors! **


Comment on Re^2: GD giving me the error "libgd was not built with FreeType font support"
Download Code
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

    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.

      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://1067586]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others musing on the Monastery: (9)
As of 2014-04-17 19:41 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    April first is:







    Results (454 votes), past polls