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: "/*" within comment<br>
lang_lock.h:5:23: warning: "/*" 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't a prototype<br>In file included from svrv_object.c:17:<br>lang_lock.h:4:25: warning: "/*" within comment<br>
lang_lock.h:5:23: warning: "/*" within comment<br>svrv_object.c: In function `PySVRV_New':<br>svrv_object.c:56: warning: unused variable `my_perl'<br>svrv_object.c: In function `do_hash_kv':<br>svrv_object.c:191: warning: suggest explicit braces to avoid ambiguous `else'<br>
svrv_object.c: In function `pysvrv_keys':<br>svrv_object.c:225: warning: unused variable `my_perl'<br>svrv_object.c: In function `pysvrv_values':<br>svrv_object.c:239: warning: unused variable `my_perl'<br>
svrv_object.c:463:26: warning: "/*" within comment<br>svrv_object.c: In function `pysvrv_pop':<br>svrv_object.c:805: warning: unused variable `sv'<br>svrv_object.c: In function `pysvrv_remove':<br>svrv_object.c:905: warning: unused variable `my_perl'<br>
svrv_object.c: In function `pysvrv_index':<br>svrv_object.c:943: warning: unused variable `my_perl'<br>svrv_object.c: In function `pysvrv_av_alloc':<br>svrv_object.c:1087: warning: unused variable `my_perl'<br>
svrv_object.c: In function `pysvrv_getattr':<br>svrv_object.c:1183: warning: assignment discards qualifiers from pointer target type<br>svrv_object.c: In function `pysvrv_length':<br>svrv_object.c:1431: error: `my_perl' 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':<br>svrv_object.c:1461: error: `my_perl' undeclared (first use in this function)<br>
svrv_object.c: In function `pysvrv_repeat':<br>svrv_object.c:1787: warning: unused variable `svp'<br>svrv_object.c: At top level:<br>svrv_object.c:2012: warning: `intargfunc' is deprecated (declared at /usr/local/include/python2.5/object.h:133)<br>
svrv_object.c:2013: warning: `intargfunc' is deprecated (declared at /usr/local/include/python2.5/object.h:133)<br>svrv_object.c:2014: warning: `intintargfunc' is deprecated (declared at /usr/local/include/python2.5/object.h:134)<br>
error: command 'gcc' 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 "/usr/local/include/python2.5"<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 > Object.xsc && mv Object.xsc Object.c<br>
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<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>