Subject: | speedy_perl.c:258:24: error: expected expression before ‘SpeedyScript’ |
Totally impossible to install after my upgrade to perl 5.18:
cc -c -I../src -I. -D_REENTRANT -D_GNU_SOURCE -DDEBIAN -fstack-protector -fno-strict-aliasing -pipe -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O -DVERSION=\"2.22\" -DXS_VERSION=\"2.22\" -fPIC "-I/usr/lib/perl/5.18/CORE" -DSPEEDY_PROGNAME=\"speedy_backend\" -DSPEEDY_VERSION=\"2.22\" -DSPEEDY_BACKEND speedy_backend_main.c
cc -c -I../src -I. -D_REENTRANT -D_GNU_SOURCE -DDEBIAN -fstack-protector -fno-strict-aliasing -pipe -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O -DVERSION=\"2.22\" -DXS_VERSION=\"2.22\" -fPIC "-I/usr/lib/perl/5.18/CORE" -DSPEEDY_PROGNAME=\"speedy_backend\" -DSPEEDY_VERSION=\"2.22\" -DSPEEDY_BACKEND speedy_perl.c
In file included from speedy.h:3:0,
from speedy_perl.c:20:
speedy_perl.c: In function ‘find_scr’:
speedy_perl.c:258:24: error: expected expression before ‘SpeedyScript’
speedy_new(retval, 1, SpeedyScript);
^
../src/speedy_backend_main.h:41:39: note: in definition of macro ‘speedy_new’
#define speedy_new(s,n,t) New(123,s,n,t)
^
speedy_perl.c: In function ‘get_string’:
speedy_perl.c:449:24: error: expected expression before ‘char’
speedy_new(buf, sz+1, char);
^
../src/speedy_backend_main.h:41:39: note: in definition of macro ‘speedy_new’
#define speedy_new(s,n,t) New(123,s,n,t)
^
speedy_perl.c: In function ‘cwd_new’:
speedy_perl.c:484:24: error: expected expression before ‘SpeedyCwd’
speedy_new(cwd, 1, SpeedyCwd);
^
../src/speedy_backend_main.h:41:39: note: in definition of macro ‘speedy_new’
#define speedy_new(s,n,t) New(123,s,n,t)
^
speedy_perl.c: In function ‘onerun’:
speedy_perl.c:808:47: warning: comparison between pointer and integer [enabled by default]
if (PerlIO_reopen(dev_null, "r", pio_in ) == NULL ||
^
speedy_perl.c:809:40: warning: comparison between pointer and integer [enabled by default]
PerlIO_reopen(dev_null, "w", pio_out) == NULL ||
^
speedy_perl.c:810:40: warning: comparison between pointer and integer [enabled by default]
PerlIO_reopen(dev_null, "w", pio_err) == NULL)
^
speedy_perl.c: In function ‘speedy_perl_init’:
speedy_perl.c:918:2: warning: passing argument 2 of ‘perl_parse’ from incompatible pointer type [enabled by default]
speedy_util_argc((const char * const *)perl_argv), perl_argv, NULL))
In file included from /usr/lib/perl/5.18/CORE/perl.h:5115:0,
from ../src/speedy_inc_perl.h:25,
from speedy.h:1,
from speedy_perl.c:20:
/usr/lib/perl/5.18/CORE/proto.h:3152:19: note: expected ‘XSINIT_t’ but argument is of type ‘void (*)(void)’
PERL_CALLCONV int perl_parse(PerlInterpreter *my_perl, XSINIT_t xsinit, int argc, char** argv, char** env)
^
make[1]: Leaving directory `/root/.cpanplus/5.18.1/build/CGI-SpeedyCGI-2.22/speedy_backend'
make[1]: *** [speedy_perl.o] Error 1
make: *** [subdirs] Error 2
[ERROR] Unable to create a new distribution object for 'CGI::SpeedyCGI' -- cannot continue
*** Install log written to:
/root/.cpanplus/install-logs/CGI-SpeedyCGI-2.22-1378857377.log
Error installing 'CGI::SpeedyCGI'
Problem installing one or more modules
--
Thetabiz™ Offshore Services
http://www.offshore-services.biz