Experimental Physics and
| |||||||||||||||||
|
Hi,
In the
moment it is Python 2 only. The barrier is in both C extension and Python
source.
Because our standard scientif linux 5
comes with python2.4, and python 3 is not even in SL6. The python3 compatible
request is rather low on my side.
That said, I did make a try to make it compile against python 3. I did not go futher than making it compile. If that is definitely requested, I will try to finish it. The
above is only speaking about myself. It is important to have opinions
from Noboru Yamamoto-san.
Best,
Xiaoqiang
From: [email protected] [mailto:[email protected]] On Behalf Of Ritesh Sugandhi Sent: Monday, April 18, 2011 11:51 AM To: [email protected] Cc: Di Maio Franck Subject: Question regarding CaChannel -v1.6 compilation using python-3.2 onlinux 86-64 bit Dear Sir,
I am trying to compile CaChannel v1.6 using python-3.2 on linux x86-64. The
compilation gives following error. Does CaChannel supports python3 ?
Seeking suggestions and comments
Best regards,
Ritesh Sugandhi
command line output::
===============
$ python3 setup.py build
running build
running build_py
running build_ext
building '_ca' extension
gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O3 -Wall
-Wstrict-prototypes -fPIC -DPYCA_VERSION="\"1.7\"" -DLinux -UW -UI -UT -UH -U_
-UT -UK -I/opt/codac-2.0/epics/base/include
-I/opt/codac-2.0/epics/base/include/os/Linux
-I/opt/codac-2.0/epics/base/include/os
-I/home/ITER/sugandr/Desktop/epics-python/Python-3.2/include/python3.2m -c
_ca314.cpp -o build/temp.linux-x86_64-3.2/_ca314.o
cc1plus: warning: command line option "-Wstrict-prototypes" is valid for
Ada/C/ObjC but not for C++
_ca314.cpp: In function \u2018void init_ca()\u2019:
_ca314.cpp:396: error: \u2018Py_InitModule\u2019 was not declared in this
scope
_ca314.cpp:404: error: \u2018PyString_FromString\u2019 was not declared in
this scope
_conv_helper.cpp: In function \u2018PyObject* _convert_ca_to_Python(chtype,
long unsigned int, void*, int)\u2019:
_conv_helper.cpp:242: error: \u2018PyString_FromString\u2019 was not
declared in this scope
_conv_helper.cpp:366: error: \u2018PyString_FromString\u2019 was not
declared in this scope
_ca314.cpp: In function \u2018PyObject* Py_ca_monitor(PyObject*,
PyObject*)\u2019:
_ca314.cpp:1479: error: \u2018PyCObject_FromVoidPtr\u2019 was not declared
in this scope
_ca314.cpp: In function \u2018PyObject* Py_ca_clear_monitor(PyObject*,
PyObject*)\u2019:
_ca314.cpp:1496: error: \u2018PyCObject_AsVoidPtr\u2019 was not declared in
this scope
_ca314.cpp: In function \u2018PyObject* Py_ca_name(PyObject*,
PyObject*)\u2019:
_ca314.cpp:1707: error: \u2018PyString_FromString\u2019 was not declared in
this scope
_ca314.cpp: In function \u2018PyObject* Py_dbf_text(PyObject*,
PyObject*)\u2019:
_ca314.cpp:1721: error: \u2018PyString_FromString\u2019 was not declared in
this scope
_ca314.cpp: In function \u2018PyObject* Py_dbr_text(PyObject*,
PyObject*)\u2019:
_ca314.cpp:1735: error: \u2018PyString_FromString\u2019 was not declared in
this scope
_ca314.cpp: At global scope:
_ca314.cpp:331: warning: \u2018void ca_context_destroy_wrapper()\u2019
defined but not used
error: command 'gcc' failed with exit status 1
$
| ||||||||||||||||
ANJ, 18 Nov 2013 |
·
Home
·
News
·
About
·
Base
·
Modules
·
Extensions
·
Distributions
·
Download
·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing · |