It seems possible, however I cant see why that particular error would occur as it seems to be the c code which is failing to compile. Unless their was a specific swig bug that was later repaired?

Toby

On 19/02/2008, Paul Osmialowski <newchief@king.net.pl> wrote:
The same error happens on two different boxes running FC3 while it does
not occur wile using FC6, F7, F8 and Gentoo. Strangely I also have
swig-1.3.31-0.fc6 on FC6 box on which everything compiles fine, so swig is
not the reason. So maybe python-2.3.4? I have python-2.4.4 on the host on
whose it compiles fine.


On Tue, 19 Feb 2008, Toby Collett wrote:

> do you know if this is related to swig or python? swig on my system is
> 1.3.31 which implies it should be functionally the same, although I cant
> confirm that.
>
> On 19/02/2008, Paul Osmialowski <newchief@king.net.pl> wrote:
>>
>> I have swig-1.3.21-6, sip-4.1-1 and python-2.3.4-13.1 installed on that
>> system. I don't need python interface there however, it is annoying that
>> things that were working, say, week ago, now refuse to work for some
>> unknown reason.
>>
>> Paul
>>
>>
>> On Tue, 19 Feb 2008, Toby Collett wrote:
>>
>>> what version of swig do you have, and are you needing to use the python
>>> interface?
>>>
>>> Toby
>>>
>>> On 18/02/2008, Paul Osmialowski <newchief@king.net.pl> wrote:
>>>>
>>>> This problem with CVS 2.1 version showed very recently. I have two
>> older
>>>> Linux boxes with FC3 on whose I'm running Player. For some recent time
>> I
>>>> cannot compile it with libplayerc-py enabled. The error looks like:
>>>>
>>>> make[7]: Entering directory
>>>>
>> `/root/psg21/src/player-20080217/client_libs/libplayerc/bindings/python'
>>>> if test ! -s
>> ../../../../client_libs/libplayerc/bindings/python/setup.py;
>>>> then cp ./setup.py
>>>> ../../../../client_libs/libplayerc/bindings/python/setup.py; fi
>>>> python ../../../../client_libs/libplayerc/bindings/python/setup.py
>> build
>>>> running build
>>>> running build_py
>>>> file playerc.py (for module playerc) not found
>>>> file playerc.py (for module playerc) not found
>>>> running build_ext
>>>> building '_playerc' extension
>>>> swigging playerc.i to playerc_wrap.c
>>>> swig -python -o playerc_wrap.c playerc.i
>>>> creating build
>>>> creating build/temp.linux-i686-2.3
>>>> gcc -pthread -fno-strict-aliasing -DNDEBUG -O2 -g -pipe -m32
>> -march=i386
>>>> -mtune=pentium4 -D_GNU_SOURCE -fPIC -I/root/psg21/include -fPIC
>> -I./../..
>>>> -I../../../.. -I../../../.. -I../../../../libplayercore
>>>> -I../../../../client_libs -I/usr/include/python2.3 -c playerc_wrap.c -o
>>>> build/temp.linux-i686-2.3/playerc_wrap.o
>>>> playerc_wrap.c: In function `playerc_laser_get_range':
>>>> playerc_wrap.c:1321: error: `$self' undeclared (first use in this
>>>> function)
>>>> playerc_wrap.c:1321: error: (Each undeclared identifier is reported
>> only
>>>> once
>>>> playerc_wrap.c:1321: error: for each function it appears in.)
>>>> playerc_wrap.c: In function `_wrap_playerc_mclient_addclient':
>>>> playerc_wrap.c:4986: warning: passing arg 2 of
>> `playerc_mclient_addclient'
>>>> from incompatible pointer type
>>>> error: command 'gcc' failed with exit status 1
>>>> make[7]: *** [pythonbuild] error 1
>>>> make[7]: Leaving directory
>>>>
>> `/root/psg21/src/player-20080217/client_libs/libplayerc/bindings/python'
>>>> make[6]: *** [all] error 2
>>>> make[6]: Leaving directory
>>>>
>> `/root/psg21/src/player-20080217/client_libs/libplayerc/bindings/python'
>>>> make[5]: *** [all-recursive] error 1
>>>> make[5]: Leaving directory
>>>> `/root/psg21/src/player-20080217/client_libs/libplayerc/bindings'
>>>> make[4]: *** [all-recursive] error 1
>>>> make[4]: Leaving directory
>>>> `/root/psg21/src/player-20080217/client_libs/libplayerc'
>>>> make[3]: *** [all] error 2
>>>> make[3]: Leaving directory
>>>> `/root/psg21/src/player-20080217/client_libs/libplayerc'
>>>> make[2]: *** [all-recursive] error 1
>>>> make[2]: Leaving directory
>> `/root/psg21/src/player-20080217/client_libs'
>>>> make[1]: *** [all-recursive] error 1
>>>> make[1]: Leaving directory `/root/psg21/src/player-20080217'
>>>> make: *** [all] error 2
>>>>
>>>> Cheers,
>>>> Paul
>>>>
>>>>
>>>>
>> -------------------------------------------------------------------------
>>>> This SF.net email is sponsored by: Microsoft
>>>> Defy all challenges. Microsoft(R) Visual Studio 2008.
>>>> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
>>>> _______________________________________________
>>>> Playerstage-developers mailing list
>>>> Playerstage-developers@lists.sourceforge.net
>>>> https://lists.sourceforge.net/lists/listinfo/playerstage-developers
>>>>
>>>
>>>
>>>
>>> --
>>> This email is intended for the addressee only and may contain privileged
>>> and/or confidential information
>>>
>>
>> -------------------------------------------------------------------------
>> This SF.net email is sponsored by: Microsoft
>> Defy all challenges. Microsoft(R) Visual Studio 2008.
>> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
>> _______________________________________________
>> Playerstage-developers mailing list
>> Playerstage-developers@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/playerstage-developers
>>
>
>
>
> --
> This email is intended for the addressee only and may contain privileged
> and/or confidential information
>

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Playerstage-developers mailing list
Playerstage-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/playerstage-developers



--
This email is intended for the addressee only and may contain privileged and/or confidential information