Skip Menu |

This queue is for tickets about the Inline-Python CPAN distribution.

Report information
The Basics
Id: 19309
Status: open
Priority: 0/
Queue: Inline-Python

People
Owner: Nobody in particular
Requestors: MTHURN [...] cpan.org
Cc: MTHURN [...] cpan.org
AdminCc:

Bug Information
Severity: Normal
Broken in: 0.22
Fixed in: (no value)



CC: mthurn [...] cpan.org
Subject: can not compile: assignment of read-only member `svt_free'
I'm using perl 5.9.2 on Solaris 8 [MSG] Extracted 'Inline::Python' to '/disk1/src/PERL/.cpanplus/5.9.2/build/Inline-Python-0.22' Running [/usr/local/bin/perl5.9.2 -MCPANPLUS::Internals::Utils::Autoflush Makefile.PL ]... Found these python executables on your PATH: 1. /usr/local/bin/python Use which? [1] Using /usr/local/bin/python Using These Settings: Extra Libs: -lresolv -lsocket -lnsl -lrt -ldl -lpthread Python Lib: -L/usr/local/lib/python2.4/config -lpython2.4 Includes: -I/usr/local/include/python2.4 Extra Flags: none (perl Makefile.PL --help for details) Writing Makefile for Inline::Python Running [/usr/local/bin/make UNINST=1]... cc -c -I/usr/local/include/python2.4 -fno-strict-aliasing -pipe -I/usr/local/include -I/opt/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DDEBUGGING -g -DVERSION=\"0.22\" -DXS_VERSION=\"0.22\" -fPIC "-I/usr/local/lib/perl5/5.9.2/sun4-solaris/CORE" -DEXPOSE_PERL -DCREATE_PYTHON -UCREATE_PERL Python.c cc -c -I/usr/local/include/python2.4 -fno-strict-aliasing -pipe -I/usr/local/include -I/opt/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DDEBUGGING -g -DVERSION=\"0.22\" -DXS_VERSION=\"0.22\" -fPIC "-I/usr/local/lib/perl5/5.9.2/sun4-solaris/CORE" -DEXPOSE_PERL -DCREATE_PYTHON -UCREATE_PERL py2pl.c py2pl.c: In function `Py2Pl': py2pl.c:98: error: assignment of read-only member `svt_free' make: *** [py2pl.o] Error 1 -- - - Martin 'Kingpin' Thurn
On Wed May 17 12:55:39 2006, MTHURN wrote: Show quoted text
> py2pl.c: In function `Py2Pl': > py2pl.c:98: error: assignment of read-only member `svt_free'
Fix seems to be fairly trivial (using a local variable for mg_virtual to set it up and then assigning it to mg->mg_virtual. But it compiles for me on 5.10.0, so I don't know if that's still necessary.