LinuxSir.cn,穿越时空的Linuxsir!

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

mysql安装失败

[复制链接]
发表于 2008-5-11 22:34:04 | 显示全部楼层 |阅读模式
* Running automake --add-missing --copy --foreign ...                                                                        [ !! ]

* Failed Running automake !
*
* Include in your bugreport the contents of:
*
*   /var/tmp/portage/dev-db/mysql-5.0.56/temp/automake-31471.out

*
* ERROR: dev-db/mysql-5.0.56 failed.
* Call stack:
*               ebuild.sh, line   49:  Called src_unpack
*             environment, line 3624:  Called mysql_src_unpack
*             environment, line 3276:  Called eautoreconf
*             environment, line 1174:  Called eautoreconf
*             environment, line 1190:  Called eautomake
*             environment, line 1164:  Called autotools_run_tool 'automake' '--add-missing' '--copy' '--foreign'
*             environment, line  481:  Called die
* The specific snippet of code:
*           die "Failed Running $1 !";
*  The die message:
*   Failed Running automake !
*
* If you need support, post the topmost build error, and the call stack if relevant.
* A complete build log is located at '/var/tmp/portage/dev-db/mysql-5.0.56/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/dev-db/mysql-5.0.56/temp/environment'.
*

Portage 2.1.5_rc9 (hardened/linux/amd64, gcc-4.1.2, glibc-2.7-r2, 2.6.25-gentoo-r2 x86_64)
=================================================================
System uname: 2.6.25-gentoo-r2 x86_64 AMD Athlon(tm) 64 X2 Dual Core Processor 3800+
Timestamp of tree: Sun, 11 May 2008 01:45:02 +0000
app-shells/bash:     3.2_p39
dev-lang/python:     2.4.4-r6
sys-apps/baselayout: 2.0.0
sys-apps/openrc:     0.2.3
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.62
sys-devel/automake:  1.9.6-r2, 1.10.1-r1
sys-devel/binutils:  2.18-r1
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   2.2.4
virtual/os-headers:  2.6.25-r1
ACCEPT_KEYWORDS="amd64 ~amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=k8 -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb"
CONFIG_PROTECT_MASK="/etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-march=k8 -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks parallel-fetch sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="ftp://ftp3.tsinghua.edu.cn/mirror/gentoo ftp://ftp.jaist.ac.jp/pub/Linux/Gentoo"
LDFLAGS=""
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"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X amd64 avahi berkdb cli cracklib crypt dbus dri gnome gtk hal hardened iconv isdnlog justify midi mmx mudflap multilib ncurses openmp pam pcre perl pic pppd python readline reflection session spl sse sse2 ssl tcpd urandom 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 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 evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="fbdev glint i810 mach64 mga neomagic nv r128 radeon savage sis tdfx trident vesa vga via vmware voodoo"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
发表于 2008-5-11 22:44:27 | 显示全部楼层
不知道对不对~
我想楼主应该打开ebuild.sh看一下,line 481
知道了什么条件导致它终止,应该能找出问题吧
回复 支持 反对

使用道具 举报

发表于 2008-5-11 22:49:30 | 显示全部楼层
服务器最好用hardened的profile。
回复 支持 反对

使用道具 举报

 楼主| 发表于 2008-5-11 22:58:14 | 显示全部楼层
Post by wxw;1848451
服务器最好用hardened的profile。


麻烦解释一下好么?
回复 支持 反对

使用道具 举报

 楼主| 发表于 2008-5-11 23:05:57 | 显示全部楼层
换了profile以后有没有必要
# emaint --check world
# emerge -e world
# revdep-rebuild

谢谢
回复 支持 反对

使用道具 举报

发表于 2008-5-11 23:59:13 | 显示全部楼层
有关automake的问题,先放一放
过段时间再试
回复 支持 反对

使用道具 举报

发表于 2008-5-12 14:06:36 | 显示全部楼层
Post by forrest_zhang;1848457
换了profile以后有没有必要
# emaint --check world
# emerge -e world
# revdep-rebuild

谢谢


有必要.本人甚至先做了 -e system, gcc的版本不一样.
回复 支持 反对

使用道具 举报

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

本版积分规则

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