{chmsee编译出错}checking for GECKO... no

10 views
Skip to first unread message

Anders Ma

unread,
Dec 16, 2008, 1:35:51 AM12/16/08
to 深圳 Linux Unix 用户组
昨晚在家里的Ubuntu上编译chmsee,版本应该是1.2.3,有些记不清楚了.

$./configure 出现如下错误.
checking for GECKO... no
*** You must have either the Mozilla, Firefox, Seamonkey or XulRunner
*** development libraries installed in order to build ChmSee!

我用ap-get把Mozilla, Firefox, Seamonkey和XulRunner的dev安装包都装上了,结果还是找不到. :(
按理讲我安装XulRunner的dev包就应该可以了,毕竟是EITHER OR....

--
Anders

LI Daobing (李道兵)

unread,
Dec 16, 2008, 2:02:54 AM12/16/08
to sz...@googlegroups.com
2008/12/16 Anders Ma <Xueji...@gmail.com>:
./configure --with-gecko=libxul

--
Best Regards,
LI Daobing

LI Daobing (李道兵)

unread,
Dec 16, 2008, 2:16:48 AM12/16/08
to sz...@googlegroups.com
2008/12/16 LI Daobing (李道兵) <lida...@gmail.com>:
forwarded to http://code.google.com/p/chmsee/issues/detail?id=2

Anders Ma

unread,
Dec 16, 2008, 2:33:27 AM12/16/08
to 深圳 Linux Unix 用户组
>
> ./configure --with-gecko=libxul
>

Thank for your quick reply, I'll try it this evening.

--
Anders

Anders Ma

unread,
Dec 16, 2008, 7:46:28 AM12/16/08
to 深圳 Linux Unix 用户组
>
> ./configure --with-gecko=libxul
>
anders@anders-desktop:~/development/chmsee-1.0.2$ ./configure --with-
gecko=libxul
checking whether to enable maintainer-specific portions of
Makefiles... no
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking target system type... i686-pc-linux-gnu
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... ^[ yes
checking for gawk... no
checking for mawk... mawk
checking whether make sets $(MAKE)... yes
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking dependency style of g++... gcc3
checking for library containing strerror... none required
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for ANSI C header files... yes
checking for a BSD-compatible install... /usr/bin/install -c
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.16... yes
checking for GLIB - version >= 2.0.0... yes (version 2.18.0)
checking for pkg-config... /usr/bin/pkg-config
checking for GTK+ - version >= 2.0.0... yes (version 2.12.9)
checking for GLADE... yes
checking for GECKO... no
configure: error:
*** You must have either the Mozilla, Firefox, Seamonkey or XulRunner
*** development libraries installed in order to build ChmSee!


anders@anders-desktop:~/development/chmsee-1.0.2$ dpkg -l | grep
libxul
ii libxul-common
1.8.1.13+nobinonly-0ubuntu1 Gecko engine library - common files
ii libxul-dev
1.8.1.13+nobinonly-0ubuntu1 Development files for the Gecko
engine libra
ii libxul0d
1.8.1.13+nobinonly-0ubuntu1 Gecko engine library

依然没有解决!
--
Anders

Anders Ma

unread,
Dec 16, 2008, 8:21:02 AM12/16/08
to 深圳 Linux Unix 用户组
安装 xulrunner-1.9-dev 后用 ./configure --with-gecko=libxul 解决了此问题!

--
Anders

Reply all
Reply to author
Forward
0 new messages