星期二 2008年12月30日
风..竹... (Feng ZHU ?)
view chm file using gnochm under OpenSolaris
I used to compile gnochm for opensolaris but it's boring, finally I get a working gnochm but cannot support Chinese. Now we can use SFE spec to compile it.
first of all, install JDS CBE and pkgbuild.
Then get spec files.
$svn co https://pkgbuild.svn.sourceforge.net/svnroot/pkgbuild/spec-files-extra/trunk SFE
Notice: CBE's svn is broking, just remove it or backup it as svn.broken.
Then we can go to SFE dir and use:
$. /opt/jdsbuild/bin/env.sh
$pkgtool build --download --autodeps SFEgnochm.spec

Posted at 02:05下午 十二月 30, 2008 by Drake Zhu in OpenSolaris | 评论[1]

Boy, I can't complie the gnochm in 0906. the msgs in /tmp/SFEgnochm.log :
......
pkgbuild: Remember to add `AC_PROG_LIBTOOL' to `configure.in'.
pkgbuild: You should update your `aclocal.m4' by running aclocal.
pkgbuild: + automake -a -f
pkgbuild: + autoconf -f
pkgbuild: configure.in:24: error: possibly undefined macro: AC_PROG_INTLTOOL
pkgbuild: If this token and others are legitimate, please use m4_pattern_allow.
pkgbuild: See the Autoconf documentation.
pkgbuild: Bad exit status from /var/tmp/pkgbuild-edwin/pkgbuild-tmp-2.1576 (%build)
--- command output ends --- finished at Sun Dec 6 14:11:59 CST 2009
The indicated content in configure.in of gnochm : AC_PROG_INTLTOOL([0.21])
I installed CSWintltool-0.40.5 from http://blastwave.network.com/csw in pkgutil yet!
Are you see this issue? Any sugguestion?
BTW: I have install gnochm from source directly.
发表于 Edwin 在 2009年12月06日, 02:40 下午 CST #