I have a problem to install MySQL-python 1.2.0 on a QNX 6.2 machine. I already installed MySQL 4.1.10a as Python 2.2.1.
While building I have two error messages.
running build_ext building '_mysql' extension cc -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -OPT:O limit=0 -fPIC -shared -I/usr/include -I/usr/local/include -I/usr/local/mysq l/include -I/usr/local/include/python2.2 -I/usr/include/python2.2 -c _mysql.c -o build/temp.qnx-6.2.1-x86pc-2.2/_mysql.o pthread_cond_signal: No such file or directory
qcc -shared build/temp.qnx-6.2.1-x86pc-2.2/_mysql.o -L/usr/local/mysql/lib -L/usr/lib -L/usr/local/lib -lz -lmysqlclient_r -o build/lib.qnx-6.2.1-x86pc-2.2/_mysql.so pthread_cond_signal: No such file or directory
Then if I try to import the module I have the following :
>>> import _mysql segmentation violation (core dumped)
Do you have any idea on that problem, or do you know if there are qpr packages for QNX 6.2 ?
Regards.
Denis
MySQLdb-1.2.0 may not work properly with Python-2.2, although I think the only deficiency is the lack of the datetime classes. I've been recommending 2.3 or newer.
You could try 1.0.1 and see if it produces the same error.
I found this page with Google:
http://www.qnx.com/developers/docs/qnx_6.1_docs/neutrino/lib_ref/p/pthread_cond_signal.html
pthread_cond_signal is supposed to be part of your libc, according to that page.
Log in to post a comment.
I have a problem to install MySQL-python 1.2.0 on a QNX 6.2 machine.
I already installed MySQL 4.1.10a as Python 2.2.1.
While building I have two error messages.
running build_ext
building '_mysql' extension
cc -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -OPT:O limit=0 -fPIC -shared -I/usr/include -I/usr/local/include -I/usr/local/mysq
l/include -I/usr/local/include/python2.2 -I/usr/include/python2.2 -c _mysql.c -o build/temp.qnx-6.2.1-x86pc-2.2/_mysql.o
pthread_cond_signal: No such file or directory
qcc -shared build/temp.qnx-6.2.1-x86pc-2.2/_mysql.o -L/usr/local/mysql/lib -L/usr/lib -L/usr/local/lib -lz -lmysqlclient_r -o
build/lib.qnx-6.2.1-x86pc-2.2/_mysql.so
pthread_cond_signal: No such file or directory
Then if I try to import the module I have the following :
python
>>> import _mysql
segmentation violation (core dumped)
Do you have any idea on that problem, or do you know if there are qpr packages for QNX 6.2 ?
Regards.
Denis
MySQLdb-1.2.0 may not work properly with Python-2.2, although I think the only deficiency is the lack of the datetime classes. I've been recommending 2.3 or newer.
You could try 1.0.1 and see if it produces the same error.
I found this page with Google:
http://www.qnx.com/developers/docs/qnx_6.1_docs/neutrino/lib_ref/p/pthread_cond_signal.html
pthread_cond_signal is supposed to be part of your libc, according to that page.