Skip Menu |

This queue is for tickets about the GSAPI CPAN distribution.

Report information
The Basics
Id: 60377
Status: new
Priority: 0/
Queue: GSAPI

People
Owner: Nobody in particular
Requestors: nibor.yarrum [...] gmail.com
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: can't install gsapi
Date: Sun, 15 Aug 2010 20:26:16 -0300
To: bug-GSAPI [...] rt.cpan.org
From: Robin Murray <nibor.yarrum [...] gmail.com>
Trying to install perl module GSAPI via cpan, getting: root@master:~/.cpan/build/GSAPI-0.5-HngZtu# perl Makefile.PL Found /usr/include/ghostscript/iapi.h Writing Makefile for GSAPI root@master:~/.cpan/build/GSAPI-0.5-HngZtu# make test cc -c -I. -I/usr/include/ghostscript -D_REENTRANT -D_GNU_SOURCE -DDEBIAN -fno-strict-aliasing -pipe -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g -DVERSION=\"0.5\" -DXS_VERSION=\"0.5\" -fPIC "-I/usr/lib/perl/5.10/CORE" GSAPI.c GSAPI.xs:13: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token GSAPI.xs: In function ‘image_new’: GSAPI.xs:55: warning: format not a string literal and no format arguments GSAPI.xs: In function ‘display_size’: GSAPI.xs:290: warning: format ‘%x’ expects type ‘unsigned int’, but argument 2 has type ‘unsigned char *’ GSAPI.xs: In function ‘display_memalloc’: GSAPI.xs:376: warning: format ‘%i’ expects type ‘int’, but argument 2 has type ‘long unsigned int’ GSAPI.xs:377: warning: format not a string literal and no format arguments GSAPI.xs:378: warning: format ‘%x’ expects type ‘unsigned int’, but argument 2 has type ‘void *’ GSAPI.xs: In function ‘display_memfree’: GSAPI.xs:386: warning: format ‘%x’ expects type ‘unsigned int’, but argument 2 has type ‘void *’ GSAPI.xs: In function ‘XS_GSAPI_new_instance’: GSAPI.xs:435: error: ‘gs_main_instance’ undeclared (first use in this function) GSAPI.xs:435: error: (Each undeclared identifier is reported only once GSAPI.xs:435: error: for each function it appears in.) GSAPI.xs:435: error: ‘inst’ undeclared (first use in this function) GSAPI.c:634: error: ‘GSAPI__instance’ undeclared (first use in this function) GSAPI.c:634: error: expected ‘;’ before ‘RETVAL’ GSAPI.xs:438: error: ‘RETVAL’ undeclared (first use in this function) GSAPI.c: In function ‘XS_GSAPI_delete_instance’: GSAPI.c:657: error: ‘GSAPI__instance’ undeclared (first use in this function) GSAPI.c:657: error: expected ‘;’ before ‘inst’ GSAPI.c:661: error: ‘inst’ undeclared (first use in this function) GSAPI.c: In function ‘XS_GSAPI_set_stdio’: GSAPI.c:686: error: ‘GSAPI__instance’ undeclared (first use in this function) GSAPI.c:686: error: expected ‘;’ before ‘inst’ GSAPI.c:698: error: ‘inst’ undeclared (first use in this function) GSAPI.c: In function ‘XS_GSAPI_set_display_callback’: GSAPI.c:731: error: ‘GSAPI__instance’ undeclared (first use in this function) GSAPI.c:731: error: expected ‘;’ before ‘inst’ GSAPI.c:738: error: ‘inst’ undeclared (first use in this function) GSAPI.c: In function ‘XS_GSAPI_init_with_args’: GSAPI.c:766: error: ‘GSAPI__instance’ undeclared (first use in this function) GSAPI.c:766: error: expected ‘;’ before ‘inst’ GSAPI.c:776: error: ‘inst’ undeclared (first use in this function) GSAPI.xs:493: warning: format not a string literal and no format arguments GSAPI.c: In function ‘XS_GSAPI_exit’: GSAPI.c:809: error: ‘GSAPI__instance’ undeclared (first use in this function) GSAPI.c:809: error: expected ‘;’ before ‘inst’ GSAPI.c:818: error: ‘inst’ undeclared (first use in this function) GSAPI.c: In function ‘XS_GSAPI_run_string’: GSAPI.c:860: error: ‘GSAPI__instance’ undeclared (first use in this function) GSAPI.c:860: error: expected ‘;’ before ‘inst’ GSAPI.c:873: error: ‘inst’ undeclared (first use in this function) GSAPI.c: In function ‘XS_GSAPI_run_string_begin’: GSAPI.c:914: error: ‘GSAPI__instance’ undeclared (first use in this function) GSAPI.c:914: error: expected ‘;’ before ‘inst’ GSAPI.c:924: error: ‘inst’ undeclared (first use in this function) make: *** [GSAPI.o] Error 1 $ perl -v This is perl, v5.10.0 built for i486-linux-gnu-thread-multi $ uname -a Linux master 2.6.28-11-generic #42-Ubuntu SMP Fri Apr 17 01:57:59 UTC 2009 i686 GNU/Linux $ cat /etc/lsb-release DISTRIB_ID=Ubuntu DISTRIB_RELEASE=9.04 DISTRIB_CODENAME=jaunty DISTRIB_DESCRIPTION="Ubuntu 9.04" I've seen these errors on cpan tester reports but no explanation of what the problem is or how it can be fixed. http://www.cpantesters.org/cpan/report/03925368-b19f-3f77-b713-d32bba55d77f -- Robin Murray Hatchel Lake, Nova Scotia Canada

Message body is not shown because it is too large.