Checking if your kit is complete... Looks good Note (probably harmless): No library found for -lpng Writing Makefile for XML::LibRSVG cp LibRSVG.pm blib/lib/XML/LibRSVG.pm /Users/cpanrun/build/5.10.0/bin/perl /Users/cpanrun/build/5.10.0/lib/ExtUtils/xsubpp -typemap /Users/cpanrun/build/5.10.0/lib/ExtUtils/typemap -typemap typemap LibRSVG.xs > LibRSVG.xsc && mv LibRSVG.xsc LibRSVG.c gcc -c -I/usr/X11R6/include -I/usr/X11R6/include/freetype2 -I/usr/include/libxml2 -fno-common -DPERL_DARWIN -no-cpp-precomp -arch ppc -arch i386 -nostdinc -B/Developer/SDKs/MacOSX10.4u.sdk/usr/include/gcc -B/Developer/SDKs/MacOSX10.4u.sdk/usr/lib/gcc -isystem/Developer/SDKs/MacOSX10.4u.sdk/usr/include -F/Developer/SDKs/MacOSX10.4u.sdk/System/Library/Frameworks -mmacosx-version-min=10.3 -DPRIVLIB_LAST_IN_INC -fno-strict-aliasing -pipe -O3 -DVERSION=\"0.01\" -DXS_VERSION=\"0.01\" "-I/Users/cpanrun/build/5.10.0/lib/CORE" LibRSVG.c LibRSVG.xs:6:17:LibRSVG.xs:6:17: error: error: png.h: No such file or directorypng.h: No such file or directory LibRSVG.xs:12:18: error: popt.h: No such file or directory LibRSVG.xs:13:35: error: gdk-pixbuf/gdk-pixbuf.h: No such file or directory LibRSVG.xs:14:26: error: librsvg/rsvg.h: No such file or directory LibRSVG.xs:34: error: parse error before 'save_pixbuf_to_file_internal' LibRSVG.xs:34: error: parse error before '*' token LibRSVG.xs: In function 'save_pixbuf_to_file_internal': LibRSVG.xs:37: error: 'gboolean' undeclared (first use in this function) LibRSVG.xs:37: error: (Each undeclared identifier is reported only once LibRSVG.xs:37: error: for each function it appears in.) LibRSVG.xs:37: error: parse error before 'has_alpha' LibRSVG.xs:39: error: 'guchar' undeclared (first use in this function) LibRSVG.xs:39: error: 'pixels' undeclared (first use in this function) LibRSVG.xs:40: error: 'png_structp' undeclared (first use in this function) LibRSVG.xs:40: error: parse error before 'png_ptr' LibRSVG.xs:41: error: 'png_infop' undeclared (first use in this function) LibRSVG.xs:42: error: 'png_text' undeclared (first use in this function) LibRSVG.xs:45: error: 'png_ptr' undeclared (first use in this function) LibRSVG.xs:45: error: 'PNG_LIBPNG_VER_STRING' undeclared (first use in this function) LibRSVG.xs:50: error: 'info_ptr' undeclared (first use in this function) LibRSVG.xs:52: error: 'png_infopp' undeclared (first use in this function) LibRSVG.xs:61: error: 'handle' undeclared (first use in this function) LibRSVG.xs:63: error: 'has_alpha' undeclared (first use in this function) LibRSVG.xs:63: error: 'pixbuf' undeclared (first use in this function) LibRSVG.xs:71: error: 'PNG_COLOR_TYPE_RGB_ALPHA' undeclared (first use in this function) LibRSVG.xs:72: error: 'PNG_INTERLACE_NONE' undeclared (first use in this function) LibRSVG.xs:73: error: 'PNG_COMPRESSION_TYPE_DEFAULT' undeclared (first use in this function) LibRSVG.xs:74: error: 'PNG_FILTER_TYPE_DEFAULT' undeclared (first use in this function) LibRSVG.xs:77: error: 'text' undeclared (first use in this function) LibRSVG.xs:78: error: 'filename' undeclared (first use in this function) LibRSVG.xs:79: error: 'PNG_TEXT_COMPRESSION_NONE' undeclared (first use in this function) LibRSVG.xs:92: warning: assignment makes pointer from integer without a cast LibRSVG.xs:98: error: 'png_bytep' undeclared (first use in this function) LibRSVG.xs:98: error: parse error before 'row_pointer' LibRSVG.xs:99: error: 'row_pointer' undeclared (first use in this function) LibRSVG.xs:111: error: parse error before 'buffer' LibRSVG.xs: At top level: LibRSVG.xs:124: error: parse error before 'png_ptr' LibRSVG.xs: In function 'write_png_to_sv': LibRSVG.xs:126: error: 'png_ptr' undeclared (first use in this function) LibRSVG.xs:127: error: 'data' undeclared (first use in this function) LibRSVG.xs:127: error: 'length' undeclared (first use in this function) LibRSVG.xs: At top level: LibRSVG.xs:130: error: parse error before 'png_ptr' LibRSVG.xs:136: error: parse error before 'save_pixbuf_to_sv_internal' LibRSVG.xs:136: error: parse error before '*' token LibRSVG.xs: In function 'save_pixbuf_to_sv_internal': LibRSVG.xs:139: error: 'gboolean' undeclared (first use in this function) LibRSVG.xs:139: error: parse error before 'has_alpha' LibRSVG.xs:141: error: 'guchar' undeclared (first use in this function) LibRSVG.xs:141: error: 'pixels' undeclared (first use in this function) LibRSVG.xs:142: error: 'png_structp' undeclared (first use in this function) LibRSVG.xs:142: error: parse error before 'png_ptr' LibRSVG.xs:143: error: 'png_infop' undeclared (first use in this function) LibRSVG.xs:144: error: 'png_text' undeclared (first use in this function) LibRSVG.xs:147: error: 'png_ptr' undeclared (first use in this function) LibRSVG.xs:147: error: 'PNG_LIBPNG_VER_STRING' undeclared (first use in this function) LibRSVG.xs:152: error: 'info_ptr' undeclared (first use in this function) LibRSVG.xs:154: error: 'png_infopp' undeclared (first use in this function) LibRSVG.xs:163: error: 'voidp' undeclared (first use in this function) LibRSVG.xs:163: error: parse error before 'sv' LibRSVG.xs:165: error: 'has_alpha' undeclared (first use in this function) LibRSVG.xs:165: error: 'pixbuf' undeclared (first use in this function) LibRSVG.xs:173: error: 'PNG_COLOR_TYPE_RGB_ALPHA' undeclared (first use in this function) LibRSVG.xs:174: error: 'PNG_INTERLACE_NONE' undeclared (first use in this function) LibRSVG.xs:175: error: 'PNG_COMPRESSION_TYPE_DEFAULT' undeclared (first use in this function) LibRSVG.xs:176: error: 'PNG_FILTER_TYPE_DEFAULT' undeclared (first use in this function) LibRSVG.xs:179: error: 'text' undeclared (first use in this function) LibRSVG.xs:181: error: 'PNG_TEXT_COMPRESSION_NONE' undeclared (first use in this function) LibRSVG.xs:194: warning: assignment makes pointer from integer without a cast LibRSVG.xs:200: error: 'png_bytep' undeclared (first use in this function) LibRSVG.xs:200: error: parse error before 'row_pointer' LibRSVG.xs:201: error: 'row_pointer' undeclared (first use in this function) LibRSVG.xs:213: error: parse error before 'buffer' LibRSVG.xs: At top level: LibRSVG.xs:227: error: parse error before 'save_pixbuf_to_file' LibRSVG.xs:227: error: parse error before '*' token LibRSVG.xs: In function 'save_pixbuf_to_file': LibRSVG.xs:230: error: 'gboolean' undeclared (first use in this function) LibRSVG.xs:230: error: parse error before 'result' LibRSVG.xs:232: error: 'pixbuf' undeclared (first use in this function) LibRSVG.xs:233: error: 'filename' undeclared (first use in this function) LibRSVG.xs:246: error: 'result' undeclared (first use in this function) LibRSVG.xs: In function 'XS_XML__LibRSVG_write_png_from_file_at_zoom': LibRSVG.xs:266: error: 'GdkPixbuf' undeclared (first use in this function) LibRSVG.xs:266: error: 'pixbuf' undeclared (first use in this function) LibRSVG.xs:12:18: LibRSVG.xs: In function 'XS_XML__LibRSVG_png_from_file_at_zoom':error: popt.h: No such file or directory LibRSVG.xs:293: error: 'GdkPixbuf' undeclared (first use in this function) LibRSVG.xs:293: error: 'pixbuf' undeclared (first use in this function) LibRSVG.xs:13:35: error: gdk-pixbuf/gdk-pixbuf.h: No such file or directory LibRSVG.xs:14:26: error: librsvg/rsvg.h: No such file or directory LibRSVG.xs:34: error: parse error before 'save_pixbuf_to_file_internal' LibRSVG.xs:34: error: parse error before '*' token LibRSVG.xs: In function 'save_pixbuf_to_file_internal': LibRSVG.xs:37: error: 'gboolean' undeclared (first use in this function) LibRSVG.xs:37: error: (Each undeclared identifier is reported only once LibRSVG.xs:37: error: for each function it appears in.) LibRSVG.xs:37: error: parse error before 'has_alpha' LibRSVG.xs:39: error: 'guchar' undeclared (first use in this function) LibRSVG.xs:39: error: 'pixels' undeclared (first use in this function) LibRSVG.xs:40: error: 'png_structp' undeclared (first use in this function) LibRSVG.xs:40: error: parse error before 'png_ptr' LibRSVG.xs:41: error: 'png_infop' undeclared (first use in this function) LibRSVG.xs:42: error: 'png_text' undeclared (first use in this function) LibRSVG.xs:45: error: 'png_ptr' undeclared (first use in this function) LibRSVG.xs:45: error: 'PNG_LIBPNG_VER_STRING' undeclared (first use in this function) LibRSVG.xs:50: error: 'info_ptr' undeclared (first use in this function) LibRSVG.xs:52: error: 'png_infopp' undeclared (first use in this function) LibRSVG.xs:61: error: 'handle' undeclared (first use in this function) LibRSVG.xs:63: error: 'has_alpha' undeclared (first use in this function) LibRSVG.xs:63: error: 'pixbuf' undeclared (first use in this function) LibRSVG.xs:71: error: 'PNG_COLOR_TYPE_RGB_ALPHA' undeclared (first use in this function) LibRSVG.xs:72: error: 'PNG_INTERLACE_NONE' undeclared (first use in this function) LibRSVG.xs:73: error: 'PNG_COMPRESSION_TYPE_DEFAULT' undeclared (first use in this function) LibRSVG.xs:74: error: 'PNG_FILTER_TYPE_DEFAULT' undeclared (first use in this function) LibRSVG.xs:77: error: 'text' undeclared (first use in this function) LibRSVG.xs:78: error: 'filename' undeclared (first use in this function) LibRSVG.xs:79: error: 'PNG_TEXT_COMPRESSION_NONE' undeclared (first use in this function) LibRSVG.xs:92: warning: assignment makes pointer from integer without a cast LibRSVG.xs:98: error: 'png_bytep' undeclared (first use in this function) LibRSVG.xs:98: error: parse error before 'row_pointer' LibRSVG.xs:99: error: 'row_pointer' undeclared (first use in this function) LibRSVG.xs:111: error: parse error before 'buffer' LibRSVG.xs: At top level: LibRSVG.xs:124: error: parse error before 'png_ptr' LibRSVG.xs: In function 'write_png_to_sv': LibRSVG.xs:126: error: 'png_ptr' undeclared (first use in this function) LibRSVG.xs:127: error: 'data' undeclared (first use in this function) LibRSVG.xs:127: error: 'length' undeclared (first use in this function) LibRSVG.xs: At top level: LibRSVG.xs:130: error: parse error before 'png_ptr' LibRSVG.xs:136: error: parse error before 'save_pixbuf_to_sv_internal' LibRSVG.xs:136: error: parse error before '*' token LibRSVG.xs: In function 'save_pixbuf_to_sv_internal': LibRSVG.xs:139: error: 'gboolean' undeclared (first use in this function) LibRSVG.xs:139: error: parse error before 'has_alpha' LibRSVG.xs:141: error: 'guchar' undeclared (first use in this function) LibRSVG.xs:141: error: 'pixels' undeclared (first use in this function) LibRSVG.xs:142: error: 'png_structp' undeclared (first use in this function) LibRSVG.xs:142: error: parse error before 'png_ptr' LibRSVG.xs:143: error: 'png_infop' undeclared (first use in this function) LibRSVG.xs:144: error: 'png_text' undeclared (first use in this function) LibRSVG.xs:147: error: 'png_ptr' undeclared (first use in this function) LibRSVG.xs:147: error: 'PNG_LIBPNG_VER_STRING' undeclared (first use in this function) LibRSVG.xs:152: error: 'info_ptr' undeclared (first use in this function) LibRSVG.xs:154: error: 'png_infopp' undeclared (first use in this function) LibRSVG.xs:163: error: 'voidp' undeclared (first use in this function) LibRSVG.xs:163: error: parse error before 'sv' LibRSVG.xs:165: error: 'has_alpha' undeclared (first use in this function) LibRSVG.xs:165: error: 'pixbuf' undeclared (first use in this function) LibRSVG.xs:173: error: 'PNG_COLOR_TYPE_RGB_ALPHA' undeclared (first use in this function) LibRSVG.xs:174: error: 'PNG_INTERLACE_NONE' undeclared (first use in this function) LibRSVG.xs:175: error: 'PNG_COMPRESSION_TYPE_DEFAULT' undeclared (first use in this function) LibRSVG.xs:176: error: 'PNG_FILTER_TYPE_DEFAULT' undeclared (first use in this function) LibRSVG.xs:179: error: 'text' undeclared (first use in this function) LibRSVG.xs:181: error: 'PNG_TEXT_COMPRESSION_NONE' undeclared (first use in this function) LibRSVG.xs:194: warning: assignment makes pointer from integer without a cast LibRSVG.xs:200: error: 'png_bytep' undeclared (first use in this function) LibRSVG.xs:200: error: parse error before 'row_pointer' LibRSVG.xs:201: error: 'row_pointer' undeclared (first use in this function) LibRSVG.xs:213: error: parse error before 'buffer' LibRSVG.xs: At top level: LibRSVG.xs:227: error: parse error before 'save_pixbuf_to_file' LibRSVG.xs:227: error: parse error before '*' token LibRSVG.xs: In function 'save_pixbuf_to_file': LibRSVG.xs:230: error: 'gboolean' undeclared (first use in this function) LibRSVG.xs:230: error: parse error before 'result' LibRSVG.xs:232: error: 'pixbuf' undeclared (first use in this function) LibRSVG.xs:233: error: 'filename' undeclared (first use in this function) LibRSVG.xs:246: error: 'result' undeclared (first use in this function) LibRSVG.xs: In function 'XS_XML__LibRSVG_write_png_from_file_at_zoom': LibRSVG.xs:266: error: 'GdkPixbuf' undeclared (first use in this function) LibRSVG.xs:266: error: 'pixbuf' undeclared (first use in this function) LibRSVG.xs: In function 'XS_XML__LibRSVG_png_from_file_at_zoom': LibRSVG.xs:293: error: 'GdkPixbuf' undeclared (first use in this function) LibRSVG.xs:293: error: 'pixbuf' undeclared (first use in this function) lipo: can't open input file: /var/tmp//ccrGRJCy.out (No such file or directory) make: *** [LibRSVG.o] Error 1