我正在尝试将rasqal 0.9.20库http://librdf.org/rasqal/安装到装有cygwin.Earlier的Windows7计算机上。我已经成功地安装了raptor-2.2.0库http://librdf.org/raptor/,我可以用rapper工具验证这是在安装后创建的(./configure,./http://librdf.org/rasqal/,/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发布于 2011-01-21 19:05:18
raptor-config 2.0.0仅使用pkg-config提供配置信息,Raptor已被删除。这同样适用于rasqal本身,rasqal-config程序将在某个时候消失。rasqal和librdf的--enable-raptor2选项是为了测试测试版raptor2,它已经从rasqal 0.9.22和librdf GIT head中删除了。
发布于 2014-01-29 20:43:56
设置PKG_CONFIG_PATH以包含正确的路径:
env PKG_CONFIG_PATH=/usr/local/lib/pkgconfig ./configure另一种方法是在/etc/ environment中定义环境变量:
PKG_CONFIG_PATH=/usr/local/lib/pkgconfighttps://stackoverflow.com/questions/4724211
复制相似问题