在 ubuntu上面 安装 chmsee-1.0.0 ,出错,恳请 高人相助 !

系统安装、升级讨论
版面规则
我们都知道新人的确很菜,也喜欢抱怨,并且带有浓厚的Windows习惯,但既然在这里询问,我们就应该有责任帮助他们解决问题,而不是直接泼冷水、简单的否定或发表对解决问题没有任何帮助的帖子。乐于分享,以人为本,这正是Ubuntu的精神所在。
回复
vegy
帖子: 5
注册时间: 2007-09-28 17:14

在 ubuntu上面 安装 chmsee-1.0.0 ,出错,恳请 高人相助 !

#1

帖子 vegy » 2007-09-28 17:19

具体 代码如下, 我 已经在网上搜索 答案 几个小时了,就是找不到真正 原因!有人也得到过类似答案,但是尝试了,不适合 我这种错误 !希望 得到 帮助,谢谢 !
guajunjie@ubuntu:~$ cd chmsee-1.0.0/
guajunjie@ubuntu:~/chmsee-1.0.0$ ./configure
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 a thread-safe mkdir -p... /bin/mkdir -p
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++... no
checking for c++... no
checking for gpp... no
checking for aCC... no
checking for CC... no
checking for cxx... no
checking for cc++... no
checking for cl.exe... no
checking for FCC... no
checking for KCC... no
checking for RCC... no
checking for xlC_r... no
checking for xlC... no
checking whether we are using the GNU C++ compiler... no
checking whether g++ accepts -g... no
checking dependency style of g++... none
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 a sed that does not truncate output... /bin/sed
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for /usr/bin/ld option to reload object files... -r
checking for BSD-compatible nm... /usr/bin/nm -B
checking whether ln -s works... yes
checking how to recognise dependent libraries... pass_all
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 dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking for g77... no
checking for xlf... no
checking for f77... no
checking for frt... no
checking for pgf77... no
checking for cf77... no
checking for fort77... no
checking for fl32... no
checking for af77... no
checking for xlf90... no
checking for f90... no
checking for pgf90... no
checking for pghpf... no
checking for epcf90... no
checking for gfortran... no
checking for g95... no
checking for xlf95... no
checking for f95... no
checking for fort... no
checking for ifort... no
checking for ifc... no
checking for efc... no
checking for pgf95... no
checking for lf95... no
checking for ftn... no
checking whether we are using the GNU Fortran 77 compiler... no
checking whether accepts -g... no
checking the maximum length of command line arguments... 32768
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking for objdir... .libs
checking for ar... ar
checking for ranlib... ranlib
checking for strip... strip
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC
checking if gcc PIC flag -fPIC works... yes
checking if gcc static flag -static works... yes
checking if gcc supports -c -o file.o... yes
checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... cat: /etc/ld.so.conf.d/*.conf: No such file or directory
GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
configure: creating libtool
appending configuration tag "CXX" to libtool
appending configuration tag "F77" to libtool
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.7... yes
checking for GLIB - version >= 2.0.0... yes (version 2.12.11)
checking for pkg-config... /usr/bin/pkg-config
checking for GTK+ - version >= 2.0.0... yes (version 2.10.11)
checking for CHMSEE... yes
checking mozilla: ... checking for GECKO... no
checking firefox: ... checking for GECKO... yes
checking for CHMLIB... yes
checking for OpenSSL location... /usr
checking for RSAPublicEncrypt in -lrsaref... no
checking for BIO_new in -lcrypto... yes
checking for DSO_load in -ldl... yes
checking for SSL_library_init in -lssl... yes
checking for intltool >= 0.34... 0.35.5 found
checking for perl... /usr/bin/perl
checking for XML::Parser... ok
checking for iconv... /usr/bin/iconv
checking for msgfmt... msgfmt
checking for msgmerge... msgmerge
checking for xgettext... xgettext
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... no
checking for glib-genmarshal... /usr/bin/glib-genmarshal
configure: creating ./config.status
config.status: creating Makefile
config.status: creating src/Makefile
config.status: creating cs2w/Makefile
config.status: creating cs2w/template/Makefile
config.status: creating cs2w/template/cs2w_icons/Makefile
config.status: creating cs2w/template/stylesheet/Makefile
config.status: creating doc/Makefile
config.status: creating po/Makefile.in
config.status: creating config.h
config.status: config.h is unchanged
config.status: executing depfiles commands
config.status: executing intltool commands
config.status: executing default-1 commands
config.status: executing po/stamp-it commands

====================================================================
ChmSee build options:
====================================================================

Target i686-pc-linux-gnu
Enable debug no
Gecko version firefox

guajunjie@ubuntu:~/chmsee-1.0.0$ make
make all-recursive
make[1]: Entering directory `/home/guajunjie/chmsee-1.0.0'
Making all in cs2w
make[2]: Entering directory `/home/guajunjie/chmsee-1.0.0/cs2w'
Making all in template
make[3]: Entering directory `/home/guajunjie/chmsee-1.0.0/cs2w/template'
Making all in cs2w_icons
make[4]: Entering directory `/home/guajunjie/chmsee-1.0.0/cs2w/template/cs2w_icons'
make[4]: Nothing to be done for `all'.
make[4]: Leaving directory `/home/guajunjie/chmsee-1.0.0/cs2w/template/cs2w_icons'
Making all in stylesheet
make[4]: Entering directory `/home/guajunjie/chmsee-1.0.0/cs2w/template/stylesheet'
make[4]: Nothing to be done for `all'.
make[4]: Leaving directory `/home/guajunjie/chmsee-1.0.0/cs2w/template/stylesheet'
make[4]: Entering directory `/home/guajunjie/chmsee-1.0.0/cs2w/template'
make[4]: Nothing to be done for `all-am'.
make[4]: Leaving directory `/home/guajunjie/chmsee-1.0.0/cs2w/template'
make[3]: Leaving directory `/home/guajunjie/chmsee-1.0.0/cs2w/template'
make[3]: Entering directory `/home/guajunjie/chmsee-1.0.0/cs2w'
make[3]: Nothing to be done for `all-am'.
make[3]: Leaving directory `/home/guajunjie/chmsee-1.0.0/cs2w'
make[2]: Leaving directory `/home/guajunjie/chmsee-1.0.0/cs2w'
Making all in doc
make[2]: Entering directory `/home/guajunjie/chmsee-1.0.0/doc'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/guajunjie/chmsee-1.0.0/doc'
Making all in po
make[2]: Entering directory `/home/guajunjie/chmsee-1.0.0/po'
file=`echo zh_CN | sed 's,.*/,,'`.gmo \
&& rm -f $file && -o $file zh_CN.po
/bin/sh: -o: not found
make[2]: *** [zh_CN.gmo] 错误 127
make[2]: Leaving directory `/home/guajunjie/chmsee-1.0.0/po'
make[1]: *** [all-recursive] 错误 1
make[1]: Leaving directory `/home/guajunjie/chmsee-1.0.0'
make: *** [all] 错误 2
guajunjie@ubuntu:~/chmsee-1.0.0$ /configure --prefix=/opt/chmsee
bash: /configure: No such file or directory
guajunjie@ubuntu:~/chmsee-1.0.0$ /configure
bash: /configure: No such file or directory
guajunjie@ubuntu:~/chmsee-1.0.0$ ./configure --prefix=/opt/chmsee
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 a thread-safe mkdir -p... /bin/mkdir -p
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++... no
checking for c++... no
checking for gpp... no
checking for aCC... no
checking for CC... no
checking for cxx... no
checking for cc++... no
checking for cl.exe... no
checking for FCC... no
checking for KCC... no
checking for RCC... no
checking for xlC_r... no
checking for xlC... no
checking whether we are using the GNU C++ compiler... no
checking whether g++ accepts -g... no
checking dependency style of g++... none
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 a sed that does not truncate output... /bin/sed
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for /usr/bin/ld option to reload object files... -r
checking for BSD-compatible nm... /usr/bin/nm -B
checking whether ln -s works... yes
checking how to recognise dependent libraries... pass_all
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 dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking for g77... no
checking for xlf... no
checking for f77... no
checking for frt... no
checking for pgf77... no
checking for cf77... no
checking for fort77... no
checking for fl32... no
checking for af77... no
checking for xlf90... no
checking for f90... no
checking for pgf90... no
checking for pghpf... no
checking for epcf90... no
checking for gfortran... no
checking for g95... no
checking for xlf95... no
checking for f95... no
checking for fort... no
checking for ifort... no
checking for ifc... no
checking for efc... no
checking for pgf95... no
checking for lf95... no
checking for ftn... no
checking whether we are using the GNU Fortran 77 compiler... no
checking whether accepts -g... no
checking the maximum length of command line arguments... 32768
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking for objdir... .libs
checking for ar... ar
checking for ranlib... ranlib
checking for strip... strip
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC
checking if gcc PIC flag -fPIC works... yes
checking if gcc static flag -static works... yes
checking if gcc supports -c -o file.o... yes
checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... cat: /etc/ld.so.conf.d/*.conf: No such file or directory
GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
configure: creating libtool
appending configuration tag "CXX" to libtool
appending configuration tag "F77" to libtool
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.7... yes
checking for GLIB - version >= 2.0.0... yes (version 2.12.11)
checking for pkg-config... /usr/bin/pkg-config
checking for GTK+ - version >= 2.0.0... yes (version 2.10.11)
checking for CHMSEE... yes
checking mozilla: ... checking for GECKO... no
checking firefox: ... checking for GECKO... yes
checking for CHMLIB... yes
checking for OpenSSL location... /usr
checking for RSAPublicEncrypt in -lrsaref... no
checking for BIO_new in -lcrypto... yes
checking for DSO_load in -ldl... yes
checking for SSL_library_init in -lssl... yes
checking for intltool >= 0.34... 0.35.5 found
checking for perl... /usr/bin/perl
checking for XML::Parser... ok
checking for iconv... /usr/bin/iconv
checking for msgfmt... msgfmt
checking for msgmerge... msgmerge
checking for xgettext... xgettext
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... no
checking for glib-genmarshal... /usr/bin/glib-genmarshal
configure: creating ./config.status
config.status: creating Makefile
config.status: creating src/Makefile
config.status: creating cs2w/Makefile
config.status: creating cs2w/template/Makefile
config.status: creating cs2w/template/cs2w_icons/Makefile
config.status: creating cs2w/template/stylesheet/Makefile
config.status: creating doc/Makefile
config.status: creating po/Makefile.in
config.status: creating config.h
config.status: config.h is unchanged
config.status: executing depfiles commands
config.status: executing intltool commands
config.status: executing default-1 commands
config.status: executing po/stamp-it commands

====================================================================
ChmSee build options:
====================================================================

Target i686-pc-linux-gnu
Enable debug no
Gecko version firefox

guajunjie@ubuntu:~/chmsee-1.0.0$ make
make all-recursive
make[1]: Entering directory `/home/guajunjie/chmsee-1.0.0'
Making all in cs2w
make[2]: Entering directory `/home/guajunjie/chmsee-1.0.0/cs2w'
Making all in template
make[3]: Entering directory `/home/guajunjie/chmsee-1.0.0/cs2w/template'
Making all in cs2w_icons
make[4]: Entering directory `/home/guajunjie/chmsee-1.0.0/cs2w/template/cs2w_icons'
make[4]: Nothing to be done for `all'.
make[4]: Leaving directory `/home/guajunjie/chmsee-1.0.0/cs2w/template/cs2w_icons'
Making all in stylesheet
make[4]: Entering directory `/home/guajunjie/chmsee-1.0.0/cs2w/template/stylesheet'
make[4]: Nothing to be done for `all'.
make[4]: Leaving directory `/home/guajunjie/chmsee-1.0.0/cs2w/template/stylesheet'
make[4]: Entering directory `/home/guajunjie/chmsee-1.0.0/cs2w/template'
make[4]: Nothing to be done for `all-am'.
make[4]: Leaving directory `/home/guajunjie/chmsee-1.0.0/cs2w/template'
make[3]: Leaving directory `/home/guajunjie/chmsee-1.0.0/cs2w/template'
make[3]: Entering directory `/home/guajunjie/chmsee-1.0.0/cs2w'
make[3]: Nothing to be done for `all-am'.
make[3]: Leaving directory `/home/guajunjie/chmsee-1.0.0/cs2w'
make[2]: Leaving directory `/home/guajunjie/chmsee-1.0.0/cs2w'
Making all in doc
make[2]: Entering directory `/home/guajunjie/chmsee-1.0.0/doc'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/guajunjie/chmsee-1.0.0/doc'
Making all in po
make[2]: Entering directory `/home/guajunjie/chmsee-1.0.0/po'
file=`echo zh_CN | sed 's,.*/,,'`.gmo \
&& rm -f $file && -o $file zh_CN.po
/bin/sh: -o: not found
make[2]: *** [zh_CN.gmo] 错误 127
make[2]: Leaving directory `/home/guajunjie/chmsee-1.0.0/po'
make[1]: *** [all-recursive] 错误 1
make[1]: Leaving directory `/home/guajunjie/chmsee-1.0.0'
make: *** [all] 错误 2
chenyan
帖子: 1
注册时间: 2007-10-10 8:30

#2

帖子 chenyan » 2007-10-10 14:38

:lol: :o
遇到相同问题
希望高手指点
头像
aitilang
帖子: 1026
注册时间: 2007-04-28 21:38

#3

帖子 aitilang » 2007-10-10 15:24

makefile的问题,软件包本身的问题,要去改makefile啊。。。。
file=`echo zh_CN | sed 's,.*/,,'`.gmo \
&& rm -f $file && -o $file zh_CN.po
看到没?,-o前面少了东西了
thinkpad x61 2G DDR no cdrom
--------------------------------------------
ABS学习中
sed学习中
awk学习中
perl学习中
新手描述不清,老手猜测不到,胡乱指挥一通,后果难以预料
kenneth
帖子: 2
注册时间: 2006-09-19 9:17

#4

帖子 kenneth » 2007-12-23 18:02

同样的问题,还是没有解决。怎么修改这个Makefile?
回复