我一直在跟踪这些
instructions
用于使用postgres、apache、nginx和memcache设置Django生产服务器。我的问题是我无法安装egenix mx base,没有它,我无法让psycopg2工作,因此无法访问数据库:(。
我正在一个运行Ubuntu Hardy(8.04)的干净安装的VPS上尝试这一点,并且已经遵循了站点上的所有说明。
错误消息如下:
$ easy_install egenix-mx-base
Searching for egenix-mx-base
Reading http://pypi.python.org/simple/egenix-mx-base/
Reading http://www.egenix.com/products/python/mxBase/
Reading http://www.lemburg.com/python/mxExtensions.html
Reading http://www.egenix.com/
Best match: egenix-mx-base 3.1.3
Downloading http://downloads.egenix.com/python/egenix-mx-base-3.1.3.tar.gz
Processing egenix-mx-base-3.1.3.tar.gz
Running egenix-mx-base-3.1.3/setup.py -q bdist_egg --dist-dir /tmp/easy_install-iF7qzl/egenix-mx-base-3.1.3/egg-dist-tmp-laxvcS
Warning: Can't read registry to find the necessary compiler setting
Make sure that Python modules _winreg, win32api or win32con are installed.
In file included from mx/TextTools/mxTextTools/mxte.c:42:
mx/TextTools/mxTextTools/mxte_impl.h: In function âmxTextTools_TaggingEngineâ:
mx/TextTools/mxTextTools/mxte_impl.h:345: warning: pointer targets in initialization differ in signedness
mx/TextTools/mxTextTools/mxte_impl.h:364: warning: pointer targets in initialization differ in signedness
mx/URL/mxURL/mxURL.c: In function âmxURL_SetFromStringâ:
mx/URL/mxURL/mxURL.c:676: warning: pointer targets in initialization differ in signedness
mx/UID/mxUID/mxUID.c: In function âmxUID_Verifyâ:
mx/UID/mxUID/mxUID.c:333: warning: pointer targets in passing argument 1 of âsscanfâ differ in signedness
mx/UID/mxUID/mxUID.c: In function âmxUID_Newâ:
mx/UID/mxUID/mxUID.c:462: warning: pointer targets in passing argument 1 of âmxUID_CRC16â differ in signedness
error: Setup script exited with error: build/bdist.linux-x86_64-py2.5_ucs4/dumb/egenix_mx_base-3.1.3-py2.5.egg-info: Is a directory