- 论坛徽章:
- 0
|
if I modify threadsafe =False ,the error is :
"root@TNC1 # python site.cfg build
File "site.cfg", line 18
mysql_root: /usr/local/mysql-standard-5.0.19-solaris8-sparc-64bit
^
SyntaxError: invalid syntax
root@TNC1 # more site.cfg
# Options:
#
# embedded: link against the embedded server library
# threadsafe: use the threadsafe client
# static: link against a static library (probably required for embedded)
[options]
embedded = False
threadsafe = False
static = False
# Use the compiler section to add additional options for the extension build.
# In particular, if your platform does not support mysql_config (like
# Windows), you will have to set most of these. Note that each entry is split
# into a list so that each line is one item.
[compiler]
mysql_root: /usr/local/mysql-standard-5.0.19-solaris8-sparc-64bit
library_dirs: /usr/local/mysql-standard-5.0.19-solaris8-sparc-64bit/lib
include_dirs: /usr/local/mysql-standard-5.0.19-solaris8-sparc-64bit/include
libraries: mysqlclient
# zlib" |
|