<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Also the SDK was not thoroughly tested agains Python 2.7. I recommend that you use 2.6 instead.<div><br></div><div>Adrian</div><div><div><br><div><div>On Dec 11, 2010, at 11:16 AM, David Wulliamoz wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite">Hello, <br><br>I tried to build python-sipsimple under Archlinux x86_64.<br>I have the following error. Any idea how to solve this?<br>Thanks for your help<br><br><br>I'm using cython 0.13 and the error is occuring after the command:<br>
sudo python2 setup.py build_ext --pjsip-clean-compile<br><br><br>cythoning sipsimple/core/_core.pyx to sipsimple/core/_core.c<br>warning: /media/Windows7_OS/Users/dwulliamoz/archlinux/build/sipsimple/python-sipsimple/src/python-sipsimple/sipsimple/core/_core.pxd:31:4: str already a builtin Cython type<br>
warning: /media/Windows7_OS/Users/dwulliamoz/archlinux/build/sipsimple/python-sipsimple/src/python-sipsimple/sipsimple/core/_core.pxd:35:4: dict already a builtin Cython type<br>warning: /media/Windows7_OS/Users/dwulliamoz/archlinux/build/sipsimple/python-sipsimple/src/python-sipsimple/sipsimple/core/_core.pxd:39:4: list already a builtin Cython type<br>
<br>Error converting Pyrex file to C:<br>------------------------------------------------------------<br>...<br>        if rtp_transport_void != NULL:<br>            rtp_transport = (<object> rtp_transport_void)()<br>
            if rtp_transport is None:<br>                return<br>            _reason = reason<br>            if _reason != "media stop requested":<br>                      ^<br>------------------------------------------------------------<br>
<br>/media/Windows7_OS/Users/dwulliamoz/archlinux/build/sipsimple/python-sipsimple/src/python-sipsimple/sipsimple/core/_core.mediatransport.pxi:1100:23: Comparisons between bytes/unicode and str are not portable to Python 3<br>
building 'sipsimple.core._core' extension<br>creating build/temp.linux-x86_64-2.7/sipsimple<br>creating build/temp.linux-x86_64-2.7/sipsimple/core<br>gcc -pthread -fno-strict-aliasing -march=x86-64 -mtune=generic -O2 -pipe -DNDEBUG -march=x86-64 -mtune=generic -O2 -pipe -fPIC -DPJ_AUTOCONF=1 -DPJ_SVN_REVISION=2830 -I/media/Windows7_OS/Users/dwulliamoz/archlinux/build/sipsimple/python-sipsimple/src/python-sipsimple/build/temp.linux-x86_64-2.7/pjsip/pjlib/include -I/media/Windows7_OS/Users/dwulliamoz/archlinux/build/sipsimple/python-sipsimple/src/python-sipsimple/build/temp.linux-x86_64-2.7/pjsip/pjlib-util/include -I/media/Windows7_OS/Users/dwulliamoz/archlinux/build/sipsimple/python-sipsimple/src/python-sipsimple/build/temp.linux-x86_64-2.7/pjsip/pjnath/include -I/media/Windows7_OS/Users/dwulliamoz/archlinux/build/sipsimple/python-sipsimple/src/python-sipsimple/build/temp.linux-x86_64-2.7/pjsip/pjmedia/include -I/media/Windows7_OS/Users/dwulliamoz/archlinux/build/sipsimple/python-sipsimple/src/python-sipsimple/build/temp.linux-x86_64-2.7/pjsip/pjsip/include -I/usr/include/python2.7 -c sipsimple/core/_core.c -o build/temp.linux-x86_64-2.7/sipsimple/core/_core.o -Wno-unused-variable<br>
sipsimple/core/_core.c:1:2: erreur: #error Do not use this file, it is the result of a failed Cython compilation.<br>error: command 'gcc' failed with exit status 1<br><br clear="all"><br>-- <br><br>_______________________________<br>
Wulliamoz David<br>Valentin 89<br>1400 Yverdon-les-Bains<br>078 778 2654<br><a href="mailto:david@wulliamoz.ch">david@wulliamoz.ch</a><br><br>
_______________________________________________<br>SIPclient mailing list<br><a href="mailto:SIPclient@lists.ag-projects.com">SIPclient@lists.ag-projects.com</a><br>http://lists.ag-projects.com/mailman/listinfo/sipclient<br></blockquote></div><br></div></div></body></html>