Re: Installing on RHEL5 (CentOS) along with Cairo.pm
Charlie Garrison <[email protected]>
| Newsgroups | gmane.comp.lib.cairo |
|---|---|
| Message-ID | <r422Ps-1073i-11C9BA3CF70847DB895C8BF6D0CD0F11@iorrt.garrison.com.au> |
Good morning, On 31/03/12 at 11:45 AM +0200, Torsten Schoenfeld <[email protected]> wrote: >Cairo.pm is supposed to work with any (stable) cairo version, >so what you see is a bug. What were the exact compile errors? Complete install log for Cairo.pm v1.090 is below. On 31/03/12 at 12:35 PM +0200, Torsten Schoenfeld <[email protected]> wrote: >I found a few bugs and fixed them: ><http://git.gnome.org/browse/perl-Cairo/commit/?id=21dd8a0600cbfac46723c7745b377fce94c8bdc3>. >Let me know if that works for you. YAY! I have v1.090 installed now. I cloned the git repo and installed from there with nothing other than some warnings (which appear in log below). (Note, I'm assuming no other relevant changes between v1.090 release and git repo.) Would you mind letting me know when CPAN has been updated; I've got a production update pending but I'll wait for these changes first. For reference, here is the log mentioned above: --> Working on Cairo Fetching http://search.cpan.org/CPAN/authors/id/X/XA/XAOC/Cairo-1.090.tar.gz -> OK Unpacking Cairo-1.090.tar.gz Entering Cairo-1.090 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.090 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.090 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 -m64 -mtune=generic -DVERSION=\"1.090\" -DXS_VERSION=\"1.090\" -fPIC "-I/usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi/CORE" Cairo.c Cairo.c: In function ‘XS_Cairo_LIB_VERSION’: Cairo.c:434: warning: unused variable ‘items’ Cairo.c: In function ‘XS_Cairo_LIB_VERSION_ENCODE’: Cairo.c:451: warning: unused variable ‘ix’ Cairo.c: In function ‘XS_Cairo_version’: Cairo.c:483: warning: unused variable ‘ix’ Cairo.c: In function ‘XS_Cairo_version_string’: Cairo.c:501: warning: unused variable ‘ix’ /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 -m64 -mtune=generic -DVERSION=\"1.090\" -DXS_VERSION=\"1.090\" -fPIC "-I/usr/lib64/perl5/5.8.8/x86_64-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. Thanks, Charlie -- Ꮚ Charlie Garrison ♊ <[email protected]> O< ascii ribbon campaign - stop html mail - www.asciiribbon.org 〠 http://www.ietf.org/rfc/rfc1855.txt -- cairo mailing list [email protected] http://lists.cairographics.org/mailman/listinfo/cairo