Hi all
I tried to compile 1.2.2b1 and b2 with gcc-4.0 (ubuntu pkg 4.0.3-1ubuntu5) and both had errors. Is there any recommended version or some reports about working versions?
here are the trackbacks
1.2.2b1:
python setup.py build
_mysql.c:2810: error: 'Py_eval_input' undeclared (first use in this function)
_mysql.c:2817: error: syntax error before ')' token
_mysql.c:2817: error: invalid operands to binary &
_mysql.c:2821: error: syntax error before ')' token
_mysql.c:2821: error: invalid operands to binary &
_mysql.c:2824: warning: implicit declaration of function 'PyImport_ImportModule'
_mysql.c:2861: warning: assignment makes pointer from integer without a cast
_mysql.c:2865: warning: implicit declaration of function 'PyErr_Occurred'
_mysql.c:2866: error: 'PyExc_ImportError' undeclared (first use in this function)
_mysql.c:2868: warning: 'return' with no value, in function returning non-void
error: command 'gcc' failed with exit status 1
1.2.2b2
python setup.py build
_mysql.c:2819: error: 'Py_eval_input' undeclared (first use in this function)
_mysql.c:2826: error: syntax error before ')' token
_mysql.c:2826: error: invalid operands to binary &
_mysql.c:2830: error: syntax error before ')' token
_mysql.c:2830: error: invalid operands to binary &
_mysql.c:2833: warning: implicit declaration of function 'PyImport_ImportModule'
_mysql.c:2870: warning: assignment makes pointer from integer without a cast
_mysql.c:2874: warning: implicit declaration of function 'PyErr_Occurred'
_mysql.c:2875: error: 'PyExc_ImportError' undeclared (first use in this function)
_mysql.c:2877: warning: 'return' with no value, in function returning non-void
error: command 'gcc' failed with exit status 1
both the same? dont know
anyway... what do i miss?
thx
Florian
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi all
I tried to compile 1.2.2b1 and b2 with gcc-4.0 (ubuntu pkg 4.0.3-1ubuntu5) and both had errors. Is there any recommended version or some reports about working versions?
here are the trackbacks
1.2.2b1:
python setup.py build
_mysql.c:2810: error: 'Py_eval_input' undeclared (first use in this function)
_mysql.c:2817: error: syntax error before ')' token
_mysql.c:2817: error: invalid operands to binary &
_mysql.c:2821: error: syntax error before ')' token
_mysql.c:2821: error: invalid operands to binary &
_mysql.c:2824: warning: implicit declaration of function 'PyImport_ImportModule'
_mysql.c:2861: warning: assignment makes pointer from integer without a cast
_mysql.c:2865: warning: implicit declaration of function 'PyErr_Occurred'
_mysql.c:2866: error: 'PyExc_ImportError' undeclared (first use in this function)
_mysql.c:2868: warning: 'return' with no value, in function returning non-void
error: command 'gcc' failed with exit status 1
1.2.2b2
python setup.py build
_mysql.c:2819: error: 'Py_eval_input' undeclared (first use in this function)
_mysql.c:2826: error: syntax error before ')' token
_mysql.c:2826: error: invalid operands to binary &
_mysql.c:2830: error: syntax error before ')' token
_mysql.c:2830: error: invalid operands to binary &
_mysql.c:2833: warning: implicit declaration of function 'PyImport_ImportModule'
_mysql.c:2870: warning: assignment makes pointer from integer without a cast
_mysql.c:2874: warning: implicit declaration of function 'PyErr_Occurred'
_mysql.c:2875: error: 'PyExc_ImportError' undeclared (first use in this function)
_mysql.c:2877: warning: 'return' with no value, in function returning non-void
error: command 'gcc' failed with exit status 1
both the same? dont know
anyway... what do i miss?
thx
Florian
you got it.
THX!
florian
You must be missing some important development packages. README has a complete list but I'll guess you are missing python-dev.