|
大家好,最近在使用的过程中碰到两个问题,麻烦兄弟们帮忙看看。
第一个问题是在编译a2ps时提示如下错误:
- * ERROR: app-text/a2ps-4.13c-r6 failed:
- * make failed
- *
- * Call stack:
- * ebuild.sh, line 54: Called src_compile
- * environment, line 3004: Called die
- * The specific snippet of code:
- * make || die "make failed"
- *
复制代码
emerge --info =app-text/a2ps-4.13c-r6的信息如下:
- Portage 2.1.8.3 (default/linux/x86/10.0, gcc-4.3.4, glibc-2.10.1-r1, 2.6.32-gentoo-r7 i686)
- =================================================================
- System Settings
- =================================================================
- System uname: Linux-2.6.32-gentoo-r7-i686-Intel-R-_Celeron-R-_M_processor_1.50GHz-with-gentoo-1.12.13
- Timestamp of tree: Sun, 18 Apr 2010 06:25:01 +0000
- ccache version 2.4 [enabled]
- app-shells/bash: 4.0_p37
- dev-java/java-config: 2.1.10
- dev-lang/python: 2.6.4-r1
- dev-util/ccache: 2.4-r7
- dev-util/cmake: 2.6.4-r3
- sys-apps/baselayout: 1.12.13
- sys-apps/sandbox: 1.6-r2
- sys-devel/autoconf: 2.13, 2.63-r1
- sys-devel/automake: 1.9.6-r3, 1.10.3, 1.11.1
- sys-devel/binutils: 2.18-r3
- sys-devel/gcc: 4.3.4
- sys-devel/gcc-config: 1.4.1
- sys-devel/libtool: 2.2.6b
- virtual/os-headers: 2.6.30-r1
- ACCEPT_KEYWORDS="x86"
- ACCEPT_LICENSE="* -@EULA"
- CBUILD="i686-pc-linux-gnu"
- CFLAGS="-O2 -march=i686 -pipe"
- CHOST="i686-pc-linux-gnu"
- CONFIG_PROTECT="/etc /usr/share/X11/xkb"
- CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
- CXXFLAGS="-O2 -march=i686 -pipe"
- DISTDIR="/usr/portage/distfiles"
- FEATURES="assume-digests ccache distlocks fixpackages news parallel-fetch protect-owned sandbox sfperms strict unmerge-logs unmerge-orphans userfetch"
- GENTOO_MIRRORS="http://mirrors.xmu6.edu.cn/gentoo"
- LANG="en_US.UTF-8"
- LDFLAGS="-Wl,-O1"
- MAKEOPTS="-j2"
- PKGDIR="/usr/portage/packages"
- PORTAGE_CONFIGROOT="/"
- PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
- PORTAGE_TMPDIR="/var/tmp"
- PORTDIR="/usr/portage"
- PORTDIR_OVERLAY="/usr/local/portage/layman/gentoo-china"
- SYNC="rsync://mirrors.xmu6.edu.cn/gentoo-portage"
- USE="X acl alsa berkdb bzip2 cli cracklib crypt cups cxx dbus dri fortran gdbm gpm hal iconv ipv6 jpeg modules mudflap ncurses nls nptl nptlonly openmp pam pcre perl pppd python readline reflection session spl ssl sysfs tcpd unicode x86 xorg xscreensaver zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="intel"
- Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LC_ALL, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
- =================================================================
- Package Settings
- =================================================================
- app-text/a2ps-4.13c-r6 was built with the following:
- USE="nls -cjk -emacs -latex -vanilla"
复制代码
emerge -pqv =app-text/a2ps-4.13c-r6的结果是:
- [ebuild R ] app-text/a2ps-4.13c-r6 USE="nls -cjk -emacs -latex -vanilla"
- !!! The following installed packages are masked:
- - dev-java/sun-jre-bin-1.6.0.19 (masked by: dlj-1.1 license(s))
- A copy of the 'dlj-1.1' license is located at '/usr/portage/licenses/dlj-1.1'.
复制代码
但我将ACCEPT_LICENSE="dlj-1.1"添加到/etc/make.conf中重新编译仍然不能通过。
第二个问题是启动Thunar时不能启动,而且提示以下错误:
- process 28524: arguments to dbus_connection_send_with_reply_and_block() were incorrect, assertion "(error) == NULL || !dbus_error_is_set ((error))" failed in file dbus-connection.c line 3346.
- This is normally a bug in some application using the D-Bus library.
- D-Bus not built with -rdynamic so unable to print a backtrace
- Aborted
复制代码
emerge -pqv =xfce-base/thunar-1.0.1得到如下信息:
- [ebuild R ] xfce-base/thunar-1.0.1 USE="dbus hal pcre trash-plugin -debug -doc -exif -gnome -startup-notification -test"
- !!! The following installed packages are masked:
- - dev-java/sun-jre-bin-1.6.0.19 (masked by: dlj-1.1 license(s))
- A copy of the 'dlj-1.1' license is located at '/usr/portage/licenses/dlj-1.1'.
复制代码
根据网上的提示重新编译dbus或者将/etc/X11/xorg.conf中的:
- Section "ServerFlags"
- Option "AutoAddDevices" "false"
- Option "AllowEmptyInput" "false"
- EndSection
复制代码
注释掉也不行。
另外emerge --info的信息如下:
- Portage 2.1.8.3 (default/linux/x86/10.0, gcc-4.3.4, glibc-2.10.1-r1, 2.6.32-gentoo-r7 i686)
- =================================================================
- System uname: Linux-2.6.32-gentoo-r7-i686-Intel-R-_Celeron-R-_M_processor_1.50GHz-with-gentoo-1.12.13
- Timestamp of tree: Sun, 18 Apr 2010 06:25:01 +0000
- ccache version 2.4 [enabled]
- app-shells/bash: 4.0_p37
- dev-java/java-config: 2.1.10
- dev-lang/python: 2.6.4-r1
- dev-util/ccache: 2.4-r7
- dev-util/cmake: 2.6.4-r3
- sys-apps/baselayout: 1.12.13
- sys-apps/sandbox: 1.6-r2
- sys-devel/autoconf: 2.13, 2.63-r1
- sys-devel/automake: 1.9.6-r3, 1.10.3, 1.11.1
- sys-devel/binutils: 2.18-r3
- sys-devel/gcc: 4.3.4
- sys-devel/gcc-config: 1.4.1
- sys-devel/libtool: 2.2.6b
- virtual/os-headers: 2.6.30-r1
- ACCEPT_KEYWORDS="x86"
- ACCEPT_LICENSE="* -@EULA"
- CBUILD="i686-pc-linux-gnu"
- CFLAGS="-O2 -march=i686 -pipe"
- CHOST="i686-pc-linux-gnu"
- CONFIG_PROTECT="/etc /usr/share/X11/xkb"
- CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
- CXXFLAGS="-O2 -march=i686 -pipe"
- DISTDIR="/usr/portage/distfiles"
- FEATURES="assume-digests ccache distlocks fixpackages news parallel-fetch protect-owned sandbox sfperms strict unmerge-logs unmerge-orphans userfetch"
- GENTOO_MIRRORS="http://mirrors.xmu6.edu.cn/gentoo"
- LANG="en_US.UTF-8"
- LDFLAGS="-Wl,-O1"
- MAKEOPTS="-j2"
- PKGDIR="/usr/portage/packages"
- PORTAGE_CONFIGROOT="/"
- PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
- PORTAGE_TMPDIR="/var/tmp"
- PORTDIR="/usr/portage"
- PORTDIR_OVERLAY="/usr/local/portage/layman/gentoo-china"
- SYNC="rsync://mirrors.xmu6.edu.cn/gentoo-portage"
- USE="X acl alsa berkdb bzip2 cli cracklib crypt cups cxx dbus dri fortran gdbm gpm hal iconv ipv6 jpeg modules mudflap ncurses nls nptl nptlonly openmp pam pcre perl pppd python readline reflection session spl ssl sysfs tcpd unicode x86 xorg xscreensaver zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="intel"
- Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LC_ALL, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
复制代码
这两个问题困扰了我好几天了,没有一点思路,自己又不懂编程,麻烦大家帮忙看看,谢谢了。 |
|