Skip Menu |
 

This queue is for tickets about the Compress-Raw-Zlib CPAN distribution.

Report information
The Basics
Id: 56108
Status: resolved
Priority: 0/
Queue: Compress-Raw-Zlib

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

Bug Information
Severity: Important
Broken in: 2.025
Fixed in: 2.026



Subject: Build fails on Solaris
Download (untitled) / with headers
text/plain 1.2k
Hi there, Version 2.025 doesn't compile on Solaris: <pre> pjadmin@zaqar9 [intrapjrci]:~/.cpan/build/Compress-Raw-Zlib-2.025-EbE61R $ make gcc -B/usr/ccs/bin/ -c -I./zlib-src -fno-strict-aliasing -pipe -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O -DVERSION=\"2.025\" -DXS_VERSION=\"2.025\" -fPIC "-I/usr/local/lib/perl5/5.8.7/sun4-solaris/CORE" -DGZIP_OS_CODE=3 -DUSE_PPPORT_H adler32.c adler32.c:12: error: syntax error before "off64_t" adler32.c: In function `adler32_combine_': adler32.c:134: error: syntax error before "off64_t" adler32.c: In function `adler32_combine64': adler32.c:166: error: syntax error before "off64_t" *** Error code 1 make: Fatal error: Command failed for target `adler32.o' </pre> System info: <pre> $ uname -a SunOS zaqar9 5.10 Generic_138888-05 sun4u sparc SUNW,Sun-Fire-V490 $ gcc -v Reading specs from /usr/sfw/lib/gcc/sparc-sun-solaris2.10/3.4.3/specs Configured with: /sfw10/builds/build/sfw10-patch/usr/src/cmd/gcc/gcc-3.4.3/configure --prefix=/usr/sfw --with-as=/usr/ccs/bin/as --without-gnu-as --with-ld=/usr/ccs/bin/ld --without-gnu-ld --enable-languages=c,c++ --enable-shared Thread model: posix gcc version 3.4.3 (csl-sol210-3_4-branch+sol_rpath) </pre> perl info attached. Best, ^m'e p.s. Rel. 2.0.24 is OK
Subject: perl.info.solaris
Download perl.info.solaris
application/octet-stream 1.9k

Message body not shown because it is not plain text.

Download (untitled) / with headers
text/plain 103b
Thanks Marco, I spotted the failures just before you reported the issue. Will get a fix out soon. Paul
Download (untitled) / with headers
text/plain 1.4k
Hello, The same thing happens here on my OpenSolaris box. I get compile errors if I try to do it on any perl I have here. I have 5.12.0-RC1 all the way back to 5.6.2 and none of them will build this module. SunOS opensolaris64 5.11 snv_111b i86pc i386 i86pc Solaris cc -c -I./zlib-src -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DPERL_USE_SAFE_PUTENV -O -DVERSION=\"2.025\" -DXS_VERSION=\"2.025\" -KPIC "-I/export/home/cpan/perls/perl_5.12.0-RC1_default/lib/5.12.0/i86pc-solaris/CORE" -DGZIP_OS_CODE=3 -DUSE_PPPORT_H adler32.c "adler32.c", line 12: syntax error before or at: off64_t "adler32.c", line 12: warning: undefined or missing type for: off64_t "adler32.c", line 134: warning: no explicit type given for parameter: len2 "adler32.c", line 134: syntax error before or at: off64_t "adler32.c", line 134: warning: old-style declaration or incorrect type for: off64_t "adler32.c", line 134: warning: old-style declaration or incorrect type for: len2 "adler32.c", line 136: syntax error before or at: unsigned "adler32.c", line 166: warning: no explicit type given for parameter: len2 "adler32.c", line 166: syntax error before or at: off64_t "adler32.c", line 166: warning: old-style declaration or incorrect type for: off64_t "adler32.c", line 166: warning: old-style declaration or incorrect type for: len2 "adler32.c", line 168: syntax error before or at: return cc: acomp failed for adler32.c make: *** [adler32.o] Error 1 -- ~Apocalypse


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.