| Can't exec "aclocal": No such file or directory at /usr/share/autoconf/Autom4te/FileUtils.pm line 326.
| autoreconf: failed to run aclocal: No such file or directory
Seriously…
解决: 重新更新autoconf
输入:sudo aptitude install autoconf
fixing error: undefined macro: AC_PROG_LIBTOOL
May 17th, 2007 by Lawrence David
configure.in:14: error: possibly undefined macro: AC_PROG_LIBTOOL
If this token and others are legitimate, please use m4_pattern_allow.
See the Autoconf documentation.
autoreconf: /usr/bin/autoconf failed with exit status: 1
i made this error go away by install “libtool:”
$ sudo apt-get install libtool
can't cd to /home/chenxinjie/Study/spice
解决,原因是默认设置将其放在
安装qcairo 出现的问题:
checking for cairo's PNG functions feature...
configure: WARNING: Could not find libpng in the pkg-config search path
checking whether cairo's PNG functions feature could be enabled... no
configure: error: recommended PNG functions feature could not be enabled
解决方式:apt-get install libpng12
接着发现又出现错误
checking whether cairo's image surface backend feature could be enabled... no (requires pixman-1 >= 0.12.0 http://cairographics.org/releases/)configure: error: mandatory image surface backend feature could not be enabled
*** Error code 1
去http://cairographics.org/releases
下载了一个大于0.12的版本。发现还是不行.
接着发现原来他是找不到我们第一步安装的pqixman的文档,我之前把pqixman安装在了/usr/lib 中,应该安装在/usr/lib64中,与参数--libdir=/usr/lib64.
因为我们进行安装是根据pkgconfig指定的路径找到的qpixman文档所在的位置
如果没有安装好的话,就自己设置路径到所在的地址就好:
用下面的命令 export PKG_CONFIG_PATH= "pqixman“安装所在的地址(默认是/usr/local/lib/pkgconfig)
接着运行:
No comments:
Post a Comment