LinuxSir.cn,穿越时空的Linuxsir!

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

【已经解决】emerge app-emacs/cedet出错

[复制链接]
发表于 2010-8-18 22:06:55 | 显示全部楼层 |阅读模式
请高手指点,谢谢!

GNU Emacs 23.2,错误信息为:

make[1]: *** [tests] Error 1
make[1]: Leaving directory `/var/tmp/portage/app-emacs/cedet-1.0_pre7-r1/work/cedet-1.0pre7/semantic'
make: *** [semantic] Error 2
* ERROR: app-emacs/cedet-1.0_pre7-r1 failed:
*   emake failed
*
* Call stack:
*     ebuild.sh, line  54:  Called src_compile
*   environment, line 2578:  Called die
* The specific snippet of code:
*       emake -j1 EMACS="${EMACS}" EMACSFLAGS="${EMACSFLAGS}" || die "emake failed"
*
* If you need support, post the output of 'emerge --info =app-emacs/cedet-1.0_pre7-r1',
* the complete build log and the output of 'emerge -pqv =app-emacs/cedet-1.0_pre7-r1'.
* The complete build log is located at '/var/tmp/portage/app-emacs/cedet-1.0_pre7-r1/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/app-emacs/cedet-1.0_pre7-r1/temp/environment'.
* S: '/var/tmp/portage/app-emacs/cedet-1.0_pre7-r1/work/cedet-1.0pre7'

>>> Failed to emerge app-emacs/cedet-1.0_pre7-r1, Log file:

>>>  '/var/tmp/portage/app-emacs/cedet-1.0_pre7-r1/temp/build.log'

* Messages for package app-emacs/cedet-1.0_pre7-r1:

* ERROR: app-emacs/cedet-1.0_pre7-r1 failed:
*   emake failed
*
* Call stack:
*     ebuild.sh, line  54:  Called src_compile
*   environment, line 2578:  Called die
* The specific snippet of code:
*       emake -j1 EMACS="${EMACS}" EMACSFLAGS="${EMACSFLAGS}" || die "emake failed"
*
* If you need support, post the output of 'emerge --info =app-emacs/cedet-1.0_pre7-r1',
* the complete build log and the output of 'emerge -pqv =app-emacs/cedet-1.0_pre7-r1'.
* The complete build log is located at '/var/tmp/portage/app-emacs/cedet-1.0_pre7-r1/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/app-emacs/cedet-1.0_pre7-r1/temp/environment'.
* S: '/var/tmp/portage/app-emacs/cedet-1.0_pre7-r1/work/cedet-1.0pre7'
 楼主| 发表于 2010-8-18 22:08:55 | 显示全部楼层
emerge --info =app-emacs/cedet-1.0_pre7-r1结果如下:

Portage 2.1.8.3 (default/linux/amd64/10.0, gcc-4.4.4, glibc-2.12.1-r0, 2.6.35-gentoo-r1 x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-2.6.35-gentoo-r1-x86_64-Intel-R-_Core-TM-2_CPU_T7600_@_2.33GHz-with-gentoo-2.0.1
Timestamp of tree: Wed, 18 Aug 2010 13:15:01 +0000
ccache version 2.4 [enabled]
app-shells/bash:     4.1_p7
dev-lang/python:     2.6.5-r3, 3.1.2-r4
dev-util/ccache:     2.4-r8
dev-util/cmake:      2.8.1-r2
sys-apps/baselayout: 2.0.1
sys-apps/openrc:     0.6.1-r1
sys-apps/sandbox:    2.3-r1
sys-devel/autoconf:  2.65-r1
sys-devel/automake:  1.10.3, 1.11.1
sys-devel/binutils:  2.20.1-r1
sys-devel/gcc:       4.4.4-r1
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.10
virtual/os-headers:  2.6.34
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=core2 -mtune=generic -O2 -pipe -fomit-frame-pointer"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-march=core2 -mtune=generic -O2 -pipe -fomit-frame-pointer"
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.xmu.edu.cn/gentoo"
LANG="en_US.UTF-8"
LDFLAGS="-Wl,--as-needed"
LINGUAS="en"
MAKEOPTS="-j3"
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"
SYNC="rsync://rsync2.cn.gentoo.org/gentoo-portage"
USE="X acl acpi amd64 berkdb bzip2 chm cli cracklib crypt cups cxx dbus djvu dri fortran gdbm gpm iconv jpeg kde mmx modules mudflap multilib ncurses nls nptl nptlonly opengl openmp pam pcre perl png pppd python qt3 qt3support qt4 readline reflection session spl sql sqlite sse sse2 ssl svg sysfs tcpd unicode webkit xft xorg zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci 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 cgi cgid 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 synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="radeon" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
回复 支持 反对

使用道具 举报

发表于 2010-8-19 12:08:33 | 显示全部楼层
这个与问题无关,但是emacs 23.2里已经包括了cedet了。
回复 支持 反对

使用道具 举报

 楼主| 发表于 2010-8-19 15:15:07 | 显示全部楼层
谢谢回复,但是gentoo的emacs 23.2应该没有包含cedet,因为安装ecb也需要安装这个先。
emerge --search cedet也可以看出来:

  1. #emerge --search cedet
  2. Searching...   
  3. [ Results for search key : cedet ]
  4. [ Applications found : 3 ]

  5. *  app-emacs/cedet
  6.       Latest version available: 1.0_pre7-r1
  7.       Latest version installed: [ [b][color="Red"]Not Installed[/color][/b] ]
  8.       Size of files: 2,004 kB
  9.       Homepage:      [url]http://cedet.sourceforge.net/[/url]
  10.       Description:   CEDET: Collection of Emacs Development Environment Tools
  11.       License:       GPL-2 FDL-1.1

  12. *  app-xemacs/cedet-common
  13.       Latest version available: 1.01
  14.       Latest version installed: [ Not Installed ]
  15.       Size of files: 71 kB
  16.       Homepage:      [url]http://xemacs.org/[/url]
  17.       Description:   Common files for CEDET development environment.
  18.       License:       GPL-2

  19. *  virtual/emacs-cedet
  20.       Latest version available: 0
  21.       Latest version installed: [ Not Installed ]
  22.       Size of files: 0 kB
  23.       Homepage:      
  24.       Description:   Virtual for the Collection of Emacs Development Environment Tools
  25.       License:
复制代码
回复 支持 反对

使用道具 举报

 楼主| 发表于 2010-8-19 16:30:00 | 显示全部楼层
刚才又仔细看了看,你是对的,emacs 23.2已经默认包括了cedet。
我将自带的cedet改名后重新emerge app-emacs/ecb成功。
感觉gentoo的emacs/lisp路径管理有点混乱,也可能是我太水:thank
回复 支持 反对

使用道具 举报

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

本版积分规则

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