Click here to get back home

Set::Object installation Problem

 HomeNewsGroups | Search | About
 comp.lang.perl.modules    Post an article   get this group's latest topics as an RSS feed add this group's latest topics to your My MSN content add this group's latest topics to your My Yahoo content
Subject Author Date
Set::Object installation Problem mrhsug2 10-14-2006
Get Chitika Premium
Posted by mrhsug2 on October 14, 2006, 6:04 am
Please log in for more thread options


Hi,

I need to install Set::Object module on AIX-5.3
I follow the instructions but don't have good luck
can any one help me to see how to solve this problem
thanks in advance

Environment :

AIX : 5.3
Perl version : v5.8.2 built for aix-thread-multi
C Compiler : C for AIX Compiler, Version 5

----

perl Makefile.PL


>perl Makefile.PL
Checking if your kit is complete...
Looks good
Writing Makefile for Set::Object

>make
cp lib/Set/Object.pm blib/lib/Set/Object.pm
AutoSplitting blib/lib/Set/Object.pm (blib/lib/auto/Set/Object)
/usr/bin/perl -e 'use ExtUtils::Mksymlists; Mksymlists("NAME"
=> "Set::
Object", "DL_FUNCS" => { }, "FUNCLIST" => [], "DL_VARS" => []);'
/usr/bin/perl /usr/opt/perl5/lib/5.8.2/ExtUtils/xsubpp
-typemap /usr/op
t/perl5/lib/5.8.2/ExtUtils/typemap Object.xs > Object.xsc && mv
Object.xsc Obje
ct.c
cc_r -c -D_ALL_SOURCE -D_ANSI_C_SOURCE -D_POSIX_SOURCE
-qmaxmem=16384
-qnoansialias -DUSE_NATIVE_DLOPEN -DNEED_PTHREAD_INIT -q32
-D_LARGE_FILES -qlon
glong -O -DVERSION=\"1.18\" -DXS_VERSION=\"1.18\"
"-I/usr/opt/perl5/lib/5.8
.2/aix-thread-multi/CORE" Object.c
"Object.xs", line 974.66: 1506-209 (S) Character constants must end
before the e
nd of a line.
"Object.xs", line 974.13: 1506-076 (W) Character constant 't return
undef if not
a valid ref - return 0 instead' has more than one character. No more
than right
most 4 characters are used.
"Object.xs", line 999.66: 1506-209 (S) Character constants must end
before the e
nd of a line.
"Object.xs", line 999.37: 1506-076 (W) Character constant 're going to
have to a
dd 0 to' has more than one character. No more than rightmost 4
characters are us
ed.
"Object.xs", line 1029.66: 1506-209 (S) Character constants must end
before the
end of a line.
"Object.xs", line 1029.46: 1506-076 (W) Character constant 't given an
integer.'
has more than one character. No more than rightmost 4 characters are
used.
"Object.xs", line 1045.38: 1506-209 (S) Character constants must end
before the
end of a line.
"Object.xs", line 1045.27: 1506-076 (W) Character constant 's a double'
has more
than one character. No more than 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.


Posted by harryfmudd [AT] comcast [DOT] on October 14, 2006, 7:33 pm
Please log in for more thread options


mrhsug2@gmail.com wrote:
> Hi,
>
> I need to install Set::Object module on AIX-5.3
> I follow the instructions but don't have good luck
> can any one help me to see how to solve this problem
> thanks in advance
>
> Environment :
>
> AIX : 5.3
> Perl version : v5.8.2 built for aix-thread-multi
> C Compiler : C for AIX Compiler, Version 5
>
> ----
>
> perl Makefile.PL
>
>
>
>>perl Makefile.PL
>
> Checking if your kit is complete...
> Looks good
> Writing Makefile for Set::Object
>
>
>>make
>
> cp lib/Set/Object.pm blib/lib/Set/Object.pm
> AutoSplitting blib/lib/Set/Object.pm (blib/lib/auto/Set/Object)
> /usr/bin/perl -e 'use ExtUtils::Mksymlists; Mksymlists("NAME"
> => "Set::
> Object", "DL_FUNCS" => { }, "FUNCLIST" => [], "DL_VARS" => []);'
> /usr/bin/perl /usr/opt/perl5/lib/5.8.2/ExtUtils/xsubpp
> -typemap /usr/op
> t/perl5/lib/5.8.2/ExtUtils/typemap Object.xs > Object.xsc && mv
> Object.xsc Obje
> ct.c
> cc_r -c -D_ALL_SOURCE -D_ANSI_C_SOURCE -D_POSIX_SOURCE
> -qmaxmem=16384
> -qnoansialias -DUSE_NATIVE_DLOPEN -DNEED_PTHREAD_INIT -q32
> -D_LARGE_FILES -qlon
> glong -O -DVERSION=\"1.18\" -DXS_VERSION=\"1.18\"
> "-I/usr/opt/perl5/lib/5.8
> .2/aix-thread-multi/CORE" Object.c
> "Object.xs", line 974.66: 1506-209 (S) Character constants must end
> before the e
> nd of a line.
> "Object.xs", line 974.13: 1506-076 (W) Character constant 't return
> undef if not
> a valid ref - return 0 instead' has more than one character. No more
> than right
> most 4 characters are used.
> "Object.xs", line 999.66: 1506-209 (S) Character constants must end
> before the e
> nd of a line.
> "Object.xs", line 999.37: 1506-076 (W) Character constant 're going to
> have to a
> dd 0 to' has more than one character. No more than rightmost 4
> characters are us
> ed.
> "Object.xs", line 1029.66: 1506-209 (S) Character constants must end
> before the
> end of a line.
> "Object.xs", line 1029.46: 1506-076 (W) Character constant 't given an
> integer.'
> has more than one character. No more than rightmost 4 characters are
> used.
> "Object.xs", line 1045.38: 1506-209 (S) Character constants must end
> before the
> end of a line.
> "Object.xs", line 1045.27: 1506-076 (W) Character constant 's a double'
> has more
> than one character. No more than 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.
>

Offhand, it looks like your c compiler does not recognize '//' -style
comments. I got some warnings, but not failures under Darwin:

cc -c -fno-common -DPERL_DARWIN -no-cpp-precomp -fno-strict-aliasing
-pipe -I/usr/local/include -Os -DVERSION=\"1.18\"
-DXS_VERSION=\"1.18\" "-I/usr/local/lib/perl5/5.8.8/darwin-2level/CORE"
Object.c
Object.xs: In function `_dispel_magic':
Object.xs:333: warning: initialization from incompatible pointer type
Object.xs: In function `_cast_magic':
Object.xs:455: warning: assignment from incompatible pointer type
Object.xs:460: warning: passing arg 2 of `Perl_sv_magicext' from
incompatible pointer type
Object.xs: In function `XS_Set__Object_is_weak':
Object.xs:831: warning: assignment makes integer from pointer without a cast

Tom Wyant

Posted by mrhsug2 on October 16, 2006, 3:16 am
Please log in for more thread options


You are right.

after removing the '//' -style comments from the source code
though still got some warning
the installation was success

THANK YOU very much!!


harryfmudd [AT] comcast [DOT] net =E5=AF=AB=E9=81=93=EF=BC=9A

>
> Offhand, it looks like your c compiler does not recognize '//' -style
> comments. I got some warnings, but not failures under Darwin:
>
> cc -c -fno-common -DPERL_DARWIN -no-cpp-precomp -fno-strict-aliasing
> -pipe -I/usr/local/include -Os -DVERSION=3D\"1.18\"
> -DXS_VERSION=3D\"1.18\" "-I/usr/local/lib/perl5/5.8.8/darwin-2level/CORE"
> Object.c
> Object.xs: In function `_dispel_magic':
> Object.xs:333: warning: initialization from incompatible pointer type
> Object.xs: In function `_cast_magic':
> Object.xs:455: warning: assignment from incompatible pointer type
> Object.xs:460: warning: passing arg 2 of `Perl_sv_magicext' from
> incompatible pointer type
> Object.xs: In function `XS_Set__Object_is_weak':
> Object.xs:831: warning: assignment makes integer from pointer without a c=
ast
>=20
> Tom Wyant


Similar ThreadsPosted
DBD-Pg installation problem September 20, 2004, 10:34 pm
DBD::RAM installation problem March 2, 2005, 12:17 pm
Installation problem with CORBA::omniORB February 19, 2007, 7:29 am
Weird Module Installation Problem on Solaris 10 November 4, 2005, 8:36 am
perl cgi session module installation problem June 5, 2006, 11:11 am
Installation problem - Net-SNMP Perl Modules on cygwin March 1, 2005, 1:52 am
Mysql-DBD Perl module Installation Problem in HPUX June 30, 2005, 9:05 am
Net::SFTP installation January 12, 2005, 11:35 pm
Installation LDAP April 29, 2005, 6:27 am
perl DBI installation help March 1, 2006, 10:29 am

Our other projects:

Art Dolls, Fairies and Mermaids - Sunnyfaces.net

Roy's Linux, Programming and Search Engines messages

1-Script XML SitemapXML Sitemap