Skip Menu |

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

Report information
The Basics
Id: 67332
Status: resolved
Priority: 0/
Queue: Compress-Raw-Bzip2

People
Owner: Nobody in particular
Requestors: Douglas.Irvine [...] sungard.com
Cc:
AdminCc:

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



Subject: Aix 6.1 compilation errors
Date: Fri, 8 Apr 2011 09:40:24 -0400
To: <bug-Compress-Raw-Bzip2 [...] rt.cpan.org>
From: <Douglas.Irvine [...] sungard.com>
Hi, I am getting the following error on compilation: cc_r -c -I. -D_ALL_SOURCE -D_ANSI_C_SOURCE -D_POSIX_SOURCE -qmaxmem=-1 -qnoansialias -DUSE_NATIVE_DLOPEN -DNEED_PTHREAD_INIT -q32 -D_LARGE_FILES -qlonglong -O -DVERSION=\"2.033\" -DXS_VERSION=\"2.033\" "-I/usr/opt/perl5/lib/5.8.8/aix-thread-multi/CORE" -DBZ_NO_STDIO -DUSE_PPPORT_H Bzip2.c "/usr/include/math.h", line 759.4: 1506-191 (E) The character # is not a valid C source character. "/usr/include/sys/atomic_op.h", line 121.1: 1506-1419 (W) Pragma mc_func must appear in global scope. "/usr/include/sys/atomic_op.h", line 121.1: 1506-224 (W) Incorrect pragma ignored. "/usr/include/sys/atomic_op.h", line 124.1: 1506-1419 (W) Pragma mc_func must appear in global scope. "/usr/include/sys/atomic_op.h", line 124.1: 1506-224 (W) Incorrect pragma ignored. "/usr/include/sys/atomic_op.h", line 127.1: 1506-1419 (W) Pragma mc_func must appear in global scope. "/usr/include/sys/atomic_op.h", line 127.1: 1506-224 (W) Incorrect pragma ignored. "/usr/include/sys/atomic_op.h", line 130.1: 1506-1419 (W) Pragma mc_func must appear in global scope. "/usr/include/sys/atomic_op.h", line 130.1: 1506-224 (W) Incorrect pragma ignored. "/usr/include/sys/atomic_op.h", line 135.23: 1506-045 (W) Undeclared identifier _safe_fetch. "/usr/include/math.h", line 409.1: 1506-046 (S) Syntax error. make: 1254-004 The error code from the last command is 1. The system is AIX 6.1.0.0 perl -V Summary of my perl5 (revision 5 version 8 subversion 8) configuration: Platform: osname=aix, osvers=5.3.0.0, archname=aix-thread-multi uname='aix akash79 3 5 00011a85d600 ' config_args='-desr -Dinstallprefix=/usr/opt/perl5 -Dprefix=/usr/opt/perl5 -Dcc=xlc_r -Duseshrplib -Dusethreads' hint=recommended, useposix=true, d_sigaction=define usethreads=define use5005threads=undef useithreads=define usemultiplicity=define useperlio=define d_sfio=undef uselargefiles=define usesocks=undef use64bitint=undef use64bitall=undef uselongdouble=undef usemymalloc=n, bincompat5005=undef Compiler: cc='cc_r', ccflags ='-D_ALL_SOURCE -D_ANSI_C_SOURCE -D_POSIX_SOURCE -qmaxmem=-1 -qnoansialias -DUSE_NATIVE_DLOPEN -DNEED_PTHREAD_INIT -q32 -D_LARGE_FILES -qlonglong', optimize='-O', cppflags='-D_ALL_SOURCE -D_ANSI_C_SOURCE -D_POSIX_SOURCE -qmaxmem=-1 -qnoansialias -DUSE_NATIVE_DLOPEN -DNEED_PTHREAD_INIT' ccversion='9.0.0.2', gccversion='', gccosandvers='' intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=4321 d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=8 ivtype='long', ivsize=4, nvtype='double', nvsize=8, Off_t='off_t', lseeksize=8 alignbytes=8, prototype=define Linker and Libraries: ld='ld', ldflags =' -brtl -bdynamic -b32' libpth=/lib /usr/lib /usr/ccs/lib libs=-lbind -lnsl -lgdbm -ldbm -ldb -ldl -lld -lm -lcrypt -lpthreads -lc -lbsd perllibs=-lbind -lnsl -ldl -lld -lm -lcrypt -lpthreads -lc -lbsd libc=, so=a, useshrplib=true, libperl=libperl.a gnulibc_version='' Dynamic Linking: dlsrc=dl_aix.xs, dlext=so, d_dlsymun=undef, ccdlflags=' -bE:/usr/opt/perl5/lib/5.8.8/aix-thread-multi/CORE/perl.exp' cccdlflags=' ', lddlflags='-bhalt:4 -bexpall -G -bnoentry -lpthreads -lc' Characteristics of this binary (from libperl): Compile-time options: MULTIPLICITY PERL_IMPLICIT_CONTEXT PERL_MALLOC_WRAP USE_ITHREADS USE_LARGE_FILES USE_PERLIO USE_REENTRANT_API Built under aix Compiled at Jun 2 2009 16:11:40 @INC: /usr/opt/perl5/lib/5.8.8/aix-thread-multi /usr/opt/perl5/lib/5.8.8 /usr/opt/perl5/lib/site_perl/5.8.8/aix-thread-multi /usr/opt/perl5/lib/site_perl/5.8.8 /usr/opt/perl5/lib/site_perl . Any ideas about getting this to compile under AIX 6.1?

