Форум сайта python.su
А вообще возможно прикрутить pyodbc на Python 2.4.4 на Gentoo ?
У меня ругается
sh: svnversion: command not found
WARNING: Building from a non-Subversion directory or cannot run svnversion. Usi
ng version 0.0.0
running install
running bdist_egg
running egg_info
writing pyodbc.egg-info/PKG-INFO
writing top-level names to pyodbc.egg-info/top_level.txt
writing dependency_links to pyodbc.egg-info/dependency_links.txt
reading manifest file 'pyodbc.egg-info/SOURCES.txt'
writing manifest file 'pyodbc.egg-info/SOURCES.txt'
installing library code to build/bdist.linux-i686/egg
running install_lib
running build_ext
building 'pyodbc' extension
i686-pc-linux-gnu-gcc -pthread -fno-strict-aliasing -DNDEBUG -fPIC -DPYODBC_REVI
SION=0 -I/usr/include/python2.4 -c pyodbcmodule.cpp -o build/temp.linux-i686-2.4
/pyodbcmodule.o
wrapper.h: In function 'void init_locale_info()':
wrapper.h:10: error: 'Object::Object(const Object&)' is private
pyodbcmodule.cpp:348: error: within this context
wrapper.h:10: error: 'Object::Object(const Object&)' is private
pyodbcmodule.cpp:348: error: within this context
pyodbcmodule.cpp:348: error: initializing temporary from result of 'Object::Ob
ject(PyObject*)'
wrapper.h:10: error: 'Object::Object(const Object&)' is private
pyodbcmodule.cpp:355: error: within this context
wrapper.h:10: error: 'Object::Object(const Object&)' is private
pyodbcmodule.cpp:355: error: within this context
pyodbcmodule.cpp:355: error: initializing temporary from result of 'Object::Ob
ject(PyObject*)'
wrapper.h:10: error: 'Object::Object(const Object&)' is private
pyodbcmodule.cpp:362: error: within this context
wrapper.h:10: error: 'Object::Object(const Object&)' is private
pyodbcmodule.cpp:362: error: within this context
pyodbcmodule.cpp:362: error: initializing temporary from result of 'Object::Ob
ject(PyObject*)'
error: command 'i686-pc-linux-gnu-gcc' failed with exit status 1
Офлайн
У меня подобная проблема, только при переустановке модуля pyodbc на Debian, использование make не помогает, выходит та же ошибка. Кто знает, помогите пожалуйста разобраться.
Офлайн