为什么 rasqal 配置无法识别 cygwin 上已有的 raptor 库?
我正在尝试将 rasqal 0.9.20 库 http://librdf.org/rasqal/ 安装到 Windows 7 上带有 cygwin 的机器。之前我已经成功安装了 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
I am trying to install rasqal 0.9.20 library http://librdf.org/rasqal/ onto a windows 7 machine with cygwin.Earlier i have successfully installed the raptor-2.2.0 library http://librdf.org/raptor/ and i can verify this with the rapper tool was created after the installation(./configure , ./make ,/make install)
The error that i am getting from the configuration of rasqal is :
./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
I can't find a way to fix it. The code from the cofigure file that handles this flag is the below :
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
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
Raptor 2.0.0 仅使用
pkg-config
提供配置信息,raptor-config
已被删除。这同样适用于 rasqal 本身,rasqal-config
程序将在某个时候消失。 rasqal 和 librdf 的--enable-raptor2
选项用于测试 beta raptor2,它已从 rasqal 0.9.22 和 librdf GIT 头中删除。Raptor 2.0.0 uses only
pkg-config
to provide configuration information,raptor-config
was removed. The same applies to rasqal itself, therasqal-config
program will go away at some point. The--enable-raptor2
option to rasqal and librdf was for testing the beta raptor2, and it has been removed from rasqal 0.9.22 and librdf GIT head.设置 PKG_CONFIG_PATH 以包含正确的路径:
另一种方法(如果您的系统上可用)是在 /etc/environment 中定义环境变量:
Set PKG_CONFIG_PATH to include the correct path:
Another method, if available on your system, is to define the environment variable in /etc/environment: