Не собирается mysql-5.0.60-r1 [РЕШЕНО]
checking whether we are using the GNU C compiler... yes
checking whether i686-pc-linux-gnu-gcc accepts -g... yes
checking for i686-pc-linux-gnu-gcc option to accept ISO C89... none needed
checking whether we are using gcc version 2.96... no
checking whether g++ requires -fhandle-exceptions... no
../../././bdb/dist/configure: line 5960: LTOPTIONS_VERSION: command not found
../../././bdb/dist/configure: line 5961: LTSUGAR_VERSION: command not found
../../././bdb/dist/configure: line 5962: LTVERSION_VERSION: command not found
../../././bdb/dist/configure: line 5963: LTOBSOLETE_VERSION: command not found
checking for a sed that does not truncate output... /bin/sed
../../././bdb/dist/configure: line 6040: syntax error near unexpected token `lt_decl_varnames,'
../../././bdb/dist/configure: line 6040: `lt_if_append_uniq(lt_decl_varnames, SED, , ,'
configure: error: could not configure Berkeley DB
!!! Please attach the following file when seeking support:
!!! /var/tmp/portage/dev-db/mysql-5.0.60-r1/work/mysql/config.log
*
* ERROR: dev-db/mysql-5.0.60-r1 failed.
* Call stack:
* ebuild.sh, line 49: Called src_compile
* environment, line 3576: Called mysql_src_compile
* environment, line 3184: Called econf '--libexecdir=/usr/sbin' '--sysconfdir=/etc/mysql' '--localstatedir=/var/lib/mysql' '--sharedstatedir=/usr/share/mysql' '--libdir=/usr/lib/mysql' '--includedir=/usr/include/mysql' '--with-low-memory' '--with-client-ldflags=-lstdc++' '--enable-thread-safe-client' '--with-comment=Gentoo Linux mysql-5.0.60-r1' '--without-docs' '--without-big-tables' '--enable-local-infile' '--with-extra-charsets=all' '--with-mysqld-user=mysql' '--with-server' '--with-unix-socket-path=/var/run/mysqld/mysqld.sock' '--without-libwrap' '--enable-shared' '--enable-static' '--without-debug' '--with-charset=utf8' '--with-collation=utf8_general_ci' '--without-embedded-privilege-control' '--without-embedded-server' '--with-bench' '--enable-assembler' '--with-extra-tools' '--with-innodb' '--without-readline' '--with-openssl' '--with-berkeley-db=./bdb' '--with-geometry' '--without-ndbcluster'
* ebuild.sh, line 548: Called die
* The specific snippet of code:
* die "econf failed"
* The die message:
* econf failed
*
* 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.60-r1/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/dev-db/mysql-5.0.60-r1/temp/environment'.
*
>>> Failed to emerge dev-db/mysql-5.0.60-r1, Log file:
>>> '/var/tmp/portage/dev-db/mysql-5.0.60-r1/temp/build.log'
* Messages for package sys-kernel/gentoo-sources-2.6.26-r2:
* If you are upgrading from a previous kernel, you may be interested
* in the following document:
* - General upgrade guide: http://www.gentoo.org/doc/en/kernel-upgrade.xml
* Messages for package dev-db/mysql-5.0.60-r1:
* Berkeley DB support is deprecated and will be removed in future versions!
* MySQL MY_DATADIR is /var/lib/mysql
* MySQL datadir found in /var/lib/mysql
* A new one will not be created.
*
* ERROR: dev-db/mysql-5.0.60-r1 failed.
* Call stack:
* ebuild.sh, line 49: Called src_compile
* environment, line 3576: Called mysql_src_compile
* environment, line 3184: Called econf '--libexecdir=/usr/sbin' '--sysconfdir=/etc/mysql' '--localstatedir=/var/lib/mysql' '--sharedstatedir=/usr/share/mysql' '--libdir=/usr/lib/mysql' '--includedir=/usr/include/mysql' '--with-low-memory' '--with-client-ldflags=-lstdc++' '--enable-thread-safe-client' '--with-comment=Gentoo Linux mysql-5.0.60-r1' '--without-docs' '--without-big-tables' '--enable-local-infile' '--with-extra-charsets=all' '--with-mysqld-user=mysql' '--with-server' '--with-unix-socket-path=/var/run/mysqld/mysqld.sock' '--without-libwrap' '--enable-shared' '--enable-static' '--without-debug' '--with-charset=utf8' '--with-collation=utf8_general_ci' '--without-embedded-privilege-control' '--without-embedded-server' '--with-bench' '--enable-assembler' '--with-extra-tools' '--with-innodb' '--without-readline' '--with-openssl' '--with-berkeley-db=./bdb' '--with-geometry' '--without-ndbcluster'
* ebuild.sh, line 548: Called die
* The specific snippet of code:
* die "econf failed"
* The die message:
* econf failed
*
* 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.60-r1/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/dev-db/mysql-5.0.60-r1/temp/environment'.
*
* Regenerating GNU info directory index...
* Processed 161 info files.
* IMPORTANT: 157 config files in '/etc' need updating.
* See the CONFIGURATION FILES section of the emerge
* man page to learn how to update config files.
Что за траблы с Berkley DB, пакет db-4.5 установлен. В use флагах berk есть.
- Для комментирования войдите или зарегистрируйтесь
blue vulzscht # USE="berkdb"
blue vulzscht # USE="berkdb" emerge dev-db/mysql
Calculating dependencies... done!
>>> Verifying ebuild manifests
>>> Emerging (1 of 1) dev-db/mysql-5.0.60-r1
* mysql-5.0.60.tar.gz RMD160 SHA1 SHA256 size ;-) ... [ ok ]
* mysql-extras-20080601.tar.bz2 RMD160 SHA1 SHA256 size ;-) ... [ ok ]
* checking ebuild checksums ;-) ... [ ok ]
* checking auxfile checksums ;-) ... [ ok ]
* checking miscfile checksums ;-) ... [ ok ]
* Berkeley DB support is deprecated and will be removed in future versions!
>>> Unpacking source...
возникает вопрос, насколько лениво читать аутпут, хотя всякое бывает..
возможное решение - собирать без berkdb
Не помогло
Попробовал собрать не помагает, да и я уже говорил что berkdb в юзе флагах у меня есть. А вот с USE="-berk" собрался.