gentoo 安装chmsee 的过程

 emerge -av layman

 

layman -f -a gentoo-china

 

cd /usr/local/portage/layman/gentoo-china/app-text/chmsee

(man ebuild )

ebuild  chmsee-1.0.7.ebuild fetch

ebuild chmsee-1.0.7.ebuild install

 

此时提示出错 说cmake command not found

 

 

then

emerge -av cmake

ebuild chmsee-1.0.7.ebuild install

 

又出错

 

then

emerge -av  dev-libs/chmlib

ebuild chmsee-1.0.7.ebuild install

 

又出错

错误竟然又变成cmake command not found

明明已经安装了cmake

从网上找

好像说手动make make install 可以

于是tar -zxf /usr/portage/distfiles/chmsee-1.0.7.tar.gz -C /tmp

cd /tmp/chmsee-1.0.7

./configure

出错

vi README

发现

Compile ChmSee from source you need following packages: * cmake >= 2.6 * libgtk2.0-dev >= 2.8 * libglade2-dev >= 2.4 * xulrunner-dev >= 1.9 < 1.9.1 * libchm-dev * libgcrypt-dev Installation ============ $ cd chmsee-$VERSION $ cmake . $ make $ make install Report bug


于时

cmake .

make

make install

 

 

ok

 

 

 

你可能感兴趣的:(gentoo 安装chmsee 的过程)