Skip Menu |

This queue is for tickets about the Image-Epeg CPAN distribution.

Report information
The Basics
Id: 20716
Status: resolved
Priority: 0/
Queue: Image-Epeg

People
Owner: Nobody in particular
Requestors: LGODDARD [...] cpan.org
Cc:
AdminCc:

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



Subject: Syntax error in make..?
CPAN.pm: Going to build M/MC/MCURTIS/Image-Epeg-0.07.tgz Checking if your kit is complete... Looks good Note (probably harmless): No library found for -lepeg WARNING: Setting ABSTRACT via file 'Epeg.pm' failed at /usr/local/lib/perl5/5.8.8/ExtUtils/MakeMaker.pm line 615 Writing Makefile for Image::Epeg cp Epeg.pm blib/lib/Image/Epeg.pm AutoSplitting blib/lib/Image/Epeg.pm (blib/lib/auto/Image/Epeg) /usr/local/bin/perl /usr/local/lib/perl5/5.8.8/ExtUtils/xsubpp - typemap /usr/local/lib/perl5/5.8.8/ExtUtils/typemap -typemap typemap Epeg.xs > Epeg.xsc && mv Epeg.xsc Epeg.c Please specify prototyping behavior for Epeg.xs (see perlxs manual) cc -c -fno-strict-aliasing -pipe -Wdeclaration-after-statement - I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 - DVERSION=\"0.07\" -DXS_VERSION=\"0.07\" -fpic "- I/usr/local/lib/perl5/5.8.8/i686-linux/CORE" Epeg.c Epeg.xs:20:37: /usr/local/include/Epeg.h: No such file or directory Epeg.c: In function `XS_Image__Epeg__epeg_file_open': Epeg.c:95: error: `Epeg_Image' undeclared (first use in this function) Epeg.c:95: error: (Each undeclared identifier is reported only once Epeg.c:95: error: for each function it appears in.) Epeg.c:95: error: `RETVAL' undeclared (first use in this function) Epeg.xs:73: error: syntax error before ')' token Epeg.c: In function `XS_Image__Epeg__epeg_memory_open': Epeg.c:117: error: `Epeg_Image' undeclared (first use in this function) Epeg.c:117: error: `RETVAL' undeclared (first use in this function) Epeg.xs:84: error: syntax error before ')' token Epeg.c: In function `XS_Image__Epeg__epeg_size_get': Epeg.c:138: error: `Epeg_Image' undeclared (first use in this function) Epeg.c:138: error: `img' undeclared (first use in this function) Epeg.xs:93: warning: ISO C90 forbids mixed declarations and code Epeg.c:145: error: syntax error before ')' token Epeg.c: In function `XS_Image__Epeg__epeg_decode_size_set': Epeg.c:170: error: `Epeg_Image' undeclared (first use in this function) Epeg.c:170: error: `img' undeclared (first use in this function) Epeg.c:171: warning: ISO C90 forbids mixed declarations and code Epeg.c:176: error: syntax error before ')' token Epeg.c: In function `XS_Image__Epeg__epeg_decode_colorspace_set': Epeg.c:198: error: `Epeg_Image' undeclared (first use in this function) Epeg.c:198: error: `img' undeclared (first use in this function) Epeg.c:199: warning: ISO C90 forbids mixed declarations and code Epeg.c:203: error: syntax error before ')' token Epeg.c: In function `XS_Image__Epeg__epeg_comment_get': Epeg.c:225: error: `Epeg_Image' undeclared (first use in this function) Epeg.c:225: error: `img' undeclared (first use in this function) Epeg.c:226: warning: ISO C90 forbids mixed declarations and code Epeg.c:231: error: syntax error before ')' token Epeg.xs:121: warning: assignment makes pointer from integer without a cast Epeg.c: In function `XS_Image__Epeg__epeg_comment_set': Epeg.c:254: error: `Epeg_Image' undeclared (first use in this function) Epeg.c:254: error: `img' undeclared (first use in this function) Epeg.c:255: warning: ISO C90 forbids mixed declarations and code Epeg.c:259: error: syntax error before ')' token Epeg.c: In function `XS_Image__Epeg__epeg_quality_set': Epeg.c:281: error: `Epeg_Image' undeclared (first use in this function) Epeg.c:281: error: `img' undeclared (first use in this function) Epeg.c:282: warning: ISO C90 forbids mixed declarations and code Epeg.c:286: error: syntax error before ')' token Epeg.c: In function `XS_Image__Epeg__epeg_get_data': Epeg.c:309: error: `Epeg_Image' undeclared (first use in this function) Epeg.c:309: error: `img' undeclared (first use in this function) Epeg.xs:146: warning: ISO C90 forbids mixed declarations and code Epeg.c:318: error: syntax error before ')' token Epeg.c: In function `XS_Image__Epeg__epeg_write_file': Epeg.c:352: error: `Epeg_Image' undeclared (first use in this function) Epeg.c:352: error: `img' undeclared (first use in this function) Epeg.c:353: warning: ISO C90 forbids mixed declarations and code Epeg.c:360: error: syntax error before ')' token Epeg.c: In function `XS_Image__Epeg__epeg_close': Epeg.c:385: error: `Epeg_Image' undeclared (first use in this function) Epeg.c:385: error: `img' undeclared (first use in this function) Epeg.c:389: error: syntax error before ')' token make: *** [Epeg.o] Error 1 /usr/bin/make -- NOT OK Running make test Can't test without successful make Running make install make had returned bad status, install seems impossible Failed during this command: MCURTIS/Image-Epeg-0.07.tgz : make NO Show quoted text
cpan>
bash-3.00# perl -V Summary of my perl5 (revision 5 version 8 subversion 8) configuration: Platform: osname=linux, osvers=2.6.12.6-xen3_12.1_rhel4.1, archname=i686- linux uname='linux rnddev 2.6.12.6-xen3_12.1_rhel4.1 #1 smp tue jan 31 14:04:08 pst 2006 i686 i686 i386 gnulinux ' config_args='' hint=recommended, useposix=true, d_sigaction=define usethreads=undef use5005threads=undef useithreads=undef usemultiplicity=undef useperlio=define d_sfio=undef uselargefiles=define usesocks=undef use64bitint=undef use64bitall=undef uselongdouble=undef usemymalloc=n, bincompat5005=undef Compiler: cc='cc', ccflags ='-fno-strict-aliasing -pipe -Wdeclaration-after- statement -I/usr/local/include -D_LARGEFILE_SOURCE - D_FILE_OFFSET_BITS=64', optimize='-O2', cppflags='-fno-strict-aliasing -pipe -Wdeclaration-after- statement -I/usr/local/include' ccversion='', gccversion='3.4.5 20051201 (Red Hat 3.4.5-2)', gccosandvers='' intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=1234 d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=12 ivtype='long', ivsize=4, nvtype='double', nvsize=8, Off_t='off_t', lseeksize=8 alignbytes=4, prototype=define Linker and Libraries: ld='cc', ldflags =' -L/usr/local/lib' libpth=/usr/local/lib /lib /usr/lib libs=-lnsl -ldb -ldl -lm -lcrypt -lutil -lc perllibs=-lnsl -ldl -lm -lcrypt -lutil -lc libc=/lib/libc-2.3.4.so, so=so, useshrplib=false, libperl=libperl.a gnulibc_version='2.3.4' Dynamic Linking: dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags='-Wl,-E' cccdlflags='-fpic', lddlflags='-shared -L/usr/local/lib' Characteristics of this binary (from libperl): Compile-time options: PERL_MALLOC_WRAP USE_LARGE_FILES USE_PERLIO Built under linux Compiled at Jun 7 2006 07:50:37 @INC: /usr/local/lib/perl5/5.8.8/i686-linux /usr/local/lib/perl5/5.8.8 /usr/local/lib/perl5/site_perl/5.8.8/i686-linux /usr/local/lib/perl5/site_perl/5.8.8 /usr/local/lib/perl5/site_perl . bash-3.00#
fixed at 0.08, I hope.