Checking if your kit is complete... Looks good Note (probably harmless): No library found for -lpngwriter Note (probably harmless): No library found for -lpng Writing Makefile for Image::PNGwriter cp lib/Image/PNGwriter.pm blib/lib/Image/PNGwriter.pm AutoSplitting blib/lib/Image/PNGwriter.pm (blib/lib/auto/Image/PNGwriter) /Users/cpanrun/pristine/5.8.7/bin/perl /Users/cpanrun/pristine/5.8.7/lib/5.8.7/ExtUtils/xsubpp -C++ -typemap /Users/cpanrun/pristine/5.8.7/lib/5.8.7/ExtUtils/typemap -typemap perlobject.map -typemap typemap PNGwriter.xs > PNGwriter.xsc && mv PNGwriter.xsc PNGwriter.c g++ -c -I. -Wall -Wno-deprecated -I/usr/X11R6/include -I/usr/X11R6/include/freetype2 -O3 -DVERSION=\"0.01\" -DXS_VERSION=\"0.01\" "-I/Users/cpanrun/pristine/5.8.7/lib/5.8.7/darwin-thread-multi-2level/CORE" PNGwriter.c In file included from /Users/cpanrun/pristine/5.8.7/lib/5.8.7/darwin-thread-multi-2level/CORE/perl.h:37, from PNGwriter.xs:5: /Users/cpanrun/pristine/5.8.7/lib/5.8.7/darwin-thread-multi-2level/CORE/config.h:3056:29: warning: "/*" within comment PNGwriter.xs:15:23: error: pngwriter.h: No such file or directory PNGwriter.c: In function 'void XS_Image__PNGwriter_new(PerlInterpreter*, CV*)': PNGwriter.c:40: error: 'pngwriter' was not declared in this scope PNGwriter.c:40: error: 'RETVAL' was not declared in this scope PNGwriter.c:46: error: expected type-specifier before 'pngwriter' PNGwriter.c:46: error: expected `;' before 'pngwriter' PNGwriter.c:41: warning: unused variable 'width' PNGwriter.c:42: warning: unused variable 'height' PNGwriter.c:43: warning: unused variable 'backgroundcolour' PNGwriter.c:44: warning: unused variable 'filename' PNGwriter.c: In function 'void XS_Image__PNGwriter_plot(PerlInterpreter*, CV*)': PNGwriter.c:63: error: 'pngwriter' was not declared in this scope PNGwriter.c:63: error: 'THIS' was not declared in this scope PNGwriter.c:71: error: expected primary-expression before ')' token PNGwriter.c: In function 'void XS_Image__PNGwriter_plotHSV(PerlInterpreter*, CV*)': PNGwriter.c:91: error: 'pngwriter' was not declared in this scope PNGwriter.c:91: error: 'THIS' was not declared in this scope PNGwriter.c:99: error: expected primary-expression before ')' token PNGwriter.c: In function 'void XS_Image__PNGwriter_plotCMYK(PerlInterpreter*, CV*)': PNGwriter.c:119: error: 'pngwriter' was not declared in this scope PNGwriter.c:119: error: 'THIS' was not declared in this scope PNGwriter.c:128: error: expected primary-expression before ')' token PNGwriter.c: In function 'void XS_Image__PNGwriter_dread(PerlInterpreter*, CV*)': PNGwriter.c:148: error: 'pngwriter' was not declared in this scope PNGwriter.c:148: error: 'THIS' was not declared in this scope PNGwriter.c:156: error: expected primary-expression before ')' token PNGwriter.c: In function 'void XS_Image__PNGwriter_dreadHSV(PerlInterpreter*, CV*)': PNGwriter.c:177: error: 'pngwriter' was not declared in this scope PNGwriter.c:177: error: 'THIS' was not declared in this scope PNGwriter.c:185: error: expected primary-expression before ')' token PNGwriter.c: In function 'void XS_Image__PNGwriter_dreadCMYK(PerlInterpreter*, CV*)': PNGwriter.c:206: error: 'pngwriter' was not declared in this scope PNGwriter.c:206: error: 'THIS' was not declared in this scope PNGwriter.c:214: error: expected primary-expression before ')' token PNGwriter.c: In function 'void XS_Image__PNGwriter_clear(PerlInterpreter*, CV*)': PNGwriter.c:235: error: 'pngwriter' was not declared in this scope PNGwriter.c:235: error: 'THIS' was not declared in this scope PNGwriter.c:238: error: expected primary-expression before ')' token PNGwriter.c: In function 'void XS_Image__PNGwriter_close(PerlInterpreter*, CV*)': PNGwriter.c:258: error: 'pngwriter' was not declared in this scope PNGwriter.c:258: error: 'THIS' was not declared in this scope PNGwriter.c:261: error: expected primary-expression before ')' token PNGwriter.c: In function 'void XS_Image__PNGwriter_pngwriter_rename(PerlInterpreter*, CV*)': PNGwriter.c:281: error: 'pngwriter' was not declared in this scope PNGwriter.c:281: error: 'THIS' was not declared in this scope PNGwriter.c:285: error: expected primary-expression before ')' token PNGwriter.c: In function 'void XS_Image__PNGwriter_line(PerlInterpreter*, CV*)': PNGwriter.c:305: error: 'pngwriter' was not declared in this scope PNGwriter.c:305: error: 'THIS' was not declared in this scope PNGwriter.c:315: error: expected primary-expression before ')' token PNGwriter.c: In function 'void XS_Image__PNGwriter_triangle(PerlInterpreter*, CV*)': PNGwriter.c:335: error: 'pngwriter' was not declared in this scope PNGwriter.c:335: error: 'THIS' was not declared in this scope PNGwriter.c:347: error: expected primary-expression before ')' token PNGwriter.c: In function 'void XS_Image__PNGwriter_square(PerlInterpreter*, CV*)': PNGwriter.c:367: error: 'pngwriter' was not declared in this scope PNGwriter.c:367: error: 'THIS' was not declared in this scope PNGwriter.c:377: error: expected primary-expression before ')' token PNGwriter.c: In function 'void XS_Image__PNGwriter_filledsquare(PerlInterpreter*, CV*)': PNGwriter.c:397: error: 'pngwriter' was not declared in this scope PNGwriter.c:397: error: 'THIS' was not declared in this scope PNGwriter.c:407: error: expected primary-expression before ')' token PNGwriter.c: In function 'void XS_Image__PNGwriter_circle(PerlInterpreter*, CV*)': PNGwriter.c:427: error: 'pngwriter' was not declared in this scope PNGwriter.c:427: error: 'THIS' was not declared in this scope PNGwriter.c:436: error: expected primary-expression before ')' token PNGwriter.c: In function 'void XS_Image__PNGwriter_filledcircle(PerlInterpreter*, CV*)': PNGwriter.c:456: error: 'pngwriter' was not declared in this scope PNGwriter.c:456: error: 'THIS' was not declared in this scope PNGwriter.c:465: error: expected primary-expression before ')' token PNGwriter.c: In function 'void XS_Image__PNGwriter_readfromfile(PerlInterpreter*, CV*)': PNGwriter.c:485: error: 'pngwriter' was not declared in this scope PNGwriter.c:485: error: 'THIS' was not declared in this scope PNGwriter.c:489: error: expected primary-expression before ')' token PNGwriter.c: In function 'void XS_Image__PNGwriter_getheight(PerlInterpreter*, CV*)': PNGwriter.c:509: error: 'pngwriter' was not declared in this scope PNGwriter.c:509: error: 'THIS' was not declared in this scope PNGwriter.c:514: error: expected primary-expression before ')' token PNGwriter.c: In function 'void XS_Image__PNGwriter_getwidth(PerlInterpreter*, CV*)': PNGwriter.c:535: error: 'pngwriter' was not declared in this scope PNGwriter.c:535: error: 'THIS' was not declared in this scope PNGwriter.c:540: error: expected primary-expression before ')' token PNGwriter.c: In function 'void XS_Image__PNGwriter_setcompressionlevel(PerlInterpreter*, CV*)': PNGwriter.c:561: error: 'pngwriter' was not declared in this scope PNGwriter.c:561: error: 'THIS' was not declared in this scope PNGwriter.c:565: error: expected primary-expression before ')' token PNGwriter.c: In function 'void XS_Image__PNGwriter_getbitdepth(PerlInterpreter*, CV*)': PNGwriter.c:585: error: 'pngwriter' was not declared in this scope PNGwriter.c:585: error: 'THIS' was not declared in this scope PNGwriter.c:590: error: expected primary-expression before ')' token PNGwriter.c: In function 'void XS_Image__PNGwriter_getcolortype(PerlInterpreter*, CV*)': PNGwriter.c:611: error: 'pngwriter' was not declared in this scope PNGwriter.c:611: error: 'THIS' was not declared in this scope PNGwriter.c:616: error: expected primary-expression before ')' token PNGwriter.c: In function 'void XS_Image__PNGwriter_setgamma(PerlInterpreter*, CV*)': PNGwriter.c:637: error: 'pngwriter' was not declared in this scope PNGwriter.c:637: error: 'THIS' was not declared in this scope PNGwriter.c:641: error: expected primary-expression before ')' token PNGwriter.c: In function 'void XS_Image__PNGwriter_getgamma(PerlInterpreter*, CV*)': PNGwriter.c:661: error: 'pngwriter' was not declared in this scope PNGwriter.c:661: error: 'THIS' was not declared in this scope PNGwriter.c:666: error: expected primary-expression before ')' token PNGwriter.c: In function 'void XS_Image__PNGwriter_bezier(PerlInterpreter*, CV*)': PNGwriter.c:687: error: 'pngwriter' was not declared in this scope PNGwriter.c:687: error: 'THIS' was not declared in this scope PNGwriter.c:701: error: expected primary-expression before ')' token PNGwriter.c: In function 'void XS_Image__PNGwriter_settext(PerlInterpreter*, CV*)': PNGwriter.c:721: error: 'pngwriter' was not declared in this scope PNGwriter.c:721: error: 'THIS' was not declared in this scope PNGwriter.c:728: error: expected primary-expression before ')' token PNGwriter.c: In function 'void XS_Image__PNGwriter_version(PerlInterpreter*, CV*)': PNGwriter.c:752: error: 'pngwriter' has not been declared PNGwriter.c:752: error: 'version' was not declared in this scope PNGwriter.c:748: warning: unused variable 'CLASS' PNGwriter.c: In function 'void XS_Image__PNGwriter_write_png(PerlInterpreter*, CV*)': PNGwriter.c:767: error: 'pngwriter' was not declared in this scope PNGwriter.c:767: error: 'THIS' was not declared in this scope PNGwriter.c:770: error: expected primary-expression before ')' token PNGwriter.c: In function 'void XS_Image__PNGwriter_plot_text(PerlInterpreter*, CV*)': PNGwriter.c:790: error: 'pngwriter' was not declared in this scope PNGwriter.c:790: error: 'THIS' was not declared in this scope PNGwriter.c:802: error: expected primary-expression before ')' token PNGwriter.c: In function 'void XS_Image__PNGwriter_plot_text_utf8(PerlInterpreter*, CV*)': PNGwriter.c:822: error: 'pngwriter' was not declared in this scope PNGwriter.c:822: error: 'THIS' was not declared in this scope PNGwriter.c:834: error: expected primary-expression before ')' token PNGwriter.c: In function 'void XS_Image__PNGwriter_bilinear_interpolation_dread(PerlInterpreter*, CV*)': PNGwriter.c:854: error: 'pngwriter' was not declared in this scope PNGwriter.c:854: error: 'THIS' was not declared in this scope PNGwriter.c:862: error: expected primary-expression before ')' token PNGwriter.c: In function 'void XS_Image__PNGwriter_plot_blend(PerlInterpreter*, CV*)': PNGwriter.c:883: error: 'pngwriter' was not declared in this scope PNGwriter.c:883: error: 'THIS' was not declared in this scope PNGwriter.c:892: error: expected primary-expression before ')' token PNGwriter.c: In function 'void XS_Image__PNGwriter_invert(PerlInterpreter*, CV*)': PNGwriter.c:912: error: 'pngwriter' was not declared in this scope PNGwriter.c:912: error: 'THIS' was not declared in this scope PNGwriter.c:915: error: expected primary-expression before ')' token PNGwriter.c: In function 'void XS_Image__PNGwriter_resize(PerlInterpreter*, CV*)': PNGwriter.c:935: error: 'pngwriter' was not declared in this scope PNGwriter.c:935: error: 'THIS' was not declared in this scope PNGwriter.c:940: error: expected primary-expression before ')' token PNGwriter.c: In function 'void XS_Image__PNGwriter_boundary_fill(PerlInterpreter*, CV*)': PNGwriter.c:960: error: 'pngwriter' was not declared in this scope PNGwriter.c:960: error: 'THIS' was not declared in this scope PNGwriter.c:971: error: expected primary-expression before ')' token PNGwriter.c: In function 'void XS_Image__PNGwriter_flood_fill(PerlInterpreter*, CV*)': PNGwriter.c:991: error: 'pngwriter' was not declared in this scope PNGwriter.c:991: error: 'THIS' was not declared in this scope PNGwriter.c:999: error: expected primary-expression before ')' token PNGwriter.c: In function 'void XS_Image__PNGwriter_scale_k(PerlInterpreter*, CV*)': PNGwriter.c:1019: error: 'pngwriter' was not declared in this scope PNGwriter.c:1019: error: 'THIS' was not declared in this scope PNGwriter.c:1023: error: expected primary-expression before ')' token PNGwriter.c: In function 'void XS_Image__PNGwriter_scale_kxky(PerlInterpreter*, CV*)': PNGwriter.c:1043: error: 'pngwriter' was not declared in this scope PNGwriter.c:1043: error: 'THIS' was not declared in this scope PNGwriter.c:1048: error: expected primary-expression before ')' token PNGwriter.c: In function 'void XS_Image__PNGwriter_scale_wh(PerlInterpreter*, CV*)': PNGwriter.c:1068: error: 'pngwriter' was not declared in this scope PNGwriter.c:1068: error: 'THIS' was not declared in this scope PNGwriter.c:1073: error: expected primary-expression before ')' token PNGwriter.c: In function 'void XS_Image__PNGwriter_plotHSV_blend(PerlInterpreter*, CV*)': PNGwriter.c:1093: error: 'pngwriter' was not declared in this scope PNGwriter.c:1093: error: 'THIS' was not declared in this scope PNGwriter.c:1102: error: expected primary-expression before ')' token PNGwriter.c: In function 'void XS_Image__PNGwriter_line_blend(PerlInterpreter*, CV*)': PNGwriter.c:1122: error: 'pngwriter' was not declared in this scope PNGwriter.c:1122: error: 'THIS' was not declared in this scope PNGwriter.c:1133: error: expected primary-expression before ')' token PNGwriter.c: In function 'void XS_Image__PNGwriter_square_blend(PerlInterpreter*, CV*)': PNGwriter.c:1153: error: 'pngwriter' was not declared in this scope PNGwriter.c:1153: error: 'THIS' was not declared in this scope PNGwriter.c:1164: error: expected primary-expression before ')' token PNGwriter.c: In function 'void XS_Image__PNGwriter_filledsquare_blend(PerlInterpreter*, CV*)': PNGwriter.c:1184: error: 'pngwriter' was not declared in this scope PNGwriter.c:1184: error: 'THIS' was not declared in this scope PNGwriter.c:1195: error: expected primary-expression before ')' token PNGwriter.c: In function 'void XS_Image__PNGwriter_circle_blend(PerlInterpreter*, CV*)': PNGwriter.c:1215: error: 'pngwriter' was not declared in this scope PNGwriter.c:1215: error: 'THIS' was not declared in this scope PNGwriter.c:1225: error: expected primary-expression before ')' token PNGwriter.c: In function 'void XS_Image__PNGwriter_filledcircle_blend(PerlInterpreter*, CV*)': PNGwriter.c:1245: error: 'pngwriter' was not declared in this scope PNGwriter.c:1245: error: 'THIS' was not declared in this scope PNGwriter.c:1255: error: expected primary-expression before ')' token PNGwriter.c: In function 'void XS_Image__PNGwriter_bezier_blend(PerlInterpreter*, CV*)': PNGwriter.c:1275: error: 'pngwriter' was not declared in this scope PNGwriter.c:1275: error: 'THIS' was not declared in this scope PNGwriter.c:1290: error: expected primary-expression before ')' token PNGwriter.c: In function 'void XS_Image__PNGwriter_plot_text_blend(PerlInterpreter*, CV*)': PNGwriter.c:1310: error: 'pngwriter' was not declared in this scope PNGwriter.c:1310: error: 'THIS' was not declared in this scope PNGwriter.c:1323: error: expected primary-expression before ')' token PNGwriter.c: In function 'void XS_Image__PNGwriter_plot_text_utf8_blend(PerlInterpreter*, CV*)': PNGwriter.c:1343: error: 'pngwriter' was not declared in this scope PNGwriter.c:1343: error: 'THIS' was not declared in this scope PNGwriter.c:1356: error: expected primary-expression before ')' token PNGwriter.c: In function 'void XS_Image__PNGwriter_boundary_fill_blend(PerlInterpreter*, CV*)': PNGwriter.c:1376: error: 'pngwriter' was not declared in this scope PNGwriter.c:1376: error: 'THIS' was not declared in this scope PNGwriter.c:1388: error: expected primary-expression before ')' token PNGwriter.c: In function 'void XS_Image__PNGwriter_flood_fill_blend(PerlInterpreter*, CV*)': PNGwriter.c:1408: error: 'pngwriter' was not declared in this scope PNGwriter.c:1408: error: 'THIS' was not declared in this scope PNGwriter.c:1417: error: expected primary-expression before ')' token PNGwriter.c: In function 'void XS_Image__PNGwriter_plotCMYK_blend(PerlInterpreter*, CV*)': PNGwriter.c:1437: error: 'pngwriter' was not declared in this scope PNGwriter.c:1437: error: 'THIS' was not declared in this scope PNGwriter.c:1447: error: expected primary-expression before ')' token PNGwriter.c: In function 'void XS_Image__PNGwriter_laplacian(PerlInterpreter*, CV*)': PNGwriter.c:1467: error: 'pngwriter' was not declared in this scope PNGwriter.c:1467: error: 'THIS' was not declared in this scope PNGwriter.c:1472: error: expected primary-expression before ')' token PNGwriter.c: In function 'void XS_Image__PNGwriter_filledtriangle(PerlInterpreter*, CV*)': PNGwriter.c:1492: error: 'pngwriter' was not declared in this scope PNGwriter.c:1492: error: 'THIS' was not declared in this scope PNGwriter.c:1504: error: expected primary-expression before ')' token PNGwriter.c: In function 'void XS_Image__PNGwriter_filledtriangle_blend(PerlInterpreter*, CV*)': PNGwriter.c:1524: error: 'pngwriter' was not declared in this scope PNGwriter.c:1524: error: 'THIS' was not declared in this scope PNGwriter.c:1537: error: expected primary-expression before ')' token PNGwriter.c: In function 'void XS_Image__PNGwriter_arrow(PerlInterpreter*, CV*)': PNGwriter.c:1557: error: 'pngwriter' was not declared in this scope PNGwriter.c:1557: error: 'THIS' was not declared in this scope PNGwriter.c:1569: error: expected primary-expression before ')' token PNGwriter.c: In function 'void XS_Image__PNGwriter_filledarrow(PerlInterpreter*, CV*)': PNGwriter.c:1589: error: 'pngwriter' was not declared in this scope PNGwriter.c:1589: error: 'THIS' was not declared in this scope PNGwriter.c:1601: error: expected primary-expression before ')' token PNGwriter.c: In function 'void XS_Image__PNGwriter_cross(PerlInterpreter*, CV*)': PNGwriter.c:1621: error: 'pngwriter' was not declared in this scope PNGwriter.c:1621: error: 'THIS' was not declared in this scope PNGwriter.c:1631: error: expected primary-expression before ')' token PNGwriter.c: In function 'void XS_Image__PNGwriter_maltesecross(PerlInterpreter*, CV*)': PNGwriter.c:1651: error: 'pngwriter' was not declared in this scope PNGwriter.c:1651: error: 'THIS' was not declared in this scope PNGwriter.c:1663: error: expected primary-expression before ')' token PNGwriter.c: In function 'void XS_Image__PNGwriter_filleddiamond(PerlInterpreter*, CV*)': PNGwriter.c:1683: error: 'pngwriter' was not declared in this scope PNGwriter.c:1683: error: 'THIS' was not declared in this scope PNGwriter.c:1693: error: expected primary-expression before ')' token PNGwriter.c: In function 'void XS_Image__PNGwriter_diamond(PerlInterpreter*, CV*)': PNGwriter.c:1713: error: 'pngwriter' was not declared in this scope PNGwriter.c:1713: error: 'THIS' was not declared in this scope PNGwriter.c:1723: error: expected primary-expression before ')' token PNGwriter.c: In function 'void XS_Image__PNGwriter_get_text_width(PerlInterpreter*, CV*)': PNGwriter.c:1743: error: 'pngwriter' was not declared in this scope PNGwriter.c:1743: error: 'THIS' was not declared in this scope PNGwriter.c:1751: error: expected primary-expression before ')' token PNGwriter.c: In function 'void XS_Image__PNGwriter_get_text_width_utf8(PerlInterpreter*, CV*)': PNGwriter.c:1772: error: 'pngwriter' was not declared in this scope PNGwriter.c:1772: error: 'THIS' was not declared in this scope PNGwriter.c:1780: error: expected primary-expression before ')' token PNGwriter.c: In function 'void XS_Image__PNGwriter_DESTROY(PerlInterpreter*, CV*)': PNGwriter.c:1801: error: 'pngwriter' was not declared in this scope PNGwriter.c:1801: error: 'THIS' was not declared in this scope PNGwriter.c:1804: error: expected primary-expression before ')' token PNGwriter.c:1810: error: type '' argument given to 'delete', expected pointer make: *** [PNGwriter.o] Error 1