Message body is not shown because it is too large.

Hi, I see you are running AIX 6.1 while Perl was built with AIX 5.3 From the AIX problem reposrts I get it would seem that having a Perl binary that was built with the same version that is running is the key to seccess in building pelr modue that need to make use of the C compiler. You have a couple of options - First see if you can get a Perl binary that was built on AIX 6.1. next option is to build my module on an AIX 5.3 system, then copy it to your 6.1 system. Another option is to get a more recent version of Perl (5.8.8 is really old) - the more recent versions of Perl include Compress::Raw::Bzip2 Paul
Subject: RE: [rt.cpan.org #67332] Aix 6.1 compilation errors
Date: Mon, 11 Apr 2011 09:08:49 -0400
To: <bug-Compress-Raw-Bzip2 [...] rt.cpan.org>
From: <Douglas.Irvine [...] sungard.com>
Thanks for the follow up, I believe our situation is due to IBM's AIX upgrade release process for their standard installations. It appears their practice has been to release their standard build of perl having been built on a prior rev or the OS and compiler than the shipping rev of the OS. I have polled all our boxes and the various releases and this seems to be consistent across the board. As you have stated, we will need to find alternative means to get the compiler/perl in sync. Thanks for your recommendations. --douglas irvine Douglas Irvine • Sr. Software Developer • Global Plus • SunGard • 40 General Warren Boulevard, Suite 200, Malvern PA 19355 Tel 267.974.4872 • Fax 610.251.6585 • douglas.irvine@sungard.com • www.sungard.com Join SunGard's customers, partners and industry experts at www.sungard.com/ten to discuss how the need for more Transparency, Efficiency and Networks is changing our industry and to register for a city day event near you. VIENNA HOUSTON FRANKFURT BEIJING HONG KONG NEW YORK LONDON SEOUL ZURICH MUMBAI JOHANNESBURG DUBAI SAO PAULO CONFIDENTIALITY: This email (including any attachments) may contain confidential, proprietary and privileged information, and unauthorized disclosure or use is prohibited. If you received this email in error, please notify the sender and delete this email from your system. Thank you. Show quoted text
-----Original Message----- From: Paul Marquess via RT [mailto:bug-Compress-Raw-Bzip2@rt.cpan.org] Sent: Monday, April 11, 2011 6:29 AM To: Irvine, Douglas Subject: [rt.cpan.org #67332] Aix 6.1 compilation errors <URL: https://rt.cpan.org/Ticket/Display.html?id=67332 > Hi, I see you are running AIX 6.1 while Perl was built with AIX 5.3 From the AIX problem reposrts I get it would seem that having a Perl binary that was built with the same version that is running is the key to seccess in building pelr modue that need to make use of the C compiler. You have a couple of options - First see if you can get a Perl binary that was built on AIX 6.1. next option is to build my module on an AIX 5.3 system, then copy it to your 6.1 system. Another option is to get a more recent version of Perl (5.8.8 is really old) - the more recent versions of Perl include Compress::Raw::Bzip2 Paul