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="all"><br>Iam getting these compile errors which I really really would appreciate some input on??? Please..<br><br>Hopefull thanks in advance<br> kind regards Tommy<br><br>lang_lock.h:4:25: warning: &quot;/*&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/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<br>
In file included from svrv_object.c:7:<br>/opt/ActivePerl-5.10/lib/CORE/perl.h:3969: warning: function declaration isn&#39;t a prototype<br>In file included 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_object.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_values&#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 variable `sv&#39;<br>svrv_object.c: In function `pysvrv_remove&#39;:<br>svrv_object.c:905: warning: unused variable `my_perl&#39;<br>
svrv_object.c: In function `pysvrv_index&#39;:<br>svrv_object.c:943: warning: unused variable `my_perl&#39;<br>svrv_object.c: In function `pysvrv_av_alloc&#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: warning: assignment discards qualifiers from pointer target type<br>svrv_object.c: In function `pysvrv_length&#39;:<br>svrv_object.c:1431: error: `my_perl&#39; undeclared (first use in this function)<br>
svrv_object.c:1431: error: (Each undeclared identifier is reported only once<br>svrv_object.c:1431: error: for each function it appears in.)<br>svrv_object.c: In function `pysvrv_nonzero&#39;:<br>svrv_object.c:1461: error: `my_perl&#39; undeclared (first use in this function)<br>
svrv_object.c: In function `pysvrv_repeat&#39;:<br>svrv_object.c:1787: warning: unused variable `svp&#39;<br>svrv_object.c: At top level:<br>svrv_object.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 /usr/local/include/python2.5/object.h:133)<br>svrv_object.c:2014: warning: `intintargfunc&#39; is deprecated (declared at /usr/local/include/python2.5/object.h:134)<br>
error: command &#39;gcc&#39; failed with exit status 1<br>-bash:phnoenix:root:/export/home/tdh/dist/pyperl-1.0.1c# <br><br><br>This is from Python-Object, 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/bin/perl /opt/ActivePerl-5.10/lib/ExtUtils/xsubpp  -typemap /opt/ActivePerl-5.10/lib/ExtUtils/typemap -typemap typemap  Object.xs &gt; Object.xsc &amp;&amp; mv Object.xsc Object.c<br>
gcc -c  -I&quot;/usr/local/include/python2.5&quot; -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=\&quot;1.00\&quot; -DXS_VERSION=\&quot;1.00\&quot; -fPIC &quot;-I/opt/ActivePerl-5.10/lib/CORE&quot;  -DMULTI_PERL Object.c<br>
Running Mkbootstrap for Python::Object ()<br>chmod 644 Object.bs<br>rm -f blib/arch/auto/Python/Object/Object.so<br>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   \<br>
                \<br><br>chmod 755 blib/arch/auto/Python/Object/Object.so<br>cp Object.bs blib/arch/auto/Python/Object/Object.bs<br>chmod 644 blib/arch/auto/Python/Object/Object.bs<br>Manifying blib/man3/Python::Err.3<br>
Manifying blib/man3/Python::Object.3<br>Manifying blib/man3/Python.3<br>Files found in blib/arch: installing files in blib/lib into architecture dependent library tree<br>Installing /opt/ActivePerl-5.10/site/lib/auto/Python/Object/Object.so<br>
Installing /opt/ActivePerl-5.10/html/site/lib/Python.html<br>Installing /opt/ActivePerl-5.10/html/site/lib/Python/Err.html<br>Installing /opt/ActivePerl-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>Installing /opt/ActivePerl-5.10/site/man/man3/Python.3<br>Appending installation info 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="mailto:tommyditlev@gmail.com">tommyditlev@gmail.com</a><br>