0

我正在尝试使用 cygwin 将 rasqal 0.9.20 库http://librdf.org/rasqal/安装到 Windows 7 机器上。之前我已经成功安装了 raptor-2.2.0 库http://librdf.org/raptor/我可以使用安装后创建的说唱歌手工具来验证这一点(./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
4

2 回答 2

0

设置 PKG_CONFIG_PATH 以包含正确的路径:

env PKG_CONFIG_PATH=/usr/local/lib/pkgconfig ./configure

另一种方法(如果在您的系统上可用)是在 /etc/environment 中定义环境变量:

PKG_CONFIG_PATH=/usr/local/lib/pkgconfig
于 2014-01-29T12:43:56.283 回答
0

Raptor 2.0.0 仅pkg-config用于提供配置信息,raptor-config已被删除。这同样适用于 rasqal 本身,该rasqal-config程序将在某个时候消失。rasqal 和 librdf的--enable-raptor2选项用于测试 beta raptor2,它已从 rasqal 0.9.22 和 librdf GIT 头中删除。

于 2011-01-21T11:05:17.720 回答