[SOLVED] 编译gcc-3.3.6-r1报错
时间:2008-03-25
来源:互联网
最近安装jdk的时候
gcc-3.3.6-r1是一个依赖包,但是这个东西却一直报错。
不清楚这个p1.5到底是什么东西,为什么会说“invalid host type”。
我的emerge --info
代码:
applecore trc # emerge -pv sun-jdk These are the packages that would be merged, in order: Calculating dependencies... done! [ebuild NS ] sys-devel/gcc-3.3.6-r1 USE="fortran gtk nls (-altivec) -bootstrap -boundschecking -build -doc -gcj (-hardened) -ip28 -ip32r10k -libffi (-multilib) -multislot (-n32) (-n64) -nocxx -nopie -nossp -objc -test -vanilla" 0 kB [ebuild N ] app-portage/portage-utils-0.1.29 78 kB [ebuild N ] dev-java/java-config-wrapper-0.15 7 kB [ebuild N ] virtual/libstdc++-3.3 0 kB [ebuild N ] dev-java/java-config-2.1.5 39 kB [ebuild N ] dev-java/java-config-1.3.7 15 kB [ebuild N ] dev-java/sun-jdk-1.6.0.04 USE="X alsa -doc -examples -jce -nsplugin -odbc" 68,805 kB Total: 7 packages (6 new, 1 in new slot), Size of downloads: 68,941 kB
代码:
--with-pkgversion=Gentoo 3.3.6-r1 p1.5, ssp-3.3.6-1.0, pie-8.7.8 /var/tmp/portage/sys-devel/gcc-3.3.6-r1/work/gcc-3.3.6/configure --prefix=/usr --bindir=/usr/i686-pc-linux-gnu/gcc-bin/3.3.6 --includedir=/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.6/include --datadir=/usr/share/gcc-data/i686-pc-linux-gnu/3.3.6 --mandir=/usr/share/gcc-data/i686-pc-linux-gnu/3.3.6/man --infodir=/usr/share/gcc-data/i686-pc-linux-gnu/3.3.6/info --with-gxx-include-dir=/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.6/include/g++-v3 --host=i686-pc-linux-gnu --build=i686-pc-linux-gnu --disable-altivec --enable-nls --without-included-gettext --with-system-zlib --disable-checking --disable-werror --enable-secureplt --disable-libunwind-exceptions --disable-multilib --disable-libgcj --with-arch=i686 --enable-languages=c,c++,treelang,f77 --enable-shared --enable-threads=posix --enable-__cxa_atexit --enable-clocale=gnu --with-bugurl=http://bugs.gentoo.org/ --with-pkgversion=Gentoo 3.3.6-r1 p1.5, ssp-3.3.6-1.0, pie-8.7.8 *** This configuration is not supported in the following subdirectories: target-libffi target-boehm-gc target-zlib target-libjava zlib fastjar target-libobjc (Any other directories should still work fine.) Created "Makefile" in /var/tmp/portage/sys-devel/gcc-3.3.6-r1/work/build using "mt-frag" Configuring libiberty... configure: warning: p1.5,: invalid host type configure: error: can only configure for one host and one target at a time Configure in /var/tmp/portage/sys-devel/gcc-3.3.6-r1/work/build/libiberty failed, exiting. ERROR: sys-devel/gcc-3.3.6-r1 failed.
我的emerge --info
代码:
applecore trc # emerge --info Portage 2.1.4.4 (default-linux/x86/2007.0, gcc-4.2.3, glibc-2.7-r1, 2.6.24-gentoo-r3 i686) ================================================================= System uname: 2.6.24-gentoo-r3 i686 Intel(R) Pentium(R) D CPU 2.80GHz Timestamp of tree: Sun, 23 Mar 2008 09:30:01 +0000 app-shells/bash: 3.2_p33 dev-lang/python: 2.4.4-r9, 2.5.1-r5 dev-python/pycrypto: 2.0.1-r6 sys-apps/baselayout: 1.12.11.1 sys-apps/sandbox: 1.2.18.1-r2 sys-devel/autoconf: 2.13, 2.61-r1 sys-devel/automake: 1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.1 sys-devel/binutils: 2.18-r1 sys-devel/gcc-config: 1.4.0-r4 sys-devel/libtool: 1.5.26 virtual/os-headers: 2.6.24 ACCEPT_KEYWORDS="x86 ~x86" CBUILD="i686-pc-linux-gnu" CFLAGS="-march=prescott -O2 -pipe -fomit-frame-pointer" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/config" CONFIG_PROTECT_MASK="/etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/terminfo /etc/udev/rules.d" CXXFLAGS="-march=prescott -O2 -pipe -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="distlocks metadata-transfer sandbox sfperms strict unmerge-orphans userfetch" GENTOO_MIRRORS="ftp://ftp.sjtu.edu.cn/gentoo" LANG="zh_CN.GB2312" LC_ALL="zh_CN.GB2312" LINGUAS="zh_CN" MAKEOPTS="-j3" PKGDIR="/usr/portage/packages" 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/portage/local/layman/gentoo-china" SYNC="rsync://61.135.158.199/gentoo-portage" USE="X acl alsa apache2 avi berkdb cairo cjk cli cracklib crypt dri dvb ffmpeg firefox fortran ftp gdbm gif glx gnome gpm gtk gtk2 gtkhtml icc iconv isdnlog javascript jpeg mad midi mmx mp3 mpeg mpeg4 msn mudflap mysql ncurses nls nptl nptlonly opengl openmp oss pam pcre pdf perl php png pppd python qq quicktime readline real reflection rmvb ruby session spl ssl svg tcpd tiff truetype unicode usb win32codecs wma x86 xml xml2 xorg xv zlib" ALSA_CARDS="intel8x0" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter 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" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="zh_CN" USERLAND="GNU" VIDEO_CARDS="i810" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
上传的附件
environment.txt (4.2 KB, 0 次查看) | |
build.log.txt (9.6 KB, 3 次查看) |
作者: woodenapple 发布时间: 2008-03-25
先安装 sys-libs/libstdc++-v3
再装java试试
再装java试试
作者: druggo 发布时间: 2008-03-25
引用:
作者: druggo
先安装 sys-libs/libstdc++-v3
再装java试试 |
哎,蹊跷的事情都让我碰到了。最怕configure的时候报错
作者: woodenapple 发布时间: 2008-03-25
引用:
作者: druggo
先安装 sys-libs/libstdc++-v3
再装java试试 |
代码:
emerge libstdc++-v3
作者: woodenapple 发布时间: 2008-03-25
把-march改成i686试试?
作者: jjj311 发布时间: 2008-03-25
相关阅读 更多
热门阅读
-
office 2019专业增强版最新2021版激活秘钥/序列号/激活码推荐 附激活工具
阅读:74
-
如何安装mysql8.0
阅读:31
-
Word快速设置标题样式步骤详解
阅读:28
-
20+道必知必会的Vue面试题(附答案解析)
阅读:37
-
HTML如何制作表单
阅读:22
-
百词斩可以改天数吗?当然可以,4个步骤轻松修改天数!
阅读:31
-
ET文件格式和XLS格式文件之间如何转化?
阅读:24
-
react和vue的区别及优缺点是什么
阅读:121
-
支付宝人脸识别如何关闭?
阅读:21
-
腾讯微云怎么修改照片或视频备份路径?
阅读:28