hakonhagland

install-gd-macos

Jun 15th, 2021
667
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. $ wget https://cpan.metacpan.org/authors/id/R/RU/RURBAN/GD-2.73.tar.gz --no-check-certificate
  2. $ tar zxvf GD-2.73.tar.gz
  3. $ cd GD-2.73
  4. $ cpanm --installdeps .
  5. $ perl Makefile.PL
  6. Notice: Type perl Makefile.PL -h for command-line option summary.
  7.  
  8. Configuring for libgd version 2.3.2.
  9. Included Features:          GD_GIF GD_OPENPOLYGON GD_ZLIB GD_PNG GD_FREETYPE GD_FONTCONFIG GD_JPEG GD_XPM GD_TIFF GD_WEBP GD_UNCLOSEDPOLY GD_ANIMGIF GD_FTCIRCLE VERSION_33
  10. GD library used from:       /usr/local/Cellar/gd/2.3.2/lib
  11. gdlib-config used:          gdlib-config
  12. Generating a Unix-style Makefile
  13. Writing Makefile for GD
  14. Writing MYMETA.yml and MYMETA.json
  15. $ make
  16. "/Users/hakonhaegland/perl5/perlbrew/perls/perl-5.32.0/bin/perl" lib/GD/Image_pm.PL lib/GD/Image.pm
  17. Extracting Image.pm (with variable substitutions)
  18. Skip blib/lib/GD/Polyline.pm (unchanged)
  19. Skip blib/lib/GD/Simple.pm (unchanged)
  20. Skip blib/lib/GD/Polygon.pm (unchanged)
  21. Skip blib/lib/GD/Image.pm (unchanged)
  22. Skip blib/lib/GD.pm (unchanged)
  23. Skip blib/lib/GD/Group.pm (unchanged)
  24. Running Mkbootstrap for GD ()
  25. chmod 644 "GD.bs"
  26. "/Users/hakonhaegland/perl5/perlbrew/perls/perl-5.32.0/bin/perl" -MExtUtils::Command::MM -e 'cp_nonempty' -- GD.bs blib/arch/auto/GD/GD.bs 644
  27. "/Users/hakonhaegland/perl5/perlbrew/perls/perl-5.32.0/bin/perl" "/Users/hakonhaegland/perl5/perlbrew/perls/perl-5.32.0/lib/5.32.0/ExtUtils/xsubpp"  -typemap '/Users/hakonhaegland/perl5/perlbrew/perls/perl-5.32.0/lib/5.32.0/ExtUtils/typemap' -typemap '/Users/hakonhaegland/perl/install-cpan-modules/GD-2.73/typemap'  GD.xs > GD.xsc
  28. mv GD.xsc GD.c
  29. cc -c  -I/usr/local/Cellar/gd/2.3.2/include -fno-common -DPERL_DARWIN -mmacosx-version-min=11.1 -fno-strict-aliasing -pipe -fstack-protector-strong -I/usr/local/include -DPERL_USE_SAFE_PUTENV -Wall -Wextra -Wformat=1 -O3   -DVERSION=\"2.73\" -DXS_VERSION=\"2.73\"  "-I/Users/hakonhaegland/perl5/perlbrew/perls/perl-5.32.0/lib/5.32.0/darwin-2level/CORE"  -DHAVE_JPEG -DHAVE_FT -DHAVE_XPM -DHAVE_GIF -DHAVE_PNG -DHAVE_ANIMGIF -DVERSION_33 -DHAVE_UNCLOSEDPOLY -DHAVE_FONTCONFIG -DHAVE_FTCIRCLE -DLIBGD_VERSION="2.3.2" GD.c
  30. warning: unknown warning option '-Wformat=1'; did you mean '-Wformat=2'? [-Wunknown-warning-option]
  31. 1 warning generated.
  32. rm -f blib/arch/auto/GD/GD.bundle
  33. LD_RUN_PATH="/usr/local/Cellar/gd/2.3.2/lib" cc  -mmacosx-version-min=11.1 -bundle -undefined dynamic_lookup -L/usr/local/lib -fstack-protector-strong  GD.o  -o blib/arch/auto/GD/GD.bundle  \
  34.        -L/usr/local/Cellar/gd/2.3.2/lib -lgd   \
  35.  
  36. chmod 755 blib/arch/auto/GD/GD.bundle
  37. "/Users/hakonhaegland/perl5/perlbrew/perls/perl-5.32.0/bin/perl" "-Iblib/arch" "-Iblib/lib" bdf_scripts/bdf2gdfont_pl.PL bdf_scripts/bdf2gdfont.pl
  38. Extracting bdf2gdfont.pl (with variable substitutions)
  39. cp bdf_scripts/bdf2gdfont.pl blib/script/bdf2gdfont.pl
  40. "/Users/hakonhaegland/perl5/perlbrew/perls/perl-5.32.0/bin/perl" -MExtUtils::MY -e 'MY->fixin(shift)' -- blib/script/bdf2gdfont.pl
  41. Manifying 1 pod document
  42. Manifying 6 pod documents
  43. $ make test
  44. "/Users/hakonhaegland/perl5/perlbrew/perls/perl-5.32.0/bin/perl" -MExtUtils::Command::MM -e 'cp_nonempty' -- GD.bs blib/arch/auto/GD/GD.bs 644
  45. PERL_DL_NONLAZY=1 "/Users/hakonhaegland/perl5/perlbrew/perls/perl-5.32.0/bin/perl" "-MExtUtils::Command::MM" "-MTest::Harness" "-e" "undef *Test::Harness::Switches; test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
  46. t/fork.t .................. ok
  47. t/GD.t .................... 1/14 # Testing gd 2.3.2 using gd2 support.
  48. # ignore corrupt png error messages...
  49. GD Warning: gd-png: fatal libpng error: IHDR: CRC error
  50. GD Warning: gd-png error: setjmp returns error condition 1
  51. t/GD.t .................... ok
  52. t/HSV.t ................... ok
  53. t/Polyline.t .............. ok
  54. t/transp.t ................ ok
  55. t/z_kwalitee.t ............ skipped: No RELEASE_TESTING
  56. t/z_manifest.t ............ skipped: requires a git checkout and a unix for git and diff
  57. t/z_pod-spell-mistakes.t .. skipped: No RELEASE_TESTING
  58. t/z_pod.t ................. skipped: No RELEASE_TESTING
  59. All tests successful.
  60. Files=9, Tests=48,  3 wallclock secs ( 0.05 usr  0.03 sys +  0.79 cusr  0.33 csys =  1.20 CPU)
  61. Result: PASS
  62.  
RAW Paste Data