Проблема сборки mysql [РЕШЕНО]
kolokol 23 июля, 2011 - 15:11
Решил поставить апач+мускуль+пхп.
По блогам иинету порылся,нашел какие то манки,по ним собсно и ставил. мускуль не собирается =(
../ylwrap: line 111: -d: command not found make[1]: *** [sql_yacc.cc] Error 1 make[1]: Leaving directory `/var/tmp/portage/dev-db/mysql-5.1.56/work/mysql/sql' make: *** [all-recursive] Error 1 emake failed * ERROR: dev-db/mysql-5.1.56 failed (compile phase): * emake failed * * Call stack: * ebuild.sh, line 56: Called src_compile * environment, line 4348: Called mysql_src_compile * environment, line 3803: Called die * The specific snippet of code: * emake || die "emake failed"; * * If you need support, post the output of 'emerge --info =dev-db/mysql-5.1.56', * the complete build log and the output of 'emerge -pqv =dev-db/mysql-5.1.56'. * The complete build log is located at '/var/tmp/portage/dev-db/mysql-5.1.56/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/dev-db/mysql-5.1.56/temp/environment'. * S: '/var/tmp/portage/dev-db/mysql-5.1.56/work/mysql' >>> Failed to emerge dev-db/mysql-5.1.56, Log file: >>> '/var/tmp/portage/dev-db/mysql-5.1.56/temp/build.log' * Messages for package dev-db/mysql-5.1.56: * MySQL MY_DATADIR is /var/lib/mysql * Before using the Federated storage engine, please be sure to read * http://dev.mysql.com/doc/refman/5.1/en/federated-limitations.html * ERROR: dev-db/mysql-5.1.56 failed (compile phase): * emake failed * * Call stack: * ebuild.sh, line 56: Called src_compile * environment, line 4348: Called mysql_src_compile * environment, line 3803: Called die * The specific snippet of code: * emake || die "emake failed"; * * If you need support, post the output of 'emerge --info =dev-db/mysql-5.1.56', * the complete build log and the output of 'emerge -pqv =dev-db/mysql-5.1.56'. * The complete build log is located at '/var/tmp/portage/dev-db/mysql-5.1.56/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/dev-db/mysql-5.1.56/temp/environment'. * S: '/var/tmp/portage/dev-db/mysql-5.1.56/work/mysql'
cat /etc/portage/package.use
>=www-servers/apache-2.2.17 ssl -threads -ldap >=dev-lang/php-5.3.6 apache2 berkdb bzip2 cgi cli crypt ctype curl gd gdbm ftp iconv imap hash ldap mhash mysql ncurses nls pcre posix readline reflection session snmp sockets spell spl ssl suhosin truetype unicode xml xsl zip zlib yaz >=dev-db/mysql-5.1.56 doc big-tables extraengine utf8 >=dev-libs/apr-util-1.3.11 -ldap
cat /etc/make.conf
# These settings were set by the catalyst build script that automatically # built this stage. # Please consult /usr/share/portage/config/make.conf.example for a more # detailed example. CFLAGS="-O2 -march=i686 -pipe" CXXFLAGS="${CFLAGS}" # WARNING: Changing your CHOST is not something that should be done lightly. # Please consult http://www.gentoo.org/doc/en/change-chost.xml before changing. CHOST="i686-pc-linux-gnu" GENTOO_MIRRORS="http://mirror.yandex.ru/gentoo-distfiles/" USER="-alsa -arts -cups -gnome -gtk -ldap -mpeg -opengl -qt -X -xv apache2 curl dba exif expat gd imagemagick jpeg mysql pcre vhosts xml"
uname -a
Linux gentoo_vm 2.6.38-gentoo-r6 #2 SMP Sat Jul 23 01:48:33 MSD 2011 i686 Intel(R) Core(TM) i5 CPU 760 @ 2.80GHz GenuineIntel GNU/Linux
Поискал поискал,вроде бы говорят есть такая бага с 5.1.56, но решается у всех с emerge --sync. А у меня вот нет( Подскажите как решить?(
»
- Для комментирования войдите или зарегистрируйтесь
Попробуй переставить bison.
Попробуй переставить bison.
Не грусти, товарищ! Всё хорошо, beautiful good!
спасибо)) помогло.либо
спасибо)) помогло.либо оно,либо то,что собираю мир.