[问题]怎么装不了软件?

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

[问题]怎么装不了软件?

#1

帖子 aini » 2007-07-24 20:58

我的系统是UBUNTU 7.04,装什么软件都装不上,今天想装wget:
win@win-desktop:~$ cd ..
win@win-desktop:/home$ cd win
win@win-desktop:~$ cd downloads
win@win-desktop:~/downloads$ cd wget-1.10.2
win@win-desktop:~/downloads/wget-1.10.2$ ./configure
configure: configuring for GNU Wget 1.10.2
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking whether make sets $(MAKE)... yes
checking for a BSD-compatible install... /usr/bin/install -c
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 how to run the C preprocessor... gcc -E
checking for egrep... grep -E
checking for AIX... no
checking for gcc option to accept ANSI C...
checking for an ANSI C-conforming const... yes
checking for inline... inline
checking for working volatile... yes
checking whether byte ordering is bigendian... no
checking for function prototypes... yes
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 for sys/types.h... (cached) yes
checking for sys/stat.h... (cached) yes
checking for string.h... (cached) yes
checking for strings.h... (cached) yes
checking stdarg.h usability... yes
checking stdarg.h presence... yes
checking for stdarg.h... yes
checking limits.h usability... yes
checking limits.h presence... yes
checking for limits.h... yes
checking for unistd.h... (cached) yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking termios.h usability... yes
checking termios.h presence... yes
checking for termios.h... yes
checking sys/ioctl.h usability... yes
checking sys/ioctl.h presence... yes
checking for sys/ioctl.h... yes
checking sys/select.h usability... yes
checking sys/select.h presence... yes
checking for sys/select.h... yes
checking utime.h usability... yes
checking utime.h presence... yes
checking for utime.h... yes
checking sys/utime.h usability... no
checking sys/utime.h presence... no
checking for sys/utime.h... no
checking for stdint.h... (cached) yes
checking for inttypes.h... (cached) yes
checking signal.h usability... yes
checking signal.h presence... yes
checking for signal.h... yes
checking setjmp.h usability... yes
checking setjmp.h presence... yes
checking for setjmp.h... yes
checking pwd.h usability... yes
checking pwd.h presence... yes
checking for pwd.h... yes
checking whether time.h and sys/time.h may both be included... yes
checking for short... yes
checking size of short... 2
checking for int... yes
checking size of int... 4
checking for long... yes
checking size of long... 4
checking for long long... yes
checking size of long long... 8
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... 64
checking for _LARGE_FILES value needed for large files... no
checking for off_t... yes
checking size of off_t... 8
checking for size_t... yes
checking for pid_t... yes
checking for uint32_t... yes
checking return type of signal handlers... void
checking for sig_atomic_t... yes
checking for working alloca.h... yes
checking for alloca... yes
checking for stdlib.h... (cached) yes
checking for unistd.h... (cached) yes
checking for getpagesize... yes
checking for working mmap... yes
checking for _LARGEFILE_SOURCE value needed for large files... no
checking for fseeko... yes
checking for strdup... yes
checking for strstr... yes
checking for strcasecmp... yes
checking for strncasecmp... yes
checking for strpbrk... yes
checking for memmove... yes
checking for gettimeofday... yes
checking for mktime... yes
checking for strptime... yes
checking for timegm... yes
checking for strerror... yes
checking for snprintf... yes
checking for vsnprintf... yes
checking for usleep... yes
checking for select... yes
checking for ftello... yes
checking for sigblock... yes
checking for sigsetjmp... no
checking for signal... yes
checking for symlink... yes
checking for access... yes
checking for isatty... yes
checking for strtoll... yes
checking for strtoimax... yes
checking for struct utimbuf... yes
checking for socklen_t... socklen_t
checking for working fnmatch.h... yes
checking for nanosleep... yes
checking for clock_gettime... no
checking for clock_gettime in -lrt... yes
checking for gethostbyname... yes
checking for inet_ntoa... yes
checking for socket in -lsocket... no
checking for getopt_long... yes
checking for dlopen in -ldl... yes
checking for ld used by GCC... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for shared library run path origin... done
checking for libssl... no
checking for md5_calc in -lmd5... no
configure: using the GNU MD5 implementation
checking for getaddrinfo... yes
checking for INET6 protocol support... yes
checking for struct sockaddr_in6... yes
checking for struct sockaddr_storage... yes
checking for struct sockaddr_in6.sin6_scope_id... yes
configure: Enabling support for IPv6.
checking whether NLS is requested... yes
configure: language catalogs: bg ca cs da de el en_GB eo es et eu fi fr ga gl he hr hu it ja nl no pl pt_BR ro ru sk sl sr sv tr uk vi zh_CN zh_TW
checking for msgfmt... msgfmt
checking for xgettext... :
checking for gmsgfmt... msgfmt
checking locale.h usability... yes
checking locale.h presence... yes
checking for locale.h... yes
checking libintl.h usability... yes
checking libintl.h presence... yes
checking for libintl.h... yes
checking for gettext in -lintl... no
checking for gettext... yes
checking for makeinfo... no
checking for perl5... no
checking for perl... /usr/bin/perl
checking for pod2man... /usr/bin/pod2man
configure: creating ./config.status
config.status: creating Makefile
config.status: creating src/Makefile
config.status: creating doc/Makefile
config.status: creating util/Makefile
config.status: creating po/Makefile.in
config.status: creating windows/Makefile
config.status: creating stamp-h
config.status: creating src/config.h
config.status: src/config.h is unchanged
config.status: executing default commands
generating po/POTFILES from ./po/POTFILES.in
creating po/Makefile
win@win-desktop:~/downloads/wget-1.10.2$ make
cd src && make CC='gcc' CPPFLAGS='' DEFS='-DHAVE_CONFIG_H -DSYSTEM_WGETRC=\"/usr/local/etc/wgetrc\" -DLOCALEDIR=\"/usr/local/share/locale\"' CFLAGS='-O2 -Wall -Wno-implicit' LDFLAGS='' LIBS='-ldl -lrt ' prefix='/usr/local' exec_prefix='/usr/local' bindir='/usr/local/bin' infodir='/usr/local/info' mandir='/usr/local/man' manext='1'
make[1]: Entering directory `/home/win/downloads/wget-1.10.2/src'
make[1]: “wget”是最新的。
make[1]: Leaving directory `/home/win/downloads/wget-1.10.2/src'
cd doc && make CC='gcc' CPPFLAGS='' DEFS='-DHAVE_CONFIG_H -DSYSTEM_WGETRC=\"/usr/local/etc/wgetrc\" -DLOCALEDIR=\"/usr/local/share/locale\"' CFLAGS='-O2 -Wall -Wno-implicit' LDFLAGS='' LIBS='-ldl -lrt ' prefix='/usr/local' exec_prefix='/usr/local' bindir='/usr/local/bin' infodir='/usr/local/info' mandir='/usr/local/man' manext='1'
make[1]: Entering directory `/home/win/downloads/wget-1.10.2/doc'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/home/win/downloads/wget-1.10.2/doc'
cd po && make CC='gcc' CPPFLAGS='' DEFS='-DHAVE_CONFIG_H -DSYSTEM_WGETRC=\"/usr/local/etc/wgetrc\" -DLOCALEDIR=\"/usr/local/share/locale\"' CFLAGS='-O2 -Wall -Wno-implicit' LDFLAGS='' LIBS='-ldl -lrt ' prefix='/usr/local' exec_prefix='/usr/local' bindir='/usr/local/bin' infodir='/usr/local/info' mandir='/usr/local/man' manext='1'
make[1]: Entering directory `/home/win/downloads/wget-1.10.2/po'
file=./`echo bg | sed 's,.*/,,'`.gmo \
&& rm -f $file && PATH=../src:$PATH msgfmt -o $file bg.po
/bin/sh: msgfmt: not found
make[1]: *** [bg.gmo] 错误 127
make[1]: Leaving directory `/home/win/downloads/wget-1.10.2/po'
make: *** [po] 错误 2
win@win-desktop:~/downloads/wget-1.10.2$ make install
cd src && make CC='gcc' CPPFLAGS='' DEFS='-DHAVE_CONFIG_H -DSYSTEM_WGETRC=\"/usr/local/etc/wgetrc\" -DLOCALEDIR=\"/usr/local/share/locale\"' CFLAGS='-O2 -Wall -Wno-implicit' LDFLAGS='' LIBS='-ldl -lrt ' prefix='/usr/local' exec_prefix='/usr/local' bindir='/usr/local/bin' infodir='/usr/local/info' mandir='/usr/local/man' manext='1' install.bin
make[1]: Entering directory `/home/win/downloads/wget-1.10.2/src'
../mkinstalldirs /usr/local/bin
/usr/bin/install -c wget /usr/local/bin/wget
/usr/bin/install: 无法删除‘/usr/local/bin/wget’: Permission denied
make[1]: *** [install.bin] 错误 1
make[1]: Leaving directory `/home/win/downloads/wget-1.10.2/src'
make: *** [install.bin] 错误 2
win@win-desktop:~/downloads/wget-1.10.2$
头像
nihui
帖子: 1746
注册时间: 2006-10-21 12:03
来自: Shanghai
联系:

#2

帖子 nihui » 2007-07-24 21:00

wget 不是已经默认集成了嘛。。。

hoho.....

用的话,因为没有菜单项,是个 cli 程序:

代码: 全选

wget URL
建议楼主先看看 wiki 吧~
装软件用 apt-get


另:楼主的编译错误是没有 msgfmt 命令程序导致的,属于 gettext 吧~
make install/uninstall 需要加"sudo"
上次由 nihui 在 2007-07-24 21:02,总共编辑 2 次。
.

私人空间
附有 Magic Linux 2.1 最新开发日志~


미안하다, 사랑한다


欢迎来 #xfce-cn 中文频道~~
aini
帖子: 8
注册时间: 2007-06-19 8:41

喜欢ubuntu,就是装不上软件

#3

帖子 aini » 2007-07-24 21:00

装了ubuntu已经有一个多月了,挺喜欢的,都用晚上的时间来玩,谁能帮帮我呀!
aini
帖子: 8
注册时间: 2007-06-19 8:41

#4

帖子 aini » 2007-07-24 21:13

能不能介绍一款下载软件啊,支持断点续传的
回复