【发布时间】:2011-01-18 12:47:29
【问题描述】:
我正在尝试使用 cygwin 将 rasqal 0.9.20 库 http://librdf.org/rasqal/ 安装到 Windows 7 机器上。之前我已经成功安装了 raptor-2.2.0 库 http://librdf.org/raptor/,我可以使用创建的 rapper 工具验证这一点安装后(./configure、./make、/make install)
我从 rasqal 的配置中得到的错误是:
./configure --enable-raptor2
...
checking for raptor... configure: error: Raptor2 is not installed - see http://librdf.org/raptor/ to get a version newer than 1.9.0
我找不到修复它的方法。 cofigure 文件中处理此标志的代码如下:
11840 # raptor is REQUIRED despite the checking here
11841 RAPTOR_MIN_VERSION=1.4.19
11842 RAPTOR_MAX_VERSION=1.8.99
11843 RAPTOR2_MIN_VERSION=1.9.0
11844
11845 raptor2=no
11846 # Check whether --enable-raptor2 was given.
11847 if test "${enable_raptor2+set}" = set; then :
11848 enableval=$enable_raptor2; raptor2="$enableval"
11849 else
11850 raptor2="no"
11851 fi
【问题讨论】:
-
我发现了这个错误。我复制了 /usr/lib/pkgconfig 下的 raptor.pc 文件,它工作了
-
这不是一个好主意。使用 configure --prefix=/usr 将东西安装在正确的位置。阅读 INSTALL.html 文档了解更多信息。
标签: configuration cygwin redland raptor2