[Zope-Perl] Pyperl, SunOS x86 5.10

Tommy Ditlev Henriksen tommyditlev at gmail.com
Mon Mar 23 17:33:32 EDT 2009


Dear All,

I sincerly hope someone here on this list is able to help me, I am starting
to run out of hope, which is not a nice thing at all??

Iam trying to install Pyperl on Solaris x86 5.10:
Active Perl , v5.10.0
Python2.5

Iam getting these compile errors which I really really would appreciate some
input on??? Please..

Hopefull thanks in advance
 kind regards Tommy

lang_lock.h:4:25: warning: "/*" within comment
lang_lock.h:5:23: warning: "/*" within comment
gcc -fno-strict-aliasing -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -fPIC
-I/opt/ActivePerl-5.10/lib/CORE -I/usr/local/include/python2.5 -c
svrv_object.c -o build/temp.solaris-2.10-i86pc-2.5/svrv_object.o
-D_REENTRANT -DUSE_SITECUSTOMIZE -DPRIVLIB_LAST_IN_INC -D_LARGEFILE_SOURCE
-D_FILE_OFFSET_BITS=64 -DPERL_USE_SAFE_PUTENV -fno-strict-aliasing -pipe
-DDL_HACK -DMULTI_PERL
In file included from svrv_object.c:7:
/opt/ActivePerl-5.10/lib/CORE/perl.h:3969: warning: function declaration
isn't a prototype
In file included from svrv_object.c:17:
lang_lock.h:4:25: warning: "/*" within comment
lang_lock.h:5:23: warning: "/*" within comment
svrv_object.c: In function `PySVRV_New':
svrv_object.c:56: warning: unused variable `my_perl'
svrv_object.c: In function `do_hash_kv':
svrv_object.c:191: warning: suggest explicit braces to avoid ambiguous
`else'
svrv_object.c: In function `pysvrv_keys':
svrv_object.c:225: warning: unused variable `my_perl'
svrv_object.c: In function `pysvrv_values':
svrv_object.c:239: warning: unused variable `my_perl'
svrv_object.c:463:26: warning: "/*" within comment
svrv_object.c: In function `pysvrv_pop':
svrv_object.c:805: warning: unused variable `sv'
svrv_object.c: In function `pysvrv_remove':
svrv_object.c:905: warning: unused variable `my_perl'
svrv_object.c: In function `pysvrv_index':
svrv_object.c:943: warning: unused variable `my_perl'
svrv_object.c: In function `pysvrv_av_alloc':
svrv_object.c:1087: warning: unused variable `my_perl'
svrv_object.c: In function `pysvrv_getattr':
svrv_object.c:1183: warning: assignment discards qualifiers from pointer
target type
svrv_object.c: In function `pysvrv_length':
svrv_object.c:1431: error: `my_perl' undeclared (first use in this function)
svrv_object.c:1431: error: (Each undeclared identifier is reported only once
svrv_object.c:1431: error: for each function it appears in.)
svrv_object.c: In function `pysvrv_nonzero':
svrv_object.c:1461: error: `my_perl' undeclared (first use in this function)
svrv_object.c: In function `pysvrv_repeat':
svrv_object.c:1787: warning: unused variable `svp'
svrv_object.c: At top level:
svrv_object.c:2012: warning: `intargfunc' is deprecated (declared at
/usr/local/include/python2.5/object.h:133)
svrv_object.c:2013: warning: `intargfunc' is deprecated (declared at
/usr/local/include/python2.5/object.h:133)
svrv_object.c:2014: warning: `intintargfunc' is deprecated (declared at
/usr/local/include/python2.5/object.h:134)
error: command 'gcc' failed with exit status 1
-bash:phnoenix:root:/export/home/tdh/dist/pyperl-1.0.1c#


This is from Python-Object, which seems ok:
-bash:phnoenix:root:/export/home/tdh/dist/pyperl-1.0.1c/Python-Object# perl
Makefile.PL
Set up gcc environment - 3.4.6
Picking up pyton include files from "/usr/local/include/python2.5"
Checking if your kit is complete...
Looks good
Writing Makefile for Python::Object
-bash:phnoenix:root:/export/home/tdh/dist/pyperl-1.0.1c/Python-Object# make
install
cp lib/Python/Err.pm blib/lib/Python/Err.pm
cp Object.pm blib/lib/Python/Object.pm
cp lib/Python.pm blib/lib/Python.pm
/opt/ActivePerl-5.10/bin/perl /opt/ActivePerl-5.10/lib/ExtUtils/xsubpp
-typemap /opt/ActivePerl-5.10/lib/ExtUtils/typemap -typemap typemap
Object.xs > Object.xsc && mv Object.xsc Object.c
gcc -c  -I"/usr/local/include/python2.5" -D_REENTRANT -DUSE_SITECUSTOMIZE
-DPRIVLIB_LAST_IN_INC -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
-DPERL_USE_SAFE_PUTENV -fno-strict-aliasing -pipe -O   -DVERSION=\"1.00\"
-DXS_VERSION=\"1.00\" -fPIC "-I/opt/ActivePerl-5.10/lib/CORE"  -DMULTI_PERL
Object.c
Running Mkbootstrap for Python::Object ()
chmod 644 Object.bs
rm -f blib/arch/auto/Python/Object/Object.so
gcc  -G -L/usr/lib -L/usr/ccs/lib -L/opt/SUNWspro/prod/lib -L/lib Object.o
-o blib/arch/auto/Python/Object/Object.so   \
                \

chmod 755 blib/arch/auto/Python/Object/Object.so
cp Object.bs blib/arch/auto/Python/Object/Object.bs
chmod 644 blib/arch/auto/Python/Object/Object.bs
Manifying blib/man3/Python::Err.3
Manifying blib/man3/Python::Object.3
Manifying blib/man3/Python.3
Files found in blib/arch: installing files in blib/lib into architecture
dependent library tree
Installing /opt/ActivePerl-5.10/site/lib/auto/Python/Object/Object.so
Installing /opt/ActivePerl-5.10/html/site/lib/Python.html
Installing /opt/ActivePerl-5.10/html/site/lib/Python/Err.html
Installing /opt/ActivePerl-5.10/html/site/lib/Python/Object.html
Installing /opt/ActivePerl-5.10/site/man/man3/Python::Err.3
Installing /opt/ActivePerl-5.10/site/man/man3/Python::Object.3
Installing /opt/ActivePerl-5.10/site/man/man3/Python.3
Appending installation info to /opt/ActivePerl-5.10/lib/perllocal.pod
-bash:phnoenix:root:/export/home/tdh/dist/pyperl-1.0.1c/Python-Object#


-- 
Tommy Ditlev Henriksen
email: tommyditlev at gmail.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.zope.org/pipermail/zope-perl/attachments/20090323/c7d7eae1/attachment.html 


More information about the Zope-perl mailing list