Pyperl, SunOS x86 5.10

Tommy Ditlev Henriksen <[email protected]> Mon, 23 Mar 2009 22:33:32 +0100
Newsgroups gmane.comp.web.zope.perl
Message-ID <[email protected]>
--===============5460468310786832718==
Content-Type: multipart/alternative; boundary=001636c5b311adc3710465d0044d

--001636c5b311adc3710465d0044d
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit

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: [email protected]

--001636c5b311adc3710465d0044d
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

Dear All,<br><br>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??<br=
><br>Iam trying to install Pyperl on Solaris x86 5.10:<br>Active Perl , v5.=
10.0<br>
Python2.5<br clear=3D"all"><br>Iam getting these compile errors which I rea=
lly really would appreciate some input on??? Please..<br><br>Hopefull thank=
s in advance<br>=A0kind regards Tommy<br><br>lang_lock.h:4:25: warning: &qu=
ot;/*&quot; within comment<br>
lang_lock.h:5:23: warning: &quot;/*&quot; within comment<br>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/tem=
p.solaris-2.10-i86pc-2.5/svrv_object.o -D_REENTRANT -DUSE_SITECUSTOMIZE -DP=
RIVLIB_LAST_IN_INC -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=3D64 -DPERL_USE_=
SAFE_PUTENV -fno-strict-aliasing -pipe -DDL_HACK -DMULTI_PERL<br>
In file included from svrv_object.c:7:<br>/opt/ActivePerl-5.10/lib/CORE/per=
l.h:3969: warning: function declaration isn&#39;t a prototype<br>In file in=
cluded from svrv_object.c:17:<br>lang_lock.h:4:25: warning: &quot;/*&quot; =
within comment<br>
lang_lock.h:5:23: warning: &quot;/*&quot; within comment<br>svrv_object.c: =
In function `PySVRV_New&#39;:<br>svrv_object.c:56: warning: unused variable=
 `my_perl&#39;<br>svrv_object.c: In function `do_hash_kv&#39;:<br>svrv_obje=
ct.c:191: warning: suggest explicit braces to avoid ambiguous `else&#39;<br=
>
svrv_object.c: In function `pysvrv_keys&#39;:<br>svrv_object.c:225: warning=
: unused variable `my_perl&#39;<br>svrv_object.c: In function `pysvrv_value=
s&#39;:<br>svrv_object.c:239: warning: unused variable `my_perl&#39;<br>
svrv_object.c:463:26: warning: &quot;/*&quot; within comment<br>svrv_object=
.c: In function `pysvrv_pop&#39;:<br>svrv_object.c:805: warning: unused var=
iable `sv&#39;<br>svrv_object.c: In function `pysvrv_remove&#39;:<br>svrv_o=
bject.c:905: warning: unused variable `my_perl&#39;<br>
svrv_object.c: In function `pysvrv_index&#39;:<br>svrv_object.c:943: warnin=
g: unused variable `my_perl&#39;<br>svrv_object.c: In function `pysvrv_av_a=
lloc&#39;:<br>svrv_object.c:1087: warning: unused variable `my_perl&#39;<br=
>
svrv_object.c: In function `pysvrv_getattr&#39;:<br>svrv_object.c:1183: war=
ning: assignment discards qualifiers from pointer target type<br>svrv_objec=
t.c: In function `pysvrv_length&#39;:<br>svrv_object.c:1431: error: `my_per=
l&#39; undeclared (first use in this function)<br>
svrv_object.c:1431: error: (Each undeclared identifier is reported only onc=
e<br>svrv_object.c:1431: error: for each function it appears in.)<br>svrv_o=
bject.c: In function `pysvrv_nonzero&#39;:<br>svrv_object.c:1461: error: `m=
y_perl&#39; undeclared (first use in this function)<br>
svrv_object.c: In function `pysvrv_repeat&#39;:<br>svrv_object.c:1787: warn=
ing: unused variable `svp&#39;<br>svrv_object.c: At top level:<br>svrv_obje=
ct.c:2012: warning: `intargfunc&#39; is deprecated (declared at /usr/local/=
include/python2.5/object.h:133)<br>
svrv_object.c:2013: warning: `intargfunc&#39; is deprecated (declared at /u=
sr/local/include/python2.5/object.h:133)<br>svrv_object.c:2014: warning: `i=
ntintargfunc&#39; is deprecated (declared at /usr/local/include/python2.5/o=
bject.h:134)<br>
error: command &#39;gcc&#39; failed with exit status 1<br>-bash:phnoenix:ro=
ot:/export/home/tdh/dist/pyperl-1.0.1c# <br><br><br>This is from Python-Obj=
ect, which seems ok:<br>-bash:phnoenix:root:/export/home/tdh/dist/pyperl-1.=
0.1c/Python-Object# perl Makefile.PL<br>
Set up gcc environment - 3.4.6<br>Picking up pyton include files from &quot=
;/usr/local/include/python2.5&quot;<br>Checking if your kit is complete...<=
br>Looks good<br>Writing Makefile for Python::Object<br>-bash:phnoenix:root=
:/export/home/tdh/dist/pyperl-1.0.1c/Python-Object# make install<br>
cp lib/Python/Err.pm blib/lib/Python/Err.pm<br>cp Object.pm blib/lib/Python=
/Object.pm<br>cp lib/Python.pm blib/lib/Python.pm<br>/opt/ActivePerl-5.10/b=
in/perl /opt/ActivePerl-5.10/lib/ExtUtils/xsubpp=A0 -typemap /opt/ActivePer=
l-5.10/lib/ExtUtils/typemap -typemap typemap=A0 Object.xs &gt; Object.xsc &=
amp;&amp; mv Object.xsc Object.c<br>
gcc -c=A0 -I&quot;/usr/local/include/python2.5&quot; -D_REENTRANT -DUSE_SIT=
ECUSTOMIZE -DPRIVLIB_LAST_IN_INC -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=3D=
64 -DPERL_USE_SAFE_PUTENV -fno-strict-aliasing -pipe -O=A0=A0 -DVERSION=3D\=
&quot;1.00\&quot; -DXS_VERSION=3D\&quot;1.00\&quot; -fPIC &quot;-I/opt/Acti=
vePerl-5.10/lib/CORE&quot;=A0 -DMULTI_PERL Object.c<br>
Running Mkbootstrap for Python::Object ()<br>chmod 644 Object.bs<br>rm -f b=
lib/arch/auto/Python/Object/Object.so<br>gcc=A0 -G -L/usr/lib -L/usr/ccs/li=
b -L/opt/SUNWspro/prod/lib -L/lib Object.o=A0 -o blib/arch/auto/Python/Obje=
ct/Object.so=A0=A0 \<br>
=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 \<br><br>chmod 755 blib/arch/=
auto/Python/Object/Object.so<br>cp Object.bs blib/arch/auto/Python/Object/O=
bject.bs<br>chmod 644 blib/arch/auto/Python/Object/Object.bs<br>Manifying b=
lib/man3/Python::Err.3<br>
Manifying blib/man3/Python::Object.3<br>Manifying blib/man3/Python.3<br>Fil=
es found in blib/arch: installing files in blib/lib into architecture depen=
dent library tree<br>Installing /opt/ActivePerl-5.10/site/lib/auto/Python/O=
bject/Object.so<br>
Installing /opt/ActivePerl-5.10/html/site/lib/Python.html<br>Installing /op=
t/ActivePerl-5.10/html/site/lib/Python/Err.html<br>Installing /opt/ActivePe=
rl-5.10/html/site/lib/Python/Object.html<br>Installing /opt/ActivePerl-5.10=
/site/man/man3/Python::Err.3<br>
Installing /opt/ActivePerl-5.10/site/man/man3/Python::Object.3<br>Installin=
g /opt/ActivePerl-5.10/site/man/man3/Python.3<br>Appending installation inf=
o to /opt/ActivePerl-5.10/lib/perllocal.pod<br>-bash:phnoenix:root:/export/=
home/tdh/dist/pyperl-1.0.1c/Python-Object#<br>
<br><br>-- <br>Tommy Ditlev Henriksen<br>email: <a href=3D"mailto:tommyditl=
[email protected]">[email protected]</a><br>

--001636c5b311adc3710465d0044d--

--===============5460468310786832718==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
Zope-perl maillist  -  [email protected]
http://mail.zope.org/mailman/listinfo/zope-perl

--===============5460468310786832718==--