[Zope] pyperl-1.0.1 compile error

jbr@FIZ-Karlsruhe.DE jbr@FIZ-Karlsruhe.DE
Thu, 12 Jun 2003 12:33:09 +0200 (MEST)


I have tried to compile package pyperl-1.0.1.tar.gz
on solaris.

I am using gcc version 3.2 on solaris 5.8 and Python 2.1.3 (#1, Jun  4 2003, 16:09:53)

Compilation of module   perlxsi.c  failed.
With gcc 2.95 on a different maschine I got no warnings and could compile.
Because I have to use gcc 3.2 (or sun cc ) on that machine, what can I do ?

Juergen Berger

  Script started on Wed Jun 11 17:02:58 2003
  PWD: /home/jbr/pytest/pyperl-1.0.1
  jbr@iddev1 >     python setup.py install

  Macros: []
  Include:  ['/opt/gnu/include',
  Libs: ['perl', 'socket', 'nsl', 'gdbm', 'db', 'dl', 'm', 'rt', 'pthread', 'c']
  Lib dirs: ['/opt/gnu/lib', '/opt/SUNWspro/WS6U2/lib',
  Extra LD:  []

  running install
  running build
  running build_py
  creating build
  creating build/lib.solaris-2.8-sun4u-2.1
  copying dbi.py -> build/lib.solaris-2.8-sun4u-2.1
  copying dbi2.py -> build/lib.solaris-2.8-sun4u-2.1
  copying perlpickle.py -> build/lib.solaris-2.8-sun4u-2.1
  copying perlmod.py -> build/lib.solaris-2.8-sun4u-2.1
  running build_ext
  building 'perl2' extension
  creating build/temp.solaris-2.8-sun4u-2.1


  gcc -g -O2 -Wall -Wstrict-prototypes -fPIC -I/opt/gnu/include
  -I/opt/gnu/include/python2.1 -c perlxsi.c -o
  build/temp.solaris-2.8-sun4u-2.1/perlxsi.o -D_REENTRANT -D_LARGEFILE_SOURCE
  cc1: warning: changing search order for system directory "/opt/gnu/include"
  cc1: warning:   as it has already been specified as a non-system directory
  perlxsi.c: In function `xs_init':
  perlxsi.c:30: `my_perl' undeclared (first use in this function)
  perlxsi.c:30: (Each undeclared identifier is reported only once
  perlxsi.c:30: for each function it appears in.)
  perlxsi.c:30: warning: passing arg 3 of `Perl_newXS' from incompatible pointer
  error: command 'gcc' failed with exit status 1