为什么cygwin在安装python redland绑定库时找不到python库?

为什么cygwin在安装python redland绑定库时找不到python库?,python,cygwin,redland,Python,Cygwin,Redland,我尝试在cygwin下安装最新版本的redland library: raptor2-2.0.0 rasqal-0.9.24 redland-1.0.13 redland-bindings-1.0.13.1 我对python绑定感兴趣。 我成功地安装了raptor、rasqal和redland。我尝试安装绑定,但得到了一堆未定义的python对象引用: 我猜cygwin和python有问题。你有什么建议吗?你真的为cygwin安装了python包吗?我在编译命令行中没有看到python包含或p

我尝试在cygwin下安装最新版本的redland library:

raptor2-2.0.0
rasqal-0.9.24
redland-1.0.13
redland-bindings-1.0.13.1
我对python绑定感兴趣。 我成功地安装了raptor、rasqal和redland。我尝试安装绑定,但得到了一堆未定义的python对象引用:


我猜cygwin和python有问题。你有什么建议吗?

你真的为
cygwin
安装了
python
包吗?我在编译命令行中没有看到python包含或python库。我忘了添加python包含文件和库的路径。我想是redlan的makefiled-bindings会注意到这一点。他说这是编译器错误
home@home-PC ~/redland-bindings-1.0.13.1/python
$ make install
Making install in test
make[1]: Entering directory `/home/home/redland-bindings-1.0.13.1/python/test'
make[2]: Entering directory `/home/home/redland-bindings-1.0.13.1/python/test'
make[2]: Nothing to be done for `install-exec-am'.
make[2]: Nothing to be done for `install-data-am'.
make[2]: Leaving directory `/home/home/redland-bindings-1.0.13.1/python/test'
make[1]: Leaving directory `/home/home/redland-bindings-1.0.13.1/python/test'
make[1]: Entering directory `/home/home/redland-bindings-1.0.13.1/python'
gcc -Wall -Wshadow -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wredundant-decls -g   -I/usr/local/include -I/usr
/local/include/raptor2 -I/usr/local/include/rasqal   -I/usr/local/include/rasqal -I/usr/local/include/raptor2    -DSWIG_PYTHON_SILENT
_MEMLEAK -Wall -Wshadow -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wredundant-decls -g  Redland_wrap.so -shared
 -L/usr/local/lib -lrdf -lrasqal -lraptor2 -lxml2 -lz -liconv -lm   -L/usr/local/lib -lrasqal -lraptor2 -lxml2 -lz -liconv -lm     -o
 Redland.so
Redland_wrap.so: In function `SWIG_Python_ErrorType':
/home/home/redland-bindings-1.0.13.1/python/./Redland_wrap.c:919: undefined reference to `__imp__PyExc_RuntimeError'
/home/home/redland-bindings-1.0.13.1/python/./Redland_wrap.c:889: undefined reference to `__imp__PyExc_IOError'
/home/home/redland-bindings-1.0.13.1/python/./Redland_wrap.c:886: undefined reference to `__imp__PyExc_MemoryError'
/home/home/redland-bindings-1.0.13.1/python/./Redland_wrap.c:916: undefined reference to `__imp__PyExc_AttributeError'
/home/home/redland-bindings-1.0.13.1/python/./Redland_wrap.c:913: undefined reference to `__imp__PyExc_SystemError'
/home/home/redland-bindings-1.0.13.1/python/./Redland_wrap.c:910: undefined reference to `__imp__PyExc_ValueError'
/home/home/redland-bindings-1.0.13.1/python/./Redland_wrap.c:907: undefined reference to `__imp__PyExc_SyntaxError'
/home/home/redland-bindings-1.0.13.1/python/./Redland_wrap.c:904: undefined reference to `__imp__PyExc_OverflowError'
/home/home/redland-bindings-1.0.13.1/python/./Redland_wrap.c:901: undefined reference to `__imp__PyExc_ZeroDivisionError'
/home/home/redland-bindings-1.0.13.1/python/./Redland_wrap.c:898: undefined reference to `__imp__PyExc_TypeError'
/home/home/redland-bindings-1.0.13.1/python/./Redland_wrap.c:895: undefined reference to `__imp__PyExc_IndexError'