我正在尝试构建最新版本的valide (0.7.1)
我已经在我的机器(Ubuntu 10.0.4 LTS)上成功构建了 VALA(v 0.17.0)。当我跑
./waf configure
在 valide src 目录中,我得到以下输出:
Checking for program gcc or cc : /usr/bin/gcc
Checking for program cpp : /usr/bin/cpp
Checking for program ar : /usr/bin/ar
Checking for program ranlib : /usr/bin/ranlib
Checking for gcc : ok
Checking for program valac : /usr/local/bin/valac
Checking for gobject-2.0 : yes
Checking for gthread-2.0 : yes
Checking for program version valac >= 0.1.6 : ok 0.17.0
Checking for program msgfmt : /usr/bin/msgfmt
Checking for program intltool-merge : /usr/bin/intltool-merge
Checking for header locale.h : yes
Checking for program valadoc : not found
Checking for glib-2.0 >= 2.18.0 : yes
Checking for gio-2.0 >= 2.18.0 : yes
Checking for gobject-2.0 >= 2.18.0 : yes
Checking for gmodule-2.0 >= 2.18.0 : yes
Checking for gtk+-2.0 >= 2.18.0 : yes
Checking for libxml-2.0 >= 2.5.0 : yes
Checking for gtksourceview-2.0 >= 2.10.0 : yes
Checking for libvala-0.12 >= 0.12.0 : Package libvala-0.12 was not found in the pkg-config search path.
Perhaps you should add the directory containing `libvala-0.12.pc'
to the PKG_CONFIG_PATH environment variable
No package 'libvala-0.12' found
/path/to/valide-0.7.1/wscript:53: error: the configuration failed (see '/path/to/valide-0.7.1/_build_/config.log')
我在我的系统上检查了相关的 .pc 文件
me@yourbox:~/path/to/valide-0.7.1$ find ../vala/ -name 'libvala*.pc' -type f
../vala/vala-0.17.0/libvala-0.18.pc
../vala/vala-0.17.0/libvala.pc
然后我按如下方式导出了相关的 ENV VAR:
export PKG_CONFIG_PATH=/path/to/vala/vala-0.17.0
然后我运行./waf configure
。令我沮丧的是,我得到了与之前发布的完全相同的输出。
在 Ubuntu 10.0.4 LTS 上构建验证需要解决什么问题?