cpanm (App::cpanminus) 1.5004 on perl 5.008008 built for i386-linux-thread-multi Work directory is /root/.cpanm/work/1321879153.28538 You have make /usr/bin/make You have /usr/bin/wget You have /bin/tar: tar (GNU tar) 1.15.1 You have /usr/bin/unzip Searching Cairo on cpanmetadb ... --> Working on Cairo Fetching http://search.cpan.org/CPAN/authors/id/T/TS/TSCH/Cairo-1.081.tar.gz -> OK Unpacking Cairo-1.081.tar.gz Entering Cairo-1.081 Checking configure dependencies from META.yml Checking if you have ExtUtils::MakeMaker 0 ... Yes (6.62) Checking if you have ExtUtils::Depends 0.2 ... Yes (0.304) Checking if you have ExtUtils::PkgConfig 1 ... Yes (1.12) Configuring Cairo-1.081 Running Makefile.PL Compiling Cairo with FreeType support Checking if your kit is complete... Looks good Writing Makefile for Cairo Writing MYMETA.yml and MYMETA.json -> OK Checking dependencies from MYMETA.json ... Checking if you have ExtUtils::MakeMaker 0 ... Yes (6.62) Checking if you have ExtUtils::Depends 0.2 ... Yes (0.304) Checking if you have ExtUtils::PkgConfig 1 ... Yes (1.12) Building and testing Cairo-1.081 cp lib/Cairo.pm blib/lib/Cairo.pm cp build/IFiles.pm blib/arch/Cairo/Install/Files.pm cp cairo-perl.typemap blib/arch/Cairo/Install/cairo-perl.typemap cp doctypes blib/arch/Cairo/Install/doctypes cp cairo-perl.h blib/arch/Cairo/Install/cairo-perl.h cp build/cairo-perl-auto.typemap blib/arch/Cairo/Install/cairo-perl-auto.typemap cp build/cairo-perl-auto.h blib/arch/Cairo/Install/cairo-perl-auto.h /usr/bin/perl /usr/lib/perl5/5.8.8/ExtUtils/xsubpp -noprototypes -typemap /usr/lib/perl5/5.8.8/ExtUtils/typemap -typemap build/cairo-perl-auto.typemap -typemap cairo-perl.typemap Cairo.xs > Cairo.xsc && mv Cairo.xsc Cairo.c gcc -c -I. -Ibuild -I/usr/include/cairo -I/usr/include/freetype2 -I/usr/include/libpng12 -D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing -pipe -Wdeclaration-after-statement -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m32 -march=i386 -mtune=generic -fasynchronous-unwind-tables -DVERSION=\"1.081\" -DXS_VERSION=\"1.081\" -fPIC "-I/usr/lib/perl5/5.8.8/i386-linux-thread-multi/CORE" Cairo.c /usr/bin/perl /usr/lib/perl5/5.8.8/ExtUtils/xsubpp -noprototypes -typemap /usr/lib/perl5/5.8.8/ExtUtils/typemap -typemap build/cairo-perl-auto.typemap -typemap cairo-perl.typemap CairoFont.xs > CairoFont.xsc && mv CairoFont.xsc CairoFont.c gcc -c -I. -Ibuild -I/usr/include/cairo -I/usr/include/freetype2 -I/usr/include/libpng12 -D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing -pipe -Wdeclaration-after-statement -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m32 -march=i386 -mtune=generic -fasynchronous-unwind-tables -DVERSION=\"1.081\" -DXS_VERSION=\"1.081\" -fPIC "-I/usr/lib/perl5/5.8.8/i386-linux-thread-multi/CORE" CairoFont.c CairoFont.xs: In function ‘get_package’: CairoFont.xs:31: error: ‘CAIRO_FONT_TYPE_QUARTZ’ undeclared (first use in this function) CairoFont.xs:31: error: (Each undeclared identifier is reported only once CairoFont.xs:31: error: for each function it appears in.) CairoFont.xs:32: error: ‘CAIRO_FONT_TYPE_USER’ undeclared (first use in this function) make: *** [CairoFont.o] Error 1 -> FAIL Installing Cairo failed. See /root/.cpanm/build.log for details.