Почему cygwin не может найти библиотеки python при установке библиотеки привязки redland? - PullRequest
0 голосов
/ 15 февраля 2011

Я попытался установить последние версии библиотеки Redland под Cygwin:

raptor2-2.0.0
rasqal-0.9.24
redland-1.0.13
redland-bindings-1.0.13.1

Меня интересуют привязки Python.Я успешно установил raptor, rasqal и redland. Я попытался установить привязки и получил кучу неопределенных ссылок на объекты python ":

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'

Я думаю, что есть проблема с cygwin и python.Есть ли у вас какие-либо рекомендации?

...