When attempting to emerge mysql I get the following: ---snip--- checking character sets... default: latin1; compiled in: latin1 big5 cp1251 cp1257 croat czech danish dec8 dos estonia euc_kr gb2312 gbk german1 greek hebrew hp8 hungarian koi8_ru koi8_ukr latin2 latin5 swe7 usa7 win1250 win1251 win1251ukr ujis sjis tis620 checking for BerkeleyDB... supplied configure: error: didn't find valid BerkeleyDB: invalid version 3.2.9 (must be version 3.2.3h or 3.2.9a) !!! ERROR: The ebuild did not complete successfully. !!! Function src_compile, Line 54, Exitcode 1 !!! bad ./configure !!! emerge aborting on /usr/portage/dev-db/mysql/mysql-3.23.51.ebuild . ---snip--- I currently have db-3.2.9 installed. In order for MySQL to compile properly, I had to emerge db-3.2.3h-r4.ebuild. Any ideas?
One other thing to note... emerging db-3.2.3h-r4.ebuild broke a few different applications because it overwrites db-3.2.9. I manually changed the flags in MySQL to myconf="--without-berkeley-db --with-readline --enable-shared --enable-static --with-libwrap --without-innodb --without-debug". You might want to include a seperate package for the version of BerkeleyDB required by MySQL.
I cannot reproduce this; can anyone else? * sys-libs/db Latest version Available: 3.2.3h-r4 Latest version Installed: 3.2.3h-r4 Homepage: http://www.mysql.com * dev-db/mysql Latest version Available: 3.23.51 Latest version Installed: [ Not Installed ] Homepage: http://www.mysql.com/ (mysql compiled and installed fine, I just unmerged though)
i also have the problem sys-libs/db-3.2.9
Same problem here: * sys-libs/db Latest version Available: 3.2.9 Latest version Installed: 3.2.9 Homepage: http://www.sleepycat.com/ Description: Berkeley DB for transaction support in MySQL
Same problem with mysql-3.23.51-r1.ebuild. I just got the following with db- 3.2.9.ebuild installed: ---snip--- checking for BerkeleyDB... supplied configure: error: didn't find valid BerkeleyDB: invalid version 3.2.9 (must be version 3.2.3h or 3.2.9a) !!! ERROR: The ebuild did not complete successfully. !!! Function src_compile, Line 54, Exitcode 1 !!! bad ./configure !!! emerge aborting on /usr/portage/dev-db/mysql/mysql-3.23.51-r1.ebuild . ---snip---
i too am having the same problem on 3 different systems: checking for BerkeleyDB... supplied configure: error: didn't find valid BerkeleyDB: invalid version 3.2.9 (must be version 3.2.3h or 3.2.9a) !!! ERROR: The ebuild did not complete successfully. !!! Function src_compile, Line 54, Exitcode 1 !!! bad ./configure !!! emerge aborting on /usr/portage/dev-db/mysql/mysql-3.23.51-r1.ebuild .
The only workaround I had found is: USE="-berkdb" emerge mysql But if you need berkDB in Mysql, it's not your solution.
Same thing (Exactly) happened to me today. I'm awaiting a fix, or workaround.
Same problem here - db-3.2.9 is not sufficient (but the latest as per "emerge --clean rsync").
As with portage-20020702.tar.bz2 update, mysql recompiles (emerge --update emerge --update world ) same error checking for BerkeleyDB... supplied configure: error: didn't find valid BerkeleyDB: invalid version 3.2.9 (must be version 3.2.3h or 3.2.9a)
*** Bug 4445 has been marked as a duplicate of this bug. ***
I have also the same problem. I had none of the sys-libs/db packages installed. But what I did was I : cd /user/portage/sys-libs/db emerge db-3.2.3h-r4.ebuild emerge mysql Woila! :) One of two need to be done, fix deps in mysql to include this, or someway upgrade BerkleyDB to support a newer version of DB like 4.0.14 or something.
Well, I don't like it. I need BerkDB (at least for testing) in MySQL, and I need this up on a webserver, so I want recent versions, because I'm too lazy to look up potential issues, and I assume that recent versions have recent bugfixes. So I'm putting it off, for now, since MySQL was just a dependency of aide: USE="... -berkdb -mysql ..."
hmm, im using db 4.0.14 and i dont have any problems with mysql and bdb... everything works fine..
*** This bug has been marked as a duplicate of 3836 ***