LinuxSir.cn,穿越时空的Linuxsir!

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

[已解决]请问clisp为什么编译不了

[复制链接]
发表于 2010-6-2 19:36:02 | 显示全部楼层 |阅读模式
不知道删除了什么,在revdep-rebuild中clisp编译不了。具体错误如下:

>>> Emerging (1 of 3) dev-lisp/clisp-2.47-r1
* clisp-2.47.tar.bz2 RMD160 SHA1 SHA256 size ;-) ...                                                                 [ ok ]
* checking ebuild checksums ;-) ...                                                                                  [ ok ]
* checking auxfile checksums ;-) ...                                                                                 [ ok ]
* checking miscfile checksums ;-) ...                                                                                [ ok ]
* CPV:  dev-lisp/clisp-2.47-r1                                                                                             
* REPO: gentoo                                                                                                            
* USE:  X amd64 dbus elibc_glibc gdbm gtk kernel_linux multilib pcre readline userland_GNU zlib                           
sandbox:main  signal SIGQUIT already had a handler ...                                                                     

>>> Unpacking source...
>>> Unpacking clisp-2.47.tar.bz2 to /var/tmp/portage/dev-lisp/clisp-2.47-r1/work
* Applying pari.patch ...                                                                                             [ ok ]
>>> Source unpacked in /var/tmp/portage/dev-lisp/clisp-2.47-r1/work                                                         
sandbox:main  signal SIGQUIT already had a handler ...                                                                       

>>> Compiling source in /var/tmp/portage/dev-lisp/clisp-2.47-r1/work/clisp-2.47 ...
* enabling module wildcard                                                        
* enabling module rawsock                                                         
* enabling module bindings/glibc                                                  
* enabling module clx/mit-clx                                                     
* enabling module dbus                                                            
* enabling module gdbm                                                            
* enabling module gtk2                                                            
* enabling module pcre                                                            
* enabling module zlib                                                            
* ./configure --prefix=/usr --libdir=/usr/lib64                --with-ffcall --with-dynamic-modules --with-module=wildcard --with-module=rawsock --with-module=bindings/glibc --with-module=clx/mit-clx --with-module=dbus --with-module=gdbm --with-module=gtk2 --with-module=pcre --with-module=zlib --hyperspec=http://www.lispworks.com/reference/HyperSpec/ builddir            
executing /var/tmp/portage/dev-lisp/clisp-2.47-r1/work/clisp-2.47/builddir/configure --srcdir=../src --disable-option-checking --prefix=/usr --libdir=/usr/lib64 --with-ffcall --cache-file=config.cache                                                  
configure: creating cache config.cache                                                                                       
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                                                                                    
configure: ** check for host type                                                                                            
checking build system type... x86_64-unknown-linux-gnu                                                                       
checking host system type... x86_64-unknown-linux-gnu                                                                        
checking for style of include used by make... GNU                                                                           
checking for gcc... gcc                                                                                                      
checking for C compiler default output file name...                                                                          
configure: error: C compiler cannot create executables                                                                       
See `config.log' for more details.                                                                                          
* ERROR: dev-lisp/clisp-2.47-r1 failed:                                                                                    
*   ./configure failed                                                                                                      
*                                                                                                                           
* Call stack:                                                                                                               
*     ebuild.sh, line  54:  Called src_compile                                                                              
*   environment, line 2743:  Called die                                                                                    
* The specific snippet of code:                                                                                             
*       ${configure} || die "./configure failed";                                                                           
*                                                                                                                           
* If you need support, post the output of 'emerge --info =dev-lisp/clisp-2.47-r1',                                          
* the complete build log and the output of 'emerge -pqv =dev-lisp/clisp-2.47-r1'.                                          
* The complete build log is located at '/var/tmp/portage/dev-lisp/clisp-2.47-r1/temp/build.log'.                           
* The ebuild environment file is located at '/var/tmp/portage/dev-lisp/clisp-2.47-r1/temp/environment'.                     
* S: '/var/tmp/portage/dev-lisp/clisp-2.47-r1/work/clisp-2.47'                                                              
sandbox:main  signal SIGQUIT already had a handler ...                                                                       


>>> Failed to emerge dev-lisp/clisp-2.47-r1, Log file:

>>>  '/var/tmp/portage/dev-lisp/clisp-2.47-r1/temp/build.log'

* Messages for package dev-lisp/clisp-2.47-r1:

* ERROR: dev-lisp/clisp-2.47-r1 failed:
*   ./configure failed
*
* Call stack:
*     ebuild.sh, line  54:  Called src_compile
*   environment, line 2743:  Called die
* The specific snippet of code:
*       ${configure} || die "./configure failed";
*
* If you need support, post the output of 'emerge --info =dev-lisp/clisp-2.47-r1',
* the complete build log and the output of 'emerge -pqv =dev-lisp/clisp-2.47-r1'.
* The complete build log is located at '/var/tmp/portage/dev-lisp/clisp-2.47-r1/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/dev-lisp/clisp-2.47-r1/temp/environment'.
* S: '/var/tmp/portage/dev-lisp/clisp-2.47-r1/work/clisp-2.47'
*
* revdep-rebuild failed to emerge all packages.
* you have the following choices:
* - If emerge failed during the build, fix the problems and re-run revdep-rebuild.
* - Use /etc/portage/package.keywords to unmask a newer version of the package.
*   (and remove 5_order.rr to be evaluated again)
* - Modify the above emerge command and run it manually.
* - Compile or unmerge unsatisfied packages manually,
*   remove temporary files, and try again.
*   (you can edit package/ebuild list first)
*
* To remove temporary files, please run:
* rm /var/cache/revdep-rebuild/*.rr


请问如何解决?
发表于 2010-6-2 22:03:59 | 显示全部楼层
贴一下emerge --info的结果吧
回复 支持 反对

使用道具 举报

 楼主| 发表于 2010-6-2 22:37:10 | 显示全部楼层
Portage 2.1.8.3 (default/linux/amd64/10.0, [unavailable], glibc-2.10.1-r1, 2.6.32-gentoo-r7 x86_64)                          
=================================================================                                                            
System uname: Linux-2.6.32-gentoo-r7-x86_64-Intel-R-_Core-TM-2_Duo_CPU_P8400_@_2.26GHz-with-gentoo-1.12.13                  
Timestamp of tree: Wed, 02 Jun 2010 10:45:02 +0000                                                                           
app-shells/bash:     4.0_p37                                                                                                
dev-java/java-config: 2.1.10                                                                                                
dev-lang/python:     2.6.5-r2, 3.1.2-r3                                                                                      
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.65                                                                                             
sys-devel/automake:  1.8.5-r4, 1.9.6-r3, 1.10.3, 1.11.1                                                                     
sys-devel/binutils:  2.18-r3                                                                                                
sys-devel/gcc:       4.4.3-r2                                                                                                
sys-devel/gcc-config: 1.4.1                                                                                                  
sys-devel/libtool:   2.2.6b                                                                                                  
virtual/os-headers:  2.6.30-r1                                                                                               
ACCEPT_KEYWORDS="amd64"                                                                                                      
ACCEPT_LICENSE="* -@EULA"                                                                                                   
CBUILD="x86_64-pc-linux-gnu"                                                                                                
CFLAGS="-O2 -pipe -march=core2 -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/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 -pipe -march=core2 -fomit-frame-pointer"                                                                       
DISTDIR="/usr/portage/distfiles"                                                                                             
FEATURES="assume-digests distlocks fixpackages news parallel-fetch protect-owned sandbox sfperms strict unmerge-logs unmerge-orphans userfetch"                                                                                                           
GENTOO_MIRRORS="ftp://ftp3.tsinghua.edu.cn/mirror/gentoo"
LANG="zh_CN.utf8"
LDFLAGS="-Wl,-O1"
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://mirror.averse.net/gentoo-portage"
USE="X a52 aac acl acpi alsa amd64 arts at4 bash-completion berkdb bzip2 c++ cdparanoia cdr cli cracklib crypt cups cxx dbus dhcp dirac divx dri dvd dvdr dvdread encode exif ffmpeg fortran fuse gdbm gimp gpm gtk hal hdaps iconv ipv6 irc jpeg kde lame laptop logrotate mikmod mmx mng modules mp2 mp3 mp4 mp4live mpeg mpeg2 mplayer mudflap multilib ncurses nls nomotif nptlonly nsplugin ogg ogm opengl openmp pam pcre perl png pppd pstricks python qt3support qt4 readline reflection samba scim sdl session sid smp spl sql sqlite sse sse2 sse3 ssl ssse3 svg sysfs tcpd unicode vcd vim-syntax webkit wifi wma wmf wmp xcb xinerama xorg xulrunner 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 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="keyboard mouse synaptics evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="intel fglrx 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

这是我的emerge --info。有什么发现吗?
回复 支持 反对

使用道具 举报

发表于 2010-6-3 02:58:40 | 显示全部楼层
configure: error: C compiler cannot create executables
这个错误好像跟gcc以及multilib有关,我有时可以用gcc-config重新指定一下gcc就可以,但有时还是出错。建议重新emerge -1 gcc glibc
回复 支持 反对

使用道具 举报

发表于 2010-6-3 16:35:06 | 显示全部楼层
我检查了一下我的,好像我这阵clisp-2.47-r1也编译不了了
后来是unmask了2.48-r1就没问题了

但是我编译的错误和你的完全不一样,你的我感觉是不是gcc升级之后的处理出了问题?

不管怎么说,可以考虑试一试clisp-2.48-r1
回复 支持 反对

使用道具 举报

 楼主| 发表于 2010-6-4 22:42:44 | 显示全部楼层
感谢各位,问题解决,正好是4楼5楼的综合。

1)按4楼的说法用:gcc-config重新指定一下gcc,emerge -1 gcc glibc
2)按5楼说法,安装clisp-2.48-r1
回复 支持 反对

使用道具 举报

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

本版积分规则

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