|
发表于 2005-1-18 15:39:49
|
显示全部楼层
我的安装全过程,
出现了一些问题
不过./configure的时候没有提示错误,
make&&make install 也没有错误,
但是最后发现用不了
全过程如下
下面是./configure的输出,
抱歉我的终端不知道怎么复制,只好重定向到一个文件再弄出来
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 whether to enable maintainer-specific portions of Makefiles... no
checking for a BSD-compatible install... /usr/bin/install -c
checking for python... /usr/bin/python
checking for version... 2.3
checking for platform... linux2
checking for gconftool-2... /usr/bin/gconftool-2
checking for scrollkeeper-config... /usr/bin/scrollkeeper-config
checking for intltool >= 0.21... 0.30 found
checking for perl... /usr/bin/perl
Using config source xml::/etc/gconf/gconf.xml.defaults for schema installation
Using $(sysconfdir)/gconf/schemas/ as install directory for schema files
checking for style of include used by make... GNU
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 ANSI C... none needed
checking dependency style of gcc... none
checking how to run the C preprocessor... gcc -E
checking for egrep... grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking locale.h usability... yes
checking locale.h presence... yes
checking for locale.h... yes
checking for LC_MESSAGES... yes
checking libintl.h usability... yes
checking libintl.h presence... yes
checking for libintl.h... yes
checking for ngettext in libc... yes
checking for dgettext in libc... yes
checking for bind_textdomain_codeset... yes
checking for msgfmt... /usr/bin/msgfmt
checking for dcgettext... yes
checking for gmsgfmt... /usr/bin/msgfmt
checking for xgettext... /usr/bin/xgettext
checking for catalogs to be installed... pt_BR it de_DE tr_TR zh_CN
checking for update-mime-database... /usr/local/bin/update-mime-database
configure: creating ./config.status
config.status: creating Makefile
config.status: creating gnochm.lsm
config.status: creating gnochm.py
config.status: creating gnochm.spec
config.status: creating pixmaps/Makefile
config.status: creating glade/Makefile
config.status: creating po/Makefile.in
config.status: creating help/Makefile
config.status: creating help/C/Makefile
config.status: creating data/Makefile
config.status: executing default-1 commands
config.status: executing depfiles commands
config.status: executing default-2 commands
下面是make&&make install的输出
Making install in pixmaps
make[1]: Entering directory `/root/soft/temp/gnochm-0.9.3/pixmaps'
make[2]: Entering directory `/root/soft/temp/gnochm-0.9.3/pixmaps'
make[2]: Nothing to be done for `install-exec-am'.
test -z "/usr/local/share/pixmaps" || mkdir -p -- . "/usr/local/share/pixmaps"
/usr/bin/install -c -m 644 'chmfile.png' '/usr/local/share/pixmaps/chmfile.png'
/usr/bin/install -c -m 644 'gnochm.png' '/usr/local/share/pixmaps/gnochm.png'
/usr/bin/install -c -m 644 'gnochm_logo.png' '/usr/local/share/pixmaps/gnochm_logo.png'
make[2]: Leaving directory `/root/soft/temp/gnochm-0.9.3/pixmaps'
make[1]: Leaving directory `/root/soft/temp/gnochm-0.9.3/pixmaps'
Making install in glade
make[1]: Entering directory `/root/soft/temp/gnochm-0.9.3/glade'
make[2]: Entering directory `/root/soft/temp/gnochm-0.9.3/glade'
make[2]: Nothing to be done for `install-exec-am'.
test -z "/usr/local/share/gnochm/glade" || mkdir -p -- . "/usr/local/share/gnochm/glade"
/usr/bin/install -c -m 644 'gnochm.glade' '/usr/local/share/gnochm/glade/gnochm.glade'
/usr/bin/install -c -m 644 'prefdialog.glade' '/usr/local/share/gnochm/glade/prefdialog.glade'
make[2]: Leaving directory `/root/soft/temp/gnochm-0.9.3/glade'
make[1]: Leaving directory `/root/soft/temp/gnochm-0.9.3/glade'
Making install in po
make[1]: Entering directory `/root/soft/temp/gnochm-0.9.3/po'
if test -r ".././mkinstalldirs"; then \
.././mkinstalldirs /usr/local/share; \
else \
/bin/sh ../mkinstalldirs /usr/local/share; \
fi
installing pt_BR.gmo as /usr/local/share/locale/pt_BR/LC_MESSAGES/gnochm.mo
installing it.gmo as /usr/local/share/locale/it/LC_MESSAGES/gnochm.mo
installing de_DE.gmo as /usr/local/share/locale/de_DE/LC_MESSAGES/gnochm.mo
installing tr_TR.gmo as /usr/local/share/locale/tr_TR/LC_MESSAGES/gnochm.mo
installing zh_CN.gmo as /usr/local/share/locale/zh_CN/LC_MESSAGES/gnochm.mo
if test "gnochm" = "glib"; then \
if test -r ".././mkinstalldirs"; then \
.././mkinstalldirs /usr/local/share/glib-2.0/gettext/po; \
else \
/bin/sh ../mkinstalldirs /usr/local/share/glib-2.0/gettext/po; \
fi; \
/usr/bin/install -c -m 644 ./Makefile.in.in \
/usr/local/share/glib-2.0/gettext/po/Makefile.in.in; \
else \
: ; \
fi
make[1]: Leaving directory `/root/soft/temp/gnochm-0.9.3/po'
Making install in help
make[1]: Entering directory `/root/soft/temp/gnochm-0.9.3/help'
Making install in C
make[2]: Entering directory `/root/soft/temp/gnochm-0.9.3/help/C'
make[3]: Entering directory `/root/soft/temp/gnochm-0.9.3/help/C'
make[3]: Nothing to be done for `install-exec-am'.
/bin/sh ../../mkinstalldirs /usr/local/share/gnome/help/gnochm/C
mkdir -p -- /usr/local/share/gnome/help/gnochm/C
for file in legal.xml gnochm.xml; do \
cp ./$file /usr/local/share/gnome/help/gnochm/C; \
done
if test ""; then \
/bin/sh ../../mkinstalldirs /usr/local/share/gnome/help/gnochm/C/; \
for file in .//*.png; do \
basefile=`echo $file | sed -e 's,^.*/,,'`; \
/usr/bin/install -c -m 644 $file /usr/local/share/gnome/help/gnochm/C//$basefile; \
done \
fi
make install-data-hook
make[4]: Entering directory `/root/soft/temp/gnochm-0.9.3/help/C'
/bin/sh ../../mkinstalldirs /usr/local/share/omf/gnochm
mkdir -p -- /usr/local/share/omf/gnochm
for file in gnochm-C.omf; do \
/usr/bin/install -c -m 644 $file.out /usr/local/share/omf/gnochm/$file; \
done
scrollkeeper-update -p /usr/local/var/scrollkeeper -o /usr/local/share/omf/gnochm
make[4]: Leaving directory `/root/soft/temp/gnochm-0.9.3/help/C'
make[3]: Leaving directory `/root/soft/temp/gnochm-0.9.3/help/C'
make[2]: Leaving directory `/root/soft/temp/gnochm-0.9.3/help/C'
make[2]: Entering directory `/root/soft/temp/gnochm-0.9.3/help'
make[3]: Entering directory `/root/soft/temp/gnochm-0.9.3/help'
make[3]: Nothing to be done for `install-exec-am'.
make[3]: Nothing to be done for `install-data-am'.
make[3]: Leaving directory `/root/soft/temp/gnochm-0.9.3/help'
make[2]: Leaving directory `/root/soft/temp/gnochm-0.9.3/help'
make[1]: Leaving directory `/root/soft/temp/gnochm-0.9.3/help'
Making install in data
make[1]: Entering directory `/root/soft/temp/gnochm-0.9.3/data'
make[2]: Entering directory `/root/soft/temp/gnochm-0.9.3/data'
make[2]: Nothing to be done for `install-exec-am'.
test -z "/usr/local/share/application-registry" || mkdir -p -- . "/usr/local/share/application-registry"
/usr/bin/install -c -m 644 'gnochm.applications' '/usr/local/share/application-registry/gnochm.applications'
if test -z "" ; then \
for p in gnochm.schemas ; do \
GCONF_CONFIG_SOURCE=xml::/etc/gconf/gconf.xml.defaults /usr/bin/gconftool-2 --makefile-install-rule ./$p ; \
done \
fi
地址“xml::/etc/gconf/gconf.xml.defaults”解析为位于 0 的可写入配置源
将 schema “/schemas/apps/gnochm/preferences/save_path” 关联到键“/apps/gnochm/preferences/save_path”上
安装 schema “/schemas/apps/gnochm/preferences/save_path”,区域设置“C”
安装 schema “/schemas/apps/gnochm/preferences/save_path”,区域设置“it”
安装 schema “/schemas/apps/gnochm/preferences/save_path”,区域设置“pt_BR”
将 schema “/schemas/apps/gnochm/preferences/use_lcid” 关联到键“/apps/gnochm/preferences/use_lcid”上
安装 schema “/schemas/apps/gnochm/preferences/use_lcid”,区域设置“C”
安装 schema “/schemas/apps/gnochm/preferences/use_lcid”,区域设置“it”
安装 schema “/schemas/apps/gnochm/preferences/use_lcid”,区域设置“pt_BR”
将 schema “/schemas/apps/gnochm/preferences/recent_size” 关联到键“/apps/gnochm/preferences/recent_size”上
安装 schema “/schemas/apps/gnochm/preferences/recent_size”,区域设置“C”
安装 schema “/schemas/apps/gnochm/preferences/recent_size”,区域设置“it”
安装 schema “/schemas/apps/gnochm/preferences/recent_size”,区域设置“pt_BR”
将 schema “/schemas/apps/gnochm/preferences/search_previous” 关联到键“/apps/gnochm/preferences/search_previous”上
安装 schema “/schemas/apps/gnochm/preferences/search_previous”,区域设置“C”
安装 schema “/schemas/apps/gnochm/preferences/search_previous”,区域设置“it”
安装 schema “/schemas/apps/gnochm/preferences/search_previous”,区域设置“pt_BR”
将 schema “/schemas/apps/gnochm/preferences/titles_only” 关联到键“/apps/gnochm/preferences/titles_only”上
安装 schema “/schemas/apps/gnochm/preferences/titles_only”,区域设置“C”
安装 schema “/schemas/apps/gnochm/preferences/titles_only”,区域设置“it”
安装 schema “/schemas/apps/gnochm/preferences/titles_only”,区域设置“pt_BR”
将 schema “/schemas/apps/gnochm/preferences/whole_words” 关联到键“/apps/gnochm/preferences/whole_words”上
安装 schema “/schemas/apps/gnochm/preferences/whole_words”,区域设置“C”
安装 schema “/schemas/apps/gnochm/preferences/whole_words”,区域设置“it”
安装 schema “/schemas/apps/gnochm/preferences/whole_words”,区域设置“pt_BR”
将 schema “/schemas/apps/gnochm/preferences/toolbar_enable” 关联到键“/apps/gnochm/preferences/toolbar_enable”上
安装 schema “/schemas/apps/gnochm/preferences/toolbar_enable”,区域设置“C”
安装 schema “/schemas/apps/gnochm/preferences/toolbar_enable”,区域设置“it”
安装 schema “/schemas/apps/gnochm/preferences/toolbar_enable”,区域设置“pt_BR”
将 schema “/schemas/apps/gnochm/preferences/toolbar_tooltips” 关联到键“/apps/gnochm/preferences/toolbar_tooltips”上
安装 schema “/schemas/apps/gnochm/preferences/toolbar_tooltips”,区域设置“C”
安装 schema “/schemas/apps/gnochm/preferences/toolbar_tooltips”,区域设置“it”
安装 schema “/schemas/apps/gnochm/preferences/toolbar_tooltips”,区域设置“pt_BR”
将 schema “/schemas/apps/gnochm/preferences/tree_views” 关联到键“/apps/gnochm/preferences/index_tree”上
将 schema “/schemas/apps/gnochm/preferences/tree_views” 关联到键“/apps/gnochm/preferences/contents_tree”上
安装 schema “/schemas/apps/gnochm/preferences/tree_views”,区域设置“C”
安装 schema “/schemas/apps/gnochm/preferences/tree_views”,区域设置“it”
安装 schema “/schemas/apps/gnochm/preferences/tree_views”,区域设置“pt_BR”
将 schema “/schemas/apps/gnochm/preferences/html_bg_color” 关联到键“/apps/gnochm/preferences/html_bg_color”上
安装 schema “/schemas/apps/gnochm/preferences/html_bg_color”,区域设置“C”
安装 schema “/schemas/apps/gnochm/preferences/html_bg_color”,区域设置“it”
安装 schema “/schemas/apps/gnochm/preferences/html_bg_color”,区域设置“pt_BR”
将 schema “/schemas/apps/gnochm/preferences/chm_search_path” 关联到键“/apps/gnochm/preferences/chm_search_path”上
安装 schema “/schemas/apps/gnochm/preferences/chm_search_path”,区域设置“C”
安装 schema “/schemas/apps/gnochm/preferences/chm_search_path”,区域设置“it”
安装 schema “/schemas/apps/gnochm/preferences/chm_search_path”,区域设置“pt_BR”
将 schema “/schemas/apps/gnochm/preferences/http_support” 关联到键“/apps/gnochm/preferences/http_support”上
安装 schema “/schemas/apps/gnochm/preferences/http_support”,区域设置“C”
安装 schema “/schemas/apps/gnochm/preferences/http_support”,区域设置“it”
安装 schema “/schemas/apps/gnochm/preferences/http_support”,区域设置“pt_BR”
将 schema “/schemas/apps/gnochm/preferences/new_browser_window” 关联到键“/apps/gnochm/preferences/new_browser_window”上
安装 schema “/schemas/apps/gnochm/preferences/new_browser_window”,区域设置“C”
安装 schema “/schemas/apps/gnochm/preferences/new_browser_window”,区域设置“it”
安装 schema “/schemas/apps/gnochm/preferences/new_browser_window”,区域设置“pt_BR”
将 schema “/schemas/apps/gnochm/preferences/auto_raise_window” 关联到键“/apps/gnochm/preferences/auto_raise_window”上
安装 schema “/schemas/apps/gnochm/preferences/auto_raise_window”,区域设置“C”
安装 schema “/schemas/apps/gnochm/preferences/auto_raise_window”,区域设置“it”
安装 schema “/schemas/apps/gnochm/preferences/auto_raise_window”,区域设置“pt_BR”
test -z "/usr/local/share/applications" || mkdir -p -- . "/usr/local/share/applications"
/usr/bin/install -c -m 644 'gnochm.desktop' '/usr/local/share/applications/gnochm.desktop'
test -z "/usr/local/share/mime-info" || mkdir -p -- . "/usr/local/share/mime-info"
/usr/bin/install -c -m 644 'gnochm.keys' '/usr/local/share/mime-info/gnochm.keys'
test -z "/usr/local/man/man1" || mkdir -p -- . "/usr/local/man/man1"
/usr/bin/install -c -m 644 './gnochm.1' '/usr/local/man/man1/gnochm.1'
test -z "/usr/local/share/mime-info" || mkdir -p -- . "/usr/local/share/mime-info"
/usr/bin/install -c -m 644 'gnochm.mime' '/usr/local/share/mime-info/gnochm.mime'
test -z "/usr/local/etc/gconf/schemas" || mkdir -p -- . "/usr/local/etc/gconf/schemas"
/usr/bin/install -c -m 644 'gnochm.schemas' '/usr/local/etc/gconf/schemas/gnochm.schemas'
test -z "/usr/local/share/mime/packages" || mkdir -p -- . "/usr/local/share/mime/packages"
/usr/bin/install -c -m 644 'gnochm.xml' '/usr/local/share/mime/packages/gnochm.xml'
make install-data-hook
make[3]: Entering directory `/root/soft/temp/gnochm-0.9.3/data'
if test "/usr/local/bin/update-mime-database" != "no"; then \
/usr/local/bin/update-mime-database /usr/local/share/mime; \
fi
***
* Updating MIME database in /usr/local/share/mime...
***
make[3]: Leaving directory `/root/soft/temp/gnochm-0.9.3/data'
make[2]: Leaving directory `/root/soft/temp/gnochm-0.9.3/data'
make[1]: Leaving directory `/root/soft/temp/gnochm-0.9.3/data'
make[1]: Entering directory `/root/soft/temp/gnochm-0.9.3'
make[2]: Entering directory `/root/soft/temp/gnochm-0.9.3'
test -z "/usr/local/bin" || mkdir -p -- . "/usr/local/bin"
/usr/bin/install -c 'gnochm' '/usr/local/bin/gnochm'
make[2]: Nothing to be done for `install-data-am'.
make[2]: Leaving directory `/root/soft/temp/gnochm-0.9.3'
make[1]: Leaving directory `/root/soft/temp/gnochm-0.9.3'
一切都没有提示错误,
在我看一个文件的时候提示
You do not have all of the required Python modules to run gnochm.
Check the gnochm README file for tips on how to fix this.
What follows is the error description highlighting the problematic module.
No module named chm
我想问问就是,这个为什么不在./configure的时候提示呢?
:p
我装的是在sourceforge下载的0.93版的
我的 dpkg -l |grep chm
的输出如下
ii chmlib 0.35-5 library for dealing with Microsoft CHM forma
ii chmsee 0.8.0-1.1 A chm file viewer, support Chinese
ii xchm 0.9.6-1 Compiled HTML Help (CHM) file viewer for X |
|