LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 833|回复: 11

gentoo更新后鼠标键盘失效

[复制链接]
发表于 2011-5-4 21:49:44 | 显示全部楼层 |阅读模式
更新到了~x86,整个过程包的错误百出,最后只剩十个包还没有被更新。

现在的问题是:重启系统后,鼠标键盘没有反应,不知道原因?

猜测:是不是更新完xorg-server之后,就需要重新运行Xorg -configure?

在grub中如何设置才能进入命令行界面?

能不能暂时由wireless-tools接管network-manager的网络管理权?

求救啊。谢谢了。
发表于 2011-5-4 22:03:10 | 显示全部楼层
xorg-sever升级后,要重新编译鼠标键盘驱动,否则就是你这样。。
回复 支持 反对

使用道具 举报

发表于 2011-5-4 22:03:32 | 显示全部楼层
xorg-server 大版本升级后, 最好重新编译所有 x11驱动

你都不看更新后的信息么?

emerge @x11-module-rebuild
回复 支持 反对

使用道具 举报

 楼主| 发表于 2011-5-5 05:48:16 | 显示全部楼层
更新系统到glib-networking,总报错:

emake failed
* ERROR: net-libs/glib-networking-2.28.6.1 failed (compile phase):
*   compile failure
*
* Call stack:
*     ebuild.sh, line   56:  Called src_compile
*   environment, line 3066:  Called gnome2_src_compile
*   environment, line 2355:  Called die
* The specific snippet of code:
*       emake || die "compile failure"
*
* If you need support, post the output of 'emerge --info =net-libs/glib-networking-2.28.6.1',
* the complete build log and the output of 'emerge -pqv =net-libs/glib-networking-2.28.6.1'.
* The complete build log is located at '/var/tmp/portage/net-libs/glib-networking-2.28.6.1/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/net-libs/glib-networking-2.28.6.1/temp/environment'.
* S: '/var/tmp/portage/net-libs/glib-networking-2.28.6.1/work/glib-networking-2.28.6.1'

>>> Failed to emerge net-libs/glib-networking-2.28.6.1, Log file:

>>>  '/var/tmp/portage/net-libs/glib-networking-2.28.6.1/temp/build.log'

请问这是怎么回事?

另外,怎么进入命令行?
回复 支持 反对

使用道具 举报

发表于 2011-5-5 07:34:55 | 显示全部楼层
可以用LIVECD引导进入系统的shell。
回复 支持 反对

使用道具 举报

 楼主| 发表于 2011-5-5 13:06:07 | 显示全部楼层
Post by easior lars;2137778
更新系统到glib-networking,总报错:

emake failed
* ERROR: net-libs/glib-networking-2.28.6.1 failed (compile phase):
*   compile failure
*
* Call stack:
*     ebuild.sh, line   56:  Called src_compile
*   environment, line 3066:  Called gnome2_src_compile
*   environment, line 2355:  Called die
* The specific snippet of code:
*       emake || die "compile failure"
*
* If you need support, post the output of 'emerge --info =net-libs/glib-networking-2.28.6.1',
* the complete build log and the output of 'emerge -pqv =net-libs/glib-networking-2.28.6.1'.
* The complete build log is located at '/var/tmp/portage/net-libs/glib-networking-2.28.6.1/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/net-libs/glib-networking-2.28.6.1/temp/environment'.
* S: '/var/tmp/portage/net-libs/glib-networking-2.28.6.1/work/glib-networking-2.28.6.1'

>>> Failed to emerge net-libs/glib-networking-2.28.6.1, Log file:

>>>  '/var/tmp/portage/net-libs/glib-networking-2.28.6.1/temp/build.log'

请问这是怎么回事?


有没有人愿意帮我看看这个问题,应该不是bug吧?

另外,我更新了gcc到4.5,有没有必要emerge -aev system?
这个和emerge -auDN world有没有区别?
回复 支持 反对

使用道具 举报

发表于 2011-5-5 13:18:12 | 显示全部楼层
你這段log完全不能看出失敗原因。請先學會挑出emerge log裡重要的訊息吧。

另外可先跳過它再說。
  1. emerge --resume --skipfirst
复制代码

另外跑
  1. qlist -I -C xf86-
复制代码
可以列出xorg-server升級後需要重編的驅動包。
回复 支持 反对

使用道具 举报

 楼主| 发表于 2011-5-5 13:24:21 | 显示全部楼层
Post by mathfeel;2137831
你這段log完全不能看出失敗原因。請先學會挑出emerge log裡重要的訊息吧。

另外可先跳過它再說。
  1. emerge --resume --skipfirst
复制代码


这是完整的信息:
# emerge -au glib-networking

* IMPORTANT: 2 news items need reading for repository 'gentoo'.
* Use eselect news to read news items.


These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild  N    ] net-libs/glib-networking-2.28.6.1  USE="gnome libproxy ssl"

Would you like to merge these packages? [Yes/No] y

>>> Verifying ebuild manifests

>>> Emerging (1 of 1) net-libs/glib-networking-2.28.6.1
* glib-networking-2.28.6.1.tar.bz2 RMD160 SHA1 SHA256 size ;-) ...      [ ok ]
* Package:    net-libs/glib-networking-2.28.6.1
* Repository: gentoo
* Maintainer: gnome@gentoo.org
* USE:        elibc_glibc gnome kernel_linux libproxy ssl userland_GNU x86
* FEATURES:   sandbox
>>> Unpacking source...
>>> Unpacking glib-networking-2.28.6.1.tar.bz2 to /var/tmp/portage/net-libs/glib-networking-2.28.6.1/work
>>> Source unpacked in /var/tmp/portage/net-libs/glib-networking-2.28.6.1/work
>>> Preparing source in /var/tmp/portage/net-libs/glib-networking-2.28.6.1/work/glib-networking-2.28.6.1 ...
* Fixing OMF Makefiles ...                                              [ ok ]
* Running elibtoolize in: glib-networking-2.28.6.1/
*   Applying portage-2.2.patch ...
*   Applying sed-1.5.6.patch ...
*   Applying as-needed-2.2.6.patch ...
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/net-libs/glib-networking-2.28.6.1/work/glib-networking-2.28.6.1 ...
* econf: updating glib-networking-2.28.6.1/config.sub with /usr/share/gnuconfig/config.sub
* econf: updating glib-networking-2.28.6.1/config.guess with /usr/share/gnuconfig/config.guess
./configure --prefix=/usr --build=i686-pc-linux-gnu --host=i686-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --disable-static --disable-maintainer-mode --with-ca-certificates=/etc/ssl/certs/ca-certificates.crt --with-gnome-proxy --with-libproxy --with-gnutls
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... gawk
checking whether make sets $(MAKE)... yes
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 how to print strings... printf
checking for style of include used by make... GNU
checking for i686-pc-linux-gnu-gcc... i686-pc-linux-gnu-gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether i686-pc-linux-gnu-gcc accepts -g... yes
checking for i686-pc-linux-gnu-gcc option to accept ISO C89... none needed
checking dependency style of i686-pc-linux-gnu-gcc... gcc3
checking for a sed that does not truncate output... /bin/sed
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for fgrep... /bin/grep -F
checking for ld used by i686-pc-linux-gnu-gcc... /usr/i686-pc-linux-gnu/bin/ld
checking if the linker (/usr/i686-pc-linux-gnu/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
checking the name lister (/usr/bin/nm -B) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 1572864
checking whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... yes
checking for /usr/i686-pc-linux-gnu/bin/ld option to reload object files... -r
checking for i686-pc-linux-gnu-objdump... i686-pc-linux-gnu-objdump
checking how to recognize dependent libraries... pass_all
checking for i686-pc-linux-gnu-ar... i686-pc-linux-gnu-ar
checking for i686-pc-linux-gnu-strip... i686-pc-linux-gnu-strip
checking for i686-pc-linux-gnu-ranlib... i686-pc-linux-gnu-ranlib
checking command to parse /usr/bin/nm -B output from i686-pc-linux-gnu-gcc object... ok
checking how to run the C preprocessor... i686-pc-linux-gnu-gcc -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 for dlfcn.h... yes
checking for objdir... .libs
checking if i686-pc-linux-gnu-gcc supports -fno-rtti -fno-exceptions... no
checking for i686-pc-linux-gnu-gcc option to produce PIC... -fPIC -DPIC
checking if i686-pc-linux-gnu-gcc PIC flag -fPIC -DPIC works... yes
checking if i686-pc-linux-gnu-gcc static flag -static works... yes
checking if i686-pc-linux-gnu-gcc supports -c -o file.o... yes
checking if i686-pc-linux-gnu-gcc supports -c -o file.o... (cached) yes
checking whether the i686-pc-linux-gnu-gcc linker (/usr/i686-pc-linux-gnu/bin/ld) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... 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... no
checking for i686-pc-linux-gnu-gcc... (cached) i686-pc-linux-gnu-gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether i686-pc-linux-gnu-gcc accepts -g... (cached) yes
checking for i686-pc-linux-gnu-gcc option to accept ISO C89... (cached) none needed
checking dependency style of i686-pc-linux-gnu-gcc... (cached) gcc3
checking whether i686-pc-linux-gnu-gcc and cc understand -c and -o together... yes
checking how to run the C preprocessor... i686-pc-linux-gnu-gcc -E
checking whether NLS is requested... yes
checking for intltool >= 0.35.0... 0.41.1 found
checking for intltool-update... /usr/bin/intltool-update
checking for intltool-merge... /usr/bin/intltool-merge
checking for intltool-extract... /usr/bin/intltool-extract
checking for xgettext... /usr/bin/xgettext
checking for msgmerge... /usr/bin/msgmerge
checking for msgfmt... /usr/bin/msgfmt
checking for gmsgfmt... /usr/bin/gmsgfmt
checking for perl... /usr/bin/perl
checking for perl >= 5.8.1... 5.12.3
checking for XML:arser... ok
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... (cached) /usr/bin/msgfmt
checking for dcgettext... yes
checking if msgfmt accepts -c... yes
checking for gmsgfmt... (cached) /usr/bin/gmsgfmt
checking for xgettext... (cached) /usr/bin/xgettext
checking for i686-pc-linux-gnu-pkg-config... no
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.16... yes
checking for GLIB - version >= 2.27.90... yes (version 2.28.6)
checking for gio-querymodules... /usr/bin/gio-querymodules
checking for LIBPROXY... yes
checking for GSETTINGS_DESKTOP_SCHEMAS... yes
checking for GNUTLS... yes
checking for libgcrypt-config... /usr/bin/libgcrypt-config
checking for LIBGCRYPT - version >= 1.2.0... yes (1.5.0-beta1)
checking LIBGCRYPT API version... okay
checking location of system Certificate Authority list... /etc/ssl/certs/ca-certificates.crt
checking whether gcc understands -Wmissing-include-dirs... yes
checking whether gcc understands -Wundef... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating po/Makefile.in
config.status: creating po/Makefile
config.status: creating proxy/libproxy/Makefile
config.status: creating proxy/gnome/Makefile
config.status: creating tls/gnutls/Makefile
config.status: creating config.h
config.status: executing depfiles commands
config.status: executing libtool commands
config.status: executing default-1 commands
config.status: executing po/stamp-it commands

  Proxy support: gnome libproxy
  TLS support:   gnutls
  TLS CA file:   /etc/ssl/certs/ca-certificates.crt
>>> Source configured.
>>> Compiling source in /var/tmp/portage/net-libs/glib-networking-2.28.6.1/work/glib-networking-2.28.6.1 ...
make
make  all-recursive
make[1]: 进入目录“/var/tmp/portage/net-libs/glib-networking-2.28.6.1/work/glib-networking-2.28.6.1”
Making all in po
make[2]: 进入目录“/var/tmp/portage/net-libs/glib-networking-2.28.6.1/work/glib-networking-2.28.6.1/po”
file=`echo zh_CN | sed 's,.*/,,'`.gmo \
  && rm -f $file && /usr/bin/gmsgfmt -o $file zh_CN.po
file=`echo zh_TW | sed 's,.*/,,'`.gmo \
  && rm -f $file && /usr/bin/gmsgfmt -o $file zh_TW.po
make[2]: 离开目录“/var/tmp/portage/net-libs/glib-networking-2.28.6.1/work/glib-networking-2.28.6.1/po”
Making all in proxy/libproxy
make[2]: 进入目录“/var/tmp/portage/net-libs/glib-networking-2.28.6.1/work/glib-networking-2.28.6.1/proxy/libproxy”
  CC     libgiolibproxy_la-glibproxyresolver.lo
  CC     libgiolibproxy_la-libproxy-module.lo
  CCLD   libgiolibproxy.la
  CC     glib_pacrunner-glibproxyresolver.o
  CC     glib_pacrunner-glibpacrunner.o
  CCLD   glib-pacrunner
/usr/lib/libproxy.so: undefined reference to `JS_GetStringBytes'
/usr/lib/libproxy.so: undefined reference to `JS_NewString'
collect2: ld returned 1 exit status
make[2]: *** [glib-pacrunner] 错误 1
make[2]: 离开目录“/var/tmp/portage/net-libs/glib-networking-2.28.6.1/work/glib-networking-2.28.6.1/proxy/libproxy”
make[1]: *** [all-recursive] 错误 1
make[1]: 离开目录“/var/tmp/portage/net-libs/glib-networking-2.28.6.1/work/glib-networking-2.28.6.1”
make: *** [all] 错误 2
emake failed
* ERROR: net-libs/glib-networking-2.28.6.1 failed (compile phase):
*   compile failure
*
* Call stack:
*     ebuild.sh, line   56:  Called src_compile
*   environment, line 3066:  Called gnome2_src_compile
*   environment, line 2355:  Called die
* The specific snippet of code:
*       emake || die "compile failure"
*
* If you need support, post the output of 'emerge --info =net-libs/glib-networking-2.28.6.1',
* the complete build log and the output of 'emerge -pqv =net-libs/glib-networking-2.28.6.1'.
* The complete build log is located at '/var/tmp/portage/net-libs/glib-networking-2.28.6.1/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/net-libs/glib-networking-2.28.6.1/temp/environment'.
* S: '/var/tmp/portage/net-libs/glib-networking-2.28.6.1/work/glib-networking-2.28.6.1'

>>> Failed to emerge net-libs/glib-networking-2.28.6.1, Log file:

>>>  '/var/tmp/portage/net-libs/glib-networking-2.28.6.1/temp/build.log'

* IMPORTANT: 2 news items need reading for repository 'gentoo'.
* Use eselect news to read news items.

不知是否有用?
回复 支持 反对

使用道具 举报

发表于 2011-5-5 13:29:56 | 显示全部楼层
建議先眺過(看樓上)。或跑revdep-rebuild後再update world.
回复 支持 反对

使用道具 举报

 楼主| 发表于 2011-5-5 13:35:27 | 显示全部楼层
Post by mathfeel;2137835
建議先眺過(看樓上)。或跑revdep-rebuild後再update world.


已尝试过好多次的revdep-rebuild,不知为何?

不知道上面的跳过怎么用到更新系统的命令中?
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表