Skip Menu |

This queue is for tickets about the Set-Object CPAN distribution.

Report information
The Basics
Id: 52690
Status: resolved
Priority: 0/
Queue: Set-Object

People
Owner: Nobody in particular
Requestors: Moses.Amaro [...] noaa.gov
Cc:
AdminCc:

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



Subject: Set Object does not build on AIX
Date: Fri, 11 Dec 2009 18:43:34 -0500
To: bug-Set-Object [...] rt.cpan.org
From: Moses Amaro <Moses.Amaro [...] noaa.gov>
I'm hoping that I'm not just a noob asking about this, but I've been unable to get Set::Object installed on AIX and using IBMs xlc compiler. I believe its Aix version 5.3 The copyright notice on the man page for xlc claims its Enterprise Edition V7.0 Here's the error message I'm getting, and thanks for advance in considering this problem. CPAN.pm: Going to build S/SA/SAMV/Set-Object-1.27.tar.gz Checking if your kit is complete... Looks good Writing Makefile for Set::Object cp lib/Set/Object.pm blib/lib/Set/Object.pm AutoSplitting blib/lib/Set/Object.pm (blib/lib/auto/Set/Object) cp lib/Set/Object/Weak.pm blib/lib/Set/Object/Weak.pm /usr/local/bin/perl -e 'use ExtUtils::Mksymlists; Mksymlists("NAME" => "Set::Object", "DL_FUNCS" => { }, "FUNCLIST" => [], "DL_VARS" => []);' /usr/local/bin/perl /home/shared/mamaro/lib/perl5/ExtUtils/xsubpp -typemap /usr/local/lib/perl5/5.8. 7/ExtUtils/typemap Object.xs > Object.xsc && mv Object.xsc Object.c cc -c -D_ALL_SOURCE -D_ANSI_C_SOURCE -D_POSIX_SOURCE -qmaxmem=-1 -qnoansialias -DUSE_NATIVE_DLOPEN -I/usr/local/include -q32 -D_LARGE_FILES -qlonglong -O -DVERSION=\"1.27\" -DXS_VERSION=\"1.27\" "-I/usr /local/lib/perl5/5.8.7/aix/CORE" Object.c "Object.xs", line 1019.66: 1506-209 (S) Character constants must end before the end of a line. "Object.xs", line 1019.13: 1506-076 (W) Character constant 't return undef if not a valid ref - return 0 inst ead' has more than 4 characters. No more than rightmost 4 characters are used. "Object.xs", line 1044.66: 1506-209 (S) Character constants must end before the end of a line. "Object.xs", line 1044.37: 1506-076 (W) Character constant 're going to have to add 0 to' has more than 4 cha racters. No more than rightmost 4 characters are used. "Object.xs", line 1074.66: 1506-209 (S) Character constants must end before the end of a line. "Object.xs", line 1074.46: 1506-076 (W) Character constant 't given an integer.' has more than 4 characters. No more than rightmost 4 characters are used. "Object.xs", line 1090.38: 1506-209 (S) Character constants must end before the end of a line. "Object.xs", line 1090.27: 1506-076 (W) Character constant 's a double' has more than 4 characters. No more t han rightmost 4 characters are used. "Object.xs", line 20.1: 1506-046 (S) Syntax error. make: 1254-004 The error code from the last command is 1. Stop. /usr/bin/make -- NOT OK -- Moses W. Amaro, Contractor Applications Engineer DB Consulting, Inc. CLASS 4231 Suitland Road, Cube 1441 | Suitland, MD 20746 Work Phone: (301) 817-4692 Mobile: (240) 351-1460 Fax: (301) 817-4700 Moses.Amaro@noaa.gov
From: mosesamaro [...] gmail.com
The reason its not building is that AIX uses some kind of ANSI C compliant compiler which does not recognize "//" style comments, apparently they came about with C++. Removing the "//" style comments would make this module more portable.
Fixed in commit 761ba3c8e2, will be in 1.28