Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't install NEST with Python 3.8 #1337

Closed
Boboz8 opened this issue Nov 15, 2019 · 5 comments
Closed

Can't install NEST with Python 3.8 #1337

Boboz8 opened this issue Nov 15, 2019 · 5 comments

Comments

@Boboz8
Copy link

Boboz8 commented Nov 15, 2019

I get Python 3.8 from apt -get install python 3.8 and i followed this guide here: https://nest-simulator.readthedocs.io/en/latest/installation/linux_install.html#standard-installation , i followed the standard installation process, added -Dwith-python=3 to the cmake command and in the make process it give me this:

[ 99%] Built target nest
[100%] Compiling Cython CXX source for pynestkernel...
warning: /home/bobo/nest-simulator-2.18.0/pynest/pynestkernel.pyx:689:10: Unreachable code
warning: /home/bobo/nest-simulator-2.18.0/pynest/pynestkernel.pyx:689:10: Unreachable code
Scanning dependencies of target pynestkernel
[100%] Building CXX object pynest/CMakeFiles/pynestkernel.dir/pynestkernel.cxx.o`
/home/bobo/nest-simulator-2.18.0-build/pynest/pynestkernel.cxx: In function ‘PyObject* __pyx_f_12pynestkernel_sli_array_to_object(ArrayDatum*)’:
/home/bobo/nest-simulator-2.18.0-build/pynest/pynestkernel.cxx:11220:35: warning: comparison of integer expressions of different signedness: ‘Py_ssize_t’ {aka ‘long int’} and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
     for (__pyx_temp=0; __pyx_temp < __pyx_v_dat->size(); __pyx_temp++) {
                        ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~
/home/bobo/nest-simulator-2.18.0-build/pynest/pynestkernel.cxx:11247:33: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘Py_ssize_t’ {aka ‘long int’} [-Wsign-compare]
   for (__pyx_t_4 = 0; __pyx_t_4 < __pyx_t_3; __pyx_t_4+=1) {
                       ~~~~~~~~~~^~~~~~~~~~~
/home/bobo/nest-simulator-2.18.0-build/pynest/pynestkernel.cxx: In function ‘int __Pyx_modinit_type_init_code()’:
/home/bobo/nest-simulator-2.18.0-build/pynest/pynestkernel.cxx:28268:38: warning: ‘_typeobject::tp_print’ is deprecated [-Wdeprecated-declarations]
   __pyx_type_12pynestkernel_SLIDatum.tp_print = 0;
                                      ^~~~~~~~
In file included from /usr/local/include/python3.8/object.h:746,
                 from /usr/local/include/python3.8/pytime.h:6,
                 from /usr/local/include/python3.8/Python.h:85,
                 from /home/bobo/nest-simulator-2.18.0-build/pynest/pynestkernel.cxx:4:
/usr/local/include/python3.8/cpython/object.h:260:63: note: declared here
     Py_DEPRECATED(3.8) int (*tp_print)(PyObject *, FILE *, int);
                                                               ^
/home/bobo/nest-simulator-2.18.0-build/pynest/pynestkernel.cxx:28268:38: warning: ‘_typeobject::tp_print’ is deprecated [-Wdeprecated-declarations]
   __pyx_type_12pynestkernel_SLIDatum.tp_print = 0;
                                      ^~~~~~~~
In file included from /usr/local/include/python3.8/object.h:746,
                 from /usr/local/include/python3.8/pytime.h:6,
                 from /usr/local/include/python3.8/Python.h:85,
                 from /home/bobo/nest-simulator-2.18.0-build/pynest/pynestkernel.cxx:4:
/usr/local/include/python3.8/cpython/object.h:260:63: note: declared here
     Py_DEPRECATED(3.8) int (*tp_print)(PyObject *, FILE *, int);
                                                               ^
/home/bobo/nest-simulator-2.18.0-build/pynest/pynestkernel.cxx:28268:38: warning: ‘_typeobject::tp_print’ is deprecated [-Wdeprecated-declarations]
   __pyx_type_12pynestkernel_SLIDatum.tp_print = 0;
                                      ^~~~~~~~
In file included from /usr/local/include/python3.8/object.h:746,
                 from /usr/local/include/python3.8/pytime.h:6,
                 from /usr/local/include/python3.8/Python.h:85,
                 from /home/bobo/nest-simulator-2.18.0-build/pynest/pynestkernel.cxx:4:
/usr/local/include/python3.8/cpython/object.h:260:63: note: declared here
     Py_DEPRECATED(3.8) int (*tp_print)(PyObject *, FILE *, int);
                                                               ^
/home/bobo/nest-simulator-2.18.0-build/pynest/pynestkernel.cxx:28277:40: warning: ‘_typeobject::tp_print’ is deprecated [-Wdeprecated-declarations]
   __pyx_type_12pynestkernel_SLILiteral.tp_print = 0;
                                        ^~~~~~~~
In file included from /usr/local/include/python3.8/object.h:746,
                 from /usr/local/include/python3.8/pytime.h:6,
                 from /usr/local/include/python3.8/Python.h:85,
                 from /home/bobo/nest-simulator-2.18.0-build/pynest/pynestkernel.cxx:4:
/usr/local/include/python3.8/cpython/object.h:260:63: note: declared here
     Py_DEPRECATED(3.8) int (*tp_print)(PyObject *, FILE *, int);
                                                               ^
/home/bobo/nest-simulator-2.18.0-build/pynest/pynestkernel.cxx:28277:40: warning: ‘_typeobject::tp_print’ is deprecated [-Wdeprecated-declarations]
   __pyx_type_12pynestkernel_SLILiteral.tp_print = 0;
                                        ^~~~~~~~
In file included from /usr/local/include/python3.8/object.h:746,
                 from /usr/local/include/python3.8/pytime.h:6,
                 from /usr/local/include/python3.8/Python.h:85,
                 from /home/bobo/nest-simulator-2.18.0-build/pynest/pynestkernel.cxx:4:
/usr/local/include/python3.8/cpython/object.h:260:63: note: declared here
     Py_DEPRECATED(3.8) int (*tp_print)(PyObject *, FILE *, int);
                                                               ^
/home/bobo/nest-simulator-2.18.0-build/pynest/pynestkernel.cxx:28277:40: warning: ‘_typeobject::tp_print’ is deprecated [-Wdeprecated-declarations]
   __pyx_type_12pynestkernel_SLILiteral.tp_print = 0;
                                        ^~~~~~~~
In file included from /usr/local/include/python3.8/object.h:746,
                 from /usr/local/include/python3.8/pytime.h:6,
                 from /usr/local/include/python3.8/Python.h:85,
                 from /home/bobo/nest-simulator-2.18.0-build/pynest/pynestkernel.cxx:4:
/usr/local/include/python3.8/cpython/object.h:260:63: note: declared here
     Py_DEPRECATED(3.8) int (*tp_print)(PyObject *, FILE *, int);
                                                               ^
/home/bobo/nest-simulator-2.18.0-build/pynest/pynestkernel.cxx:28285:40: warning: ‘_typeobject::tp_print’ is deprecated [-Wdeprecated-declarations]
   __pyx_type_12pynestkernel_NESTEngine.tp_print = 0;
                                        ^~~~~~~~
In file included from /usr/local/include/python3.8/object.h:746,
                 from /usr/local/include/python3.8/pytime.h:6,
                 from /usr/local/include/python3.8/Python.h:85,
                 from /home/bobo/nest-simulator-2.18.0-build/pynest/pynestkernel.cxx:4:
/usr/local/include/python3.8/cpython/object.h:260:63: note: declared here
     Py_DEPRECATED(3.8) int (*tp_print)(PyObject *, FILE *, int);
                                                               ^
/home/bobo/nest-simulator-2.18.0-build/pynest/pynestkernel.cxx:28285:40: warning: ‘_typeobject::tp_print’ is deprecated [-Wdeprecated-declarations]
   __pyx_type_12pynestkernel_NESTEngine.tp_print = 0;
                                        ^~~~~~~~
In file included from /usr/local/include/python3.8/object.h:746,
                 from /usr/local/include/python3.8/pytime.h:6,
                 from /usr/local/include/python3.8/Python.h:85,
                 from /home/bobo/nest-simulator-2.18.0-build/pynest/pynestkernel.cxx:4:
/usr/local/include/python3.8/cpython/object.h:260:63: note: declared here
     Py_DEPRECATED(3.8) int (*tp_print)(PyObject *, FILE *, int);
                                                               ^
/home/bobo/nest-simulator-2.18.0-build/pynest/pynestkernel.cxx:28285:40: warning: ‘_typeobject::tp_print’ is deprecated [-Wdeprecated-declarations]
   __pyx_type_12pynestkernel_NESTEngine.tp_print = 0;
                                        ^~~~~~~~
In file included from /usr/local/include/python3.8/object.h:746,
                 from /usr/local/include/python3.8/pytime.h:6,
                 from /usr/local/include/python3.8/Python.h:85,
                 from /home/bobo/nest-simulator-2.18.0-build/pynest/pynestkernel.cxx:4:
/usr/local/include/python3.8/cpython/object.h:260:63: note: declared here
     Py_DEPRECATED(3.8) int (*tp_print)(PyObject *, FILE *, int);
                                                               ^
/home/bobo/nest-simulator-2.18.0-build/pynest/pynestkernel.cxx:28293:54: warning: ‘_typeobject::tp_print’ is deprecated [-Wdeprecated-declarations]
   __pyx_type_12pynestkernel___pyx_scope_struct__init.tp_print = 0;
                                                      ^~~~~~~~
In file included from /usr/local/include/python3.8/object.h:746,
                 from /usr/local/include/python3.8/pytime.h:6,
                 from /usr/local/include/python3.8/Python.h:85,
                 from /home/bobo/nest-simulator-2.18.0-build/pynest/pynestkernel.cxx:4:
/usr/local/include/python3.8/cpython/object.h:260:63: note: declared here
     Py_DEPRECATED(3.8) int (*tp_print)(PyObject *, FILE *, int);
                                                               ^
/home/bobo/nest-simulator-2.18.0-build/pynest/pynestkernel.cxx:28293:54: warning: ‘_typeobject::tp_print’ is deprecated [-Wdeprecated-declarations]
   __pyx_type_12pynestkernel___pyx_scope_struct__init.tp_print = 0;
                                                      ^~~~~~~~
In file included from /usr/local/include/python3.8/object.h:746,
                 from /usr/local/include/python3.8/pytime.h:6,
                 from /usr/local/include/python3.8/Python.h:85,
                 from /home/bobo/nest-simulator-2.18.0-build/pynest/pynestkernel.cxx:4:
/usr/local/include/python3.8/cpython/object.h:260:63: note: declared here
     Py_DEPRECATED(3.8) int (*tp_print)(PyObject *, FILE *, int);
                                                               ^
/home/bobo/nest-simulator-2.18.0-build/pynest/pynestkernel.cxx:28293:54: warning: ‘_typeobject::tp_print’ is deprecated [-Wdeprecated-declarations]
   __pyx_type_12pynestkernel___pyx_scope_struct__init.tp_print = 0;
                                                      ^~~~~~~~
In file included from /usr/local/include/python3.8/object.h:746,
                 from /usr/local/include/python3.8/pytime.h:6,
                 from /usr/local/include/python3.8/Python.h:85,
                 from /home/bobo/nest-simulator-2.18.0-build/pynest/pynestkernel.cxx:4:
/usr/local/include/python3.8/cpython/object.h:260:63: note: declared here
     Py_DEPRECATED(3.8) int (*tp_print)(PyObject *, FILE *, int);
                                                               ^
/home/bobo/nest-simulator-2.18.0-build/pynest/pynestkernel.cxx:28299:55: warning: ‘_typeobject::tp_print’ is deprecated [-Wdeprecated-declarations]
   __pyx_type_12pynestkernel___pyx_scope_struct_1_init.tp_print = 0;
                                                       ^~~~~~~~
In file included from /usr/local/include/python3.8/object.h:746,
                 from /usr/local/include/python3.8/pytime.h:6,
                 from /usr/local/include/python3.8/Python.h:85,
                 from /home/bobo/nest-simulator-2.18.0-build/pynest/pynestkernel.cxx:4:
/usr/local/include/python3.8/cpython/object.h:260:63: note: declared here
     Py_DEPRECATED(3.8) int (*tp_print)(PyObject *, FILE *, int);
                                                               ^
/home/bobo/nest-simulator-2.18.0-build/pynest/pynestkernel.cxx:28299:55: warning: ‘_typeobject::tp_print’ is deprecated [-Wdeprecated-declarations]
   __pyx_type_12pynestkernel___pyx_scope_struct_1_init.tp_print = 0;
                                                       ^~~~~~~~
In file included from /usr/local/include/python3.8/object.h:746,
                 from /usr/local/include/python3.8/pytime.h:6,
                 from /usr/local/include/python3.8/Python.h:85,
                 from /home/bobo/nest-simulator-2.18.0-build/pynest/pynestkernel.cxx:4:
/usr/local/include/python3.8/cpython/object.h:260:63: note: declared here
     Py_DEPRECATED(3.8) int (*tp_print)(PyObject *, FILE *, int);
                                                               ^
/home/bobo/nest-simulator-2.18.0-build/pynest/pynestkernel.cxx:28299:55: warning: ‘_typeobject::tp_print’ is deprecated [-Wdeprecated-declarations]
   __pyx_type_12pynestkernel___pyx_scope_struct_1_init.tp_print = 0;
                                                       ^~~~~~~~
In file included from /usr/local/include/python3.8/object.h:746,
                 from /usr/local/include/python3.8/pytime.h:6,
                 from /usr/local/include/python3.8/Python.h:85,
                 from /home/bobo/nest-simulator-2.18.0-build/pynest/pynestkernel.cxx:4:
/usr/local/include/python3.8/cpython/object.h:260:63: note: declared here
     Py_DEPRECATED(3.8) int (*tp_print)(PyObject *, FILE *, int);
                                                               ^
/home/bobo/nest-simulator-2.18.0-build/pynest/pynestkernel.cxx:28305:58: warning: ‘_typeobject::tp_print’ is deprecated [-Wdeprecated-declarations]
   __pyx_type_12pynestkernel___pyx_scope_struct_2_genexpr.tp_print = 0;
                                                          ^~~~~~~~
In file included from /usr/local/include/python3.8/object.h:746,
                 from /usr/local/include/python3.8/pytime.h:6,
                 from /usr/local/include/python3.8/Python.h:85,
                 from /home/bobo/nest-simulator-2.18.0-build/pynest/pynestkernel.cxx:4:
/usr/local/include/python3.8/cpython/object.h:260:63: note: declared here
     Py_DEPRECATED(3.8) int (*tp_print)(PyObject *, FILE *, int);
                                                               ^
/home/bobo/nest-simulator-2.18.0-build/pynest/pynestkernel.cxx:28305:58: warning: ‘_typeobject::tp_print’ is deprecated [-Wdeprecated-declarations]
   __pyx_type_12pynestkernel___pyx_scope_struct_2_genexpr.tp_print = 0;
                                                          ^~~~~~~~
In file included from /usr/local/include/python3.8/object.h:746,
                 from /usr/local/include/python3.8/pytime.h:6,
                 from /usr/local/include/python3.8/Python.h:85,
                 from /home/bobo/nest-simulator-2.18.0-build/pynest/pynestkernel.cxx:4:
/usr/local/include/python3.8/cpython/object.h:260:63: note: declared here
     Py_DEPRECATED(3.8) int (*tp_print)(PyObject *, FILE *, int);
                                                               ^
/home/bobo/nest-simulator-2.18.0-build/pynest/pynestkernel.cxx:28305:58: warning: ‘_typeobject::tp_print’ is deprecated [-Wdeprecated-declarations]
   __pyx_type_12pynestkernel___pyx_scope_struct_2_genexpr.tp_print = 0;
                                                          ^~~~~~~~
In file included from /usr/local/include/python3.8/object.h:746,
                 from /usr/local/include/python3.8/pytime.h:6,
                 from /usr/local/include/python3.8/Python.h:85,
                 from /home/bobo/nest-simulator-2.18.0-build/pynest/pynestkernel.cxx:4:
/usr/local/include/python3.8/cpython/object.h:260:63: note: declared here
     Py_DEPRECATED(3.8) int (*tp_print)(PyObject *, FILE *, int);
                                                               ^
/home/bobo/nest-simulator-2.18.0-build/pynest/pynestkernel.cxx:28313:26: warning: ‘_typeobject::tp_print’ is deprecated [-Wdeprecated-declarations]
   __pyx_type___pyx_array.tp_print = 0;
                          ^~~~~~~~
In file included from /usr/local/include/python3.8/object.h:746,
                 from /usr/local/include/python3.8/pytime.h:6,
                 from /usr/local/include/python3.8/Python.h:85,
                 from /home/bobo/nest-simulator-2.18.0-build/pynest/pynestkernel.cxx:4:
/usr/local/include/python3.8/cpython/object.h:260:63: note: declared here
     Py_DEPRECATED(3.8) int (*tp_print)(PyObject *, FILE *, int);
                                                               ^
/home/bobo/nest-simulator-2.18.0-build/pynest/pynestkernel.cxx:28313:26: warning: ‘_typeobject::tp_print’ is deprecated [-Wdeprecated-declarations]
   __pyx_type___pyx_array.tp_print = 0;
                          ^~~~~~~~
In file included from /usr/local/include/python3.8/object.h:746,
                 from /usr/local/include/python3.8/pytime.h:6,
                 from /usr/local/include/python3.8/Python.h:85,
                 from /home/bobo/nest-simulator-2.18.0-build/pynest/pynestkernel.cxx:4:
/usr/local/include/python3.8/cpython/object.h:260:63: note: declared here
     Py_DEPRECATED(3.8) int (*tp_print)(PyObject *, FILE *, int);
                                                               ^
/home/bobo/nest-simulator-2.18.0-build/pynest/pynestkernel.cxx:28313:26: warning: ‘_typeobject::tp_print’ is deprecated [-Wdeprecated-declarations]
   __pyx_type___pyx_array.tp_print = 0;
                          ^~~~~~~~
In file included from /usr/local/include/python3.8/object.h:746,
                 from /usr/local/include/python3.8/pytime.h:6,
                 from /usr/local/include/python3.8/Python.h:85,
                 from /home/bobo/nest-simulator-2.18.0-build/pynest/pynestkernel.cxx:4:
/usr/local/include/python3.8/cpython/object.h:260:63: note: declared here
     Py_DEPRECATED(3.8) int (*tp_print)(PyObject *, FILE *, int);
                                                               ^
/home/bobo/nest-simulator-2.18.0-build/pynest/pynestkernel.cxx:28318:32: warning: ‘_typeobject::tp_print’ is deprecated [-Wdeprecated-declarations]
   __pyx_type___pyx_MemviewEnum.tp_print = 0;
                                ^~~~~~~~
In file included from /usr/local/include/python3.8/object.h:746,
                 from /usr/local/include/python3.8/pytime.h:6,
                 from /usr/local/include/python3.8/Python.h:85,
                 from /home/bobo/nest-simulator-2.18.0-build/pynest/pynestkernel.cxx:4:
/usr/local/include/python3.8/cpython/object.h:260:63: note: declared here
     Py_DEPRECATED(3.8) int (*tp_print)(PyObject *, FILE *, int);
                                                               ^
/home/bobo/nest-simulator-2.18.0-build/pynest/pynestkernel.cxx:28318:32: warning: ‘_typeobject::tp_print’ is deprecated [-Wdeprecated-declarations]
   __pyx_type___pyx_MemviewEnum.tp_print = 0;
                                ^~~~~~~~
In file included from /usr/local/include/python3.8/object.h:746,
                 from /usr/local/include/python3.8/pytime.h:6,
                 from /usr/local/include/python3.8/Python.h:85,
                 from /home/bobo/nest-simulator-2.18.0-build/pynest/pynestkernel.cxx:4:
/usr/local/include/python3.8/cpython/object.h:260:63: note: declared here
     Py_DEPRECATED(3.8) int (*tp_print)(PyObject *, FILE *, int);
                                                               ^
/home/bobo/nest-simulator-2.18.0-build/pynest/pynestkernel.cxx:28318:32: warning: ‘_typeobject::tp_print’ is deprecated [-Wdeprecated-declarations]
   __pyx_type___pyx_MemviewEnum.tp_print = 0;
                                ^~~~~~~~
In file included from /usr/local/include/python3.8/object.h:746,
                 from /usr/local/include/python3.8/pytime.h:6,
                 from /usr/local/include/python3.8/Python.h:85,
                 from /home/bobo/nest-simulator-2.18.0-build/pynest/pynestkernel.cxx:4:
/usr/local/include/python3.8/cpython/object.h:260:63: note: declared here
     Py_DEPRECATED(3.8) int (*tp_print)(PyObject *, FILE *, int);
                                                               ^
/home/bobo/nest-simulator-2.18.0-build/pynest/pynestkernel.cxx:28333:31: warning: ‘_typeobject::tp_print’ is deprecated [-Wdeprecated-declarations]
   __pyx_type___pyx_memoryview.tp_print = 0;
                               ^~~~~~~~
In file included from /usr/local/include/python3.8/object.h:746,
                 from /usr/local/include/python3.8/pytime.h:6,
                 from /usr/local/include/python3.8/Python.h:85,
                 from /home/bobo/nest-simulator-2.18.0-build/pynest/pynestkernel.cxx:4:
/usr/local/include/python3.8/cpython/object.h:260:63: note: declared here
     Py_DEPRECATED(3.8) int (*tp_print)(PyObject *, FILE *, int);
                                                               ^
/home/bobo/nest-simulator-2.18.0-build/pynest/pynestkernel.cxx:28333:31: warning: ‘_typeobject::tp_print’ is deprecated [-Wdeprecated-declarations]
   __pyx_type___pyx_memoryview.tp_print = 0;
                               ^~~~~~~~
In file included from /usr/local/include/python3.8/object.h:746,
                 from /usr/local/include/python3.8/pytime.h:6,
                 from /usr/local/include/python3.8/Python.h:85,
                 from /home/bobo/nest-simulator-2.18.0-build/pynest/pynestkernel.cxx:4:
/usr/local/include/python3.8/cpython/object.h:260:63: note: declared here
     Py_DEPRECATED(3.8) int (*tp_print)(PyObject *, FILE *, int);
                                                               ^
/home/bobo/nest-simulator-2.18.0-build/pynest/pynestkernel.cxx:28333:31: warning: ‘_typeobject::tp_print’ is deprecated [-Wdeprecated-declarations]
   __pyx_type___pyx_memoryview.tp_print = 0;
                               ^~~~~~~~
In file included from /usr/local/include/python3.8/object.h:746,
                 from /usr/local/include/python3.8/pytime.h:6,
                 from /usr/local/include/python3.8/Python.h:85,
                 from /home/bobo/nest-simulator-2.18.0-build/pynest/pynestkernel.cxx:4:
/usr/local/include/python3.8/cpython/object.h:260:63: note: declared here
     Py_DEPRECATED(3.8) int (*tp_print)(PyObject *, FILE *, int);
                                                               ^
/home/bobo/nest-simulator-2.18.0-build/pynest/pynestkernel.cxx:28346:36: warning: ‘_typeobject::tp_print’ is deprecated [-Wdeprecated-declarations]
   __pyx_type___pyx_memoryviewslice.tp_print = 0;
                                    ^~~~~~~~
In file included from /usr/local/include/python3.8/object.h:746,
                 from /usr/local/include/python3.8/pytime.h:6,
                 from /usr/local/include/python3.8/Python.h:85,
                 from /home/bobo/nest-simulator-2.18.0-build/pynest/pynestkernel.cxx:4:
/usr/local/include/python3.8/cpython/object.h:260:63: note: declared here
     Py_DEPRECATED(3.8) int (*tp_print)(PyObject *, FILE *, int);
                                                               ^
/home/bobo/nest-simulator-2.18.0-build/pynest/pynestkernel.cxx:28346:36: warning: ‘_typeobject::tp_print’ is deprecated [-Wdeprecated-declarations]
   __pyx_type___pyx_memoryviewslice.tp_print = 0;
                                    ^~~~~~~~
In file included from /usr/local/include/python3.8/object.h:746,
                 from /usr/local/include/python3.8/pytime.h:6,
                 from /usr/local/include/python3.8/Python.h:85,
                 from /home/bobo/nest-simulator-2.18.0-build/pynest/pynestkernel.cxx:4:
/usr/local/include/python3.8/cpython/object.h:260:63: note: declared here
     Py_DEPRECATED(3.8) int (*tp_print)(PyObject *, FILE *, int);
                                                               ^
/home/bobo/nest-simulator-2.18.0-build/pynest/pynestkernel.cxx:28346:36: warning: ‘_typeobject::tp_print’ is deprecated [-Wdeprecated-declarations]
   __pyx_type___pyx_memoryviewslice.tp_print = 0;
                                    ^~~~~~~~
In file included from /usr/local/include/python3.8/object.h:746,
                 from /usr/local/include/python3.8/pytime.h:6,
                 from /usr/local/include/python3.8/Python.h:85,
                 from /home/bobo/nest-simulator-2.18.0-build/pynest/pynestkernel.cxx:4:
/usr/local/include/python3.8/cpython/object.h:260:63: note: declared here
     Py_DEPRECATED(3.8) int (*tp_print)(PyObject *, FILE *, int);
                                                               ^
[100%] Linking CXX shared module pynestkernel.so
/usr/bin/ld: /usr/local/lib/libpython3.8.a(abstract.o): relocation R_X86_64_PC32 against symbol `_Py_NotImplementedStruct' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: /usr/local/lib/libpython3.8.a(boolobject.o): relocation R_X86_64_PC32 against symbol `_Py_FalseStruct' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: /usr/local/lib/libpython3.8.a(bytearrayobject.o): relocation R_X86_64_PC32 against symbol `_Py_NoneStruct' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: /usr/local/lib/libpython3.8.a(bytesobject.o): relocation R_X86_64_PC32 against symbol `_Py_NoneStruct' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: /usr/local/lib/libpython3.8.a(call.o): relocation R_X86_64_PC32 against symbol `PyExc_SystemError' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: /usr/local/lib/libpython3.8.a(capsule.o): relocation R_X86_64_PC32 against symbol `PyCapsule_Type' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: /usr/local/lib/libpython3.8.a(classobject.o): relocation R_X86_64_PC32 against symbol `PyMethod_Type' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: /usr/local/lib/libpython3.8.a(codeobject.o): relocation R_X86_64_PC32 against symbol `PyUnicode_Type' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: /usr/local/lib/libpython3.8.a(complexobject.o): relocation R_X86_64_PC32 against symbol `PyExc_TypeError' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: /usr/local/lib/libpython3.8.a(descrobject.o): relocation R_X86_64_PC32 against symbol `PyExc_TypeError' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: /usr/local/lib/libpython3.8.a(exceptions.o): relocation R_X86_64_PC32 against symbol `_Py_NoneStruct' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: /usr/local/lib/libpython3.8.a(genobject.o): relocation R_X86_64_PC32 against symbol `_Py_NoneStruct' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: /usr/local/lib/libpython3.8.a(floatobject.o): relocation R_X86_64_PC32 against symbol `PyFloat_Type' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: /usr/local/lib/libpython3.8.a(frameobject.o): relocation R_X86_64_PC32 against symbol `_Py_NoneStruct' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: /usr/local/lib/libpython3.8.a(funcobject.o): relocation R_X86_64_PC32 against symbol `_Py_NoneStruct' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: /usr/local/lib/libpython3.8.a(iterobject.o): relocation R_X86_64_PC32 against symbol `_Py_NoneStruct' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: /usr/local/lib/libpython3.8.a(listobject.o): relocation R_X86_64_PC32 against symbol `_Py_NoneStruct' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: /usr/local/lib/libpython3.8.a(longobject.o): relocation R_X86_64_PC32 against symbol `_Py_NotImplementedStruct' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: /usr/local/lib/libpython3.8.a(dictobject.o): relocation R_X86_64_PC32 against symbol `PyUnicode_Type' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: /usr/local/lib/libpython3.8.a(memoryobject.o): relocation R_X86_64_PC32 against symbol `PyExc_BufferError' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: /usr/local/lib/libpython3.8.a(methodobject.o): relocation R_X86_64_PC32 against symbol `_Py_NoneStruct' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: /usr/local/lib/libpython3.8.a(moduleobject.o): relocation R_X86_64_PC32 against symbol `PyExc_ValueError' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: /usr/local/lib/libpython3.8.a(object.o): relocation R_X86_64_PC32 against symbol `_Py_NoneStruct' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: /usr/local/lib/libpython3.8.a(obmalloc.o): relocation R_X86_64_PC32 against symbol `stderr@@GLIBC_2.2.5' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: /usr/local/lib/libpython3.8.a(picklebufobject.o): relocation R_X86_64_PC32 against symbol `_Py_NoneStruct' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: /usr/local/lib/libpython3.8.a(rangeobject.o): relocation R_X86_64_PC32 against symbol `_PyLong_Zero' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: /usr/local/lib/libpython3.8.a(setobject.o): relocation R_X86_64_PC32 against symbol `PyExc_RuntimeError' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: /usr/local/lib/libpython3.8.a(sliceobject.o): relocation R_X86_64_PC32 against symbol `_Py_EllipsisObject' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: /usr/local/lib/libpython3.8.a(structseq.o): relocation R_X86_64_PC32 against symbol `PyExc_SystemError' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: /usr/local/lib/libpython3.8.a(tupleobject.o): relocation R_X86_64_PC32 against symbol `PyExc_ValueError' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: /usr/local/lib/libpython3.8.a(typeobject.o): relocation R_X86_64_PC32 against symbol `PyBaseObject_Type' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: /usr/local/lib/libpython3.8.a(unicodeobject.o): relocation R_X86_64_PC32 against symbol `PyExc_ValueError' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: /usr/local/lib/libpython3.8.a(unicodectype.o): relocation R_X86_64_PC32 against symbol `_PyUnicode_TypeRecords' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: /usr/local/lib/libpython3.8.a(weakrefobject.o): relocation R_X86_64_PC32 against symbol `_PyWeakref_RefType' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: /usr/local/lib/libpython3.8.a(_warnings.o): relocation R_X86_64_PC32 against symbol `_PyRuntime' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: /usr/local/lib/libpython3.8.a(ceval.o): relocation R_X86_64_PC32 against symbol `PyDict_Type' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: /usr/local/lib/libpython3.8.a(codecs.o): relocation R_X86_64_PC32 against symbol `PyExc_UnicodeEncodeError' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: /usr/local/lib/libpython3.8.a(compile.o): relocation R_X86_64_PC32 against symbol `_Py_EllipsisObject' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: /usr/local/lib/libpython3.8.a(errors.o): relocation R_X86_64_PC32 against symbol `_Py_NoneStruct' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: /usr/local/lib/libpython3.8.a(future.o): relocation R_X86_64_PC32 against symbol `PyExc_SyntaxError' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: /usr/local/lib/libpython3.8.a(getargs.o): relocation R_X86_64_PC32 against symbol `_Py_NoneStruct' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: /usr/local/lib/libpython3.8.a(import.o): relocation R_X86_64_PC32 against symbol `_Py_NoneStruct' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: /usr/local/lib/libpython3.8.a(importdl.o): relocation R_X86_64_PC32 against symbol `_Py_NoneStruct' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: /usr/local/lib/libpython3.8.a(initconfig.o): relocation R_X86_64_PC32 against symbol `Py_IsolatedFlag' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: /usr/local/lib/libpython3.8.a(marshal.o): relocation R_X86_64_PC32 against symbol `PyExc_ValueError' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: /usr/local/lib/libpython3.8.a(modsupport.o): relocation R_X86_64_PC32 against symbol `PyExc_SystemError' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: /usr/local/lib/libpython3.8.a(pathconfig.o): relocation R_X86_64_PC32 against symbol `_Py_path_config' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: /usr/local/lib/libpython3.8.a(peephole.o): relocation R_X86_64_PC32 against symbol `PyExc_OverflowError' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: /usr/local/lib/libpython3.8.a(preconfig.o): relocation R_X86_64_PC32 against symbol `Py_HasFileSystemDefaultEncoding' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: /usr/local/lib/libpython3.8.a(pyhash.o): relocation R_X86_64_PC32 against symbol `_Py_HashSecret' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: /usr/local/lib/libpython3.8.a(pylifecycle.o): relocation R_X86_64_PC32 against symbol `_Py_NoneStruct' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: /usr/local/lib/libpython3.8.a(pystate.o): relocation R_X86_64_PC32 against symbol `_Py_NoneStruct' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: /usr/local/lib/libpython3.8.a(pythonrun.o): relocation R_X86_64_PC32 against symbol `stdout@@GLIBC_2.2.5' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: /usr/local/lib/libpython3.8.a(pytime.o): relocation R_X86_64_PC32 against symbol `PyExc_OverflowError' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: /usr/local/lib/libpython3.8.a(bootstrap_hash.o): relocation R_X86_64_PC32 against symbol `PyExc_RuntimeError' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: /usr/local/lib/libpython3.8.a(structmember.o): relocation R_X86_64_PC32 against symbol `_Py_NoneStruct' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: /usr/local/lib/libpython3.8.a(symtable.o): relocation R_X86_64_PC32 against symbol `PySTEntry_Type' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: /usr/local/lib/libpython3.8.a(sysmodule.o): relocation R_X86_64_PC32 against symbol `_Py_NoneStruct' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: /usr/local/lib/libpython3.8.a(thread.o): relocation R_X86_64_PC32 against symbol `_PyRuntime' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: /usr/local/lib/libpython3.8.a(traceback.o): relocation R_X86_64_PC32 against symbol `_Py_NoneStruct' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: /usr/local/lib/libpython3.8.a(getopt.o): relocation R_X86_64_PC32 against symbol `_PyOS_opterr' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: /usr/local/lib/libpython3.8.a(pystrtod.o): relocation R_X86_64_PC32 against symbol `_Py_ctype_tolower' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: /usr/local/lib/libpython3.8.a(pystrhex.o): relocation R_X86_64_PC32 against symbol `Py_hexdigits' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: /usr/local/lib/libpython3.8.a(formatter_unicode.o): relocation R_X86_64_PC32 against symbol `_Py_ctype_table' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: /usr/local/lib/libpython3.8.a(fileutils.o): relocation R_X86_64_PC32 against symbol `PyExc_OSError' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: /usr/local/lib/libpython3.8.a(getpath.o): relocation R_X86_64_PC32 against symbol `stderr@@GLIBC_2.2.5' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: /usr/local/lib/libpython3.8.a(gcmodule.o): relocation R_X86_64_PC32 against symbol `_Py_NoneStruct' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: /usr/local/lib/libpython3.8.a(posixmodule.o): relocation R_X86_64_PC32 against symbol `_Py_NoneStruct' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: /usr/local/lib/libpython3.8.a(pwdmodule.o): relocation R_X86_64_PC32 against symbol `_Py_NoneStruct' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: /usr/local/lib/libpython3.8.a(_sre.o): relocation R_X86_64_PC32 against symbol `_Py_NoneStruct' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: /usr/local/lib/libpython3.8.a(_codecsmodule.o): relocation R_X86_64_PC32 against symbol `_Py_NoneStruct' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: /usr/local/lib/libpython3.8.a(_weakref.o): relocation R_X86_64_PC32 against symbol `_Py_NoneStruct' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: /usr/local/lib/libpython3.8.a(_functoolsmodule.o): relocation R_X86_64_PC32 against symbol `PyUnicode_Type' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: /usr/local/lib/libpython3.8.a(_operator.o): relocation R_X86_64_PC32 against symbol `PyExc_TypeError' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: /usr/local/lib/libpython3.8.a(_collectionsmodule.o): relocation R_X86_64_PC32 against symbol `_Py_NoneStruct' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: /usr/local/lib/libpython3.8.a(_abc.o): relocation R_X86_64_PC32 against symbol `_Py_NoneStruct' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: /usr/local/lib/libpython3.8.a(itertoolsmodule.o): relocation R_X86_64_PC32 against symbol `_Py_NoneStruct' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: /usr/local/lib/libpython3.8.a(atexitmodule.o): relocation R_X86_64_PC32 against symbol `PyExc_TypeError' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: /usr/local/lib/libpython3.8.a(signalmodule.o): relocation R_X86_64_PC32 against symbol `_PyRuntime' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: /usr/local/lib/libpython3.8.a(_stat.o): relocation R_X86_64_PC32 against symbol `PyExc_OverflowError' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: /usr/local/lib/libpython3.8.a(timemodule.o): relocation R_X86_64_PC32 against symbol `_Py_NoneStruct' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: /usr/local/lib/libpython3.8.a(_threadmodule.o): relocation R_X86_64_PC32 against symbol `PyExc_SystemExit' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: /usr/local/lib/libpython3.8.a(_localemodule.o): relocation R_X86_64_PC32 against symbol `PyExc_ValueError' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: /usr/local/lib/libpython3.8.a(_iomodule.o): relocation R_X86_64_PC32 against symbol `PyFloat_Type' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: /usr/local/lib/libpython3.8.a(iobase.o): relocation R_X86_64_PC32 against symbol `_Py_FalseStruct' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: /usr/local/lib/libpython3.8.a(fileio.o): relocation R_X86_64_PC32 against symbol `PyExc_ValueError' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: /usr/local/lib/libpython3.8.a(bytesio.o): relocation R_X86_64_PC32 against symbol `_PyBytesIOBuffer_Type' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: /usr/local/lib/libpython3.8.a(bufferedio.o): relocation R_X86_64_PC32 against symbol `PyExc_TypeError' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: /usr/local/lib/libpython3.8.a(textio.o): relocation R_X86_64_PC32 against symbol `_Py_NoneStruct' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: /usr/local/lib/libpython3.8.a(stringio.o): relocation R_X86_64_PC32 against symbol `PyExc_ValueError' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: /usr/local/lib/libpython3.8.a(faulthandler.o): relocation R_X86_64_PC32 against symbol `_Py_NoneStruct' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: /usr/local/lib/libpython3.8.a(_tracemalloc.o): relocation R_X86_64_PC32 against symbol `_Py_tracemalloc_config' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: /usr/local/lib/libpython3.8.a(symtablemodule.o): relocation R_X86_64_PC32 against symbol `PyExc_ValueError' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: /usr/local/lib/libpython3.8.a(xxsubtype.o): relocation R_X86_64_PC32 against symbol `PyList_Type' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: /usr/local/lib/libpython3.8.a(acceler.o): relocation R_X86_64_PC32 against symbol `stderr@@GLIBC_2.2.5' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: /usr/local/lib/libpython3.8.a(grammar1.o): relocation R_X86_64_PC32 against symbol `_PyParser_TokenNames' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: /usr/local/lib/libpython3.8.a(parsetok.o): relocation R_X86_64_PC32 against symbol `_Py_NoneStruct' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: /usr/local/lib/libpython3.8.a(tokenizer.o): relocation R_X86_64_PC32 against symbol `PyExc_SyntaxError' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: /usr/local/lib/libpython3.8.a(bytes_methods.o): relocation R_X86_64_PC32 against symbol `_Py_NoneStruct' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: /usr/local/lib/libpython3.8.a(cellobject.o): relocation R_X86_64_PC32 against symbol `PyExc_ValueError' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: /usr/local/lib/libpython3.8.a(enumobject.o): relocation R_X86_64_PC32 against symbol `_Py_NoneStruct' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: /usr/local/lib/libpython3.8.a(fileobject.o): relocation R_X86_64_PC32 against symbol `_Py_NoneStruct' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: /usr/local/lib/libpython3.8.a(interpreteridobject.o): relocation R_X86_64_PC32 against symbol `_PyInterpreterID_Type' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: /usr/local/lib/libpython3.8.a(odictobject.o): relocation R_X86_64_PC32 against symbol `PyExc_ValueError' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: /usr/local/lib/libpython3.8.a(namespaceobject.o): relocation R_X86_64_PC32 against symbol `_PyNamespace_Type' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: /usr/local/lib/libpython3.8.a(Python-ast.o): relocation R_X86_64_PC32 against symbol `PyExc_SystemError' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: /usr/local/lib/libpython3.8.a(ast.o): relocation R_X86_64_PC32 against symbol `_Py_NoneStruct' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: /usr/local/lib/libpython3.8.a(ast_opt.o): relocation R_X86_64_PC32 against symbol `PyFrozenSet_Type' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: /usr/local/lib/libpython3.8.a(ast_unparse.o): relocation R_X86_64_PC32 against symbol `PyExc_SystemError' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: /usr/local/lib/libpython3.8.a(bltinmodule.o): relocation R_X86_64_PC32 against symbol `PyFilter_Type' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: /usr/local/lib/libpython3.8.a(context.o): relocation R_X86_64_PC32 against symbol `_Py_NoneStruct' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: /usr/local/lib/libpython3.8.a(hamt.o): relocation R_X86_64_PC32 against symbol `_PyHamt_ArrayNode_Type' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: /usr/local/lib/libpython3.8.a(mystrtoul.o): relocation R_X86_64_PC32 against symbol `_Py_ctype_table' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: /usr/local/lib/libpython3.8.a(parser.o): relocation R_X86_64_PC32 against symbol `stderr@@GLIBC_2.2.5' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: /usr/local/lib/libpython3.8.a(myreadline.o): relocation R_X86_64_PC32 against symbol `PyOS_InputHook' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: final link failed: nonrepresentable section on output
collect2: error: ld returned 1 exit status
make[2]: *** [pynest/CMakeFiles/pynestkernel.dir/build.make:101: pynest/pynestkernel.so] Error 1
make[1]: *** [CMakeFiles/Makefile2:1126: pynest/CMakeFiles/pynestkernel.dir/all] Error 2
make: *** [Makefile:141: all] Error 2
@steffengraber
Copy link
Contributor

Hi @Boboz8i
This seems to be a problem with cython.
I run into the same problems.
That's what I did.

sudo apt-get install python3.8 python3.8-dev


cmake -DCMAKE_INSTALL_PREFIX:PATH=$BUILDPATH/install-nest \ 
          -DPYTHON_EXECUTABLE=/usr/bin/python3.8 \
	  -DPYTHON_LIBRARY=/usr/lib/x86_64-linux-gnu/libpython3.8m.so \
	  -DPYTHON_INCLUDE_DIR=/usr/include/python3.8 \
	  $NESTPATH

I'm going to investigate this a little more.

@steffengraber
Copy link
Contributor

Now, I have created and installed the latest cython version from the sources and tested everthing with NEST master.
make now runs without any prolems, but make installcheck still produces some errors.
An import of NEST is still not possible.
That's what I did:

git clone https://github.com/cython/cython.git
cd cython 
sudo python3.8 setup.py install

Now cython version 3.0a0 is installed.

Additionally, I noticed that my path to -DPYTHON_LIBRARY was not correct. So my cmake statement now looks like this:

cmake -DCMAKE_INSTALL_PREFIX:PATH=$BUILDPATH/build-nest \
        -DPYTHON_EXECUTABLE=/usr/bin/python3.8 \
	-DPYTHON_LIBRARY=/usr/lib/x86_64-linux-gnu/libpython3.8.so \
	-DPYTHON_INCLUDE_DIR=/usr/include/python3.8 \
	$NESTPATH

@Boboz8
Copy link
Author

Boboz8 commented Nov 15, 2019

Thank you for the reply @steffengraber , I had to reinstall ubuntu because i wasn't able to completely unistall python 3.8 and make a downgrade, now i'm stuck with the ubuntu default python 3.6 and it's working fine.

@steffengraber
Copy link
Contributor

Meanwhile there is a cython conda package which is compatible with python3.8.

conda create --name cython-py38 -c conda-forge cython python=3.8
cond activate cython-py38

Then just change the paths for the cmake command.

There is then a small bug with the python NEST module.
https://bugs.python.org/issue35894
I will provide a PR for this in the near future.

@stinebuu
Copy link
Contributor

Fixed with #1340.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants