I would like a mysql-5.1.21_beta install on my Mac OSX prefix install. Currently working on ecopy-ing the ebuild into the tree and getting innodb enabled This bug is a placeholder for progress until I have all the issues fixed and a fully tested and working ebuild Reproducible: Always
Enabling innodb pulls in cmake which failed to build unless you have latest gcc-apple and odcctools. See #237185
After ecopy and cmake fix ebuild ends with following errors: chown: changing ownership of `$EPREFIX/var/log/mysql/mysql.err': Operation not permitted chown: changing ownership of `$EPREFIX/var/log/mysql/mysql.log': Operation not permitted dodoc: support-files/my-*.cnf does not exist dodoc: support-files/magic does not exist dodoc: support-files/ndb-config-2-node.ini does not exist dodoc: scripts/mysql* does not exist * * You might want to run: * "emerge --config =dev-db/mysql-community-5.1.21_beta" * if this is a new install. * MySQL MY_DATADIR is $EPREFIX/var/lib/mysql * MySQL datadir found in /var/lib/mysql * A new one will not be created. However with innodb useflag enabled the --config phase of the ebuild finishes succesfully
(In reply to comment #2) > After ecopy and cmake fix ebuild ends with following errors: > > chown: changing ownership of `$EPREFIX/var/log/mysql/mysql.err': Operation not > permitted > chown: changing ownership of `$EPREFIX/var/log/mysql/mysql.log': Operation not > permitted > dodoc: support-files/my-*.cnf does not exist > dodoc: support-files/magic does not exist > dodoc: support-files/ndb-config-2-node.ini does not exist > dodoc: scripts/mysql* does not exist You can't do anything about the chown errors, it is a limitation of prefix (by design). The dodoc errors should be fixed in "normal gentoo" and as such, are exceptable to *not* fix in prefix. A bug report should be filed for gentoo-x86 tree. Does it run?
> You can't do anything about the chown errors, it is a limitation of prefix (by > design). OK. > The dodoc errors should be fixed in "normal gentoo" and as such, are > exceptable to *not* fix in prefix. A bug report should be filed for > gentoo-x86 tree. OK, will do > Does it run? I've succesfully started the server, imported a small innodb database and did a couple select/insert/delete queries which all succeeded. I guess the answer is yes :-)
Am I correct when this ebuild appears not to be in gentoo-x86?
ahh, it's a different package.
powerpc-apple-darwin8-gcc -DHAVE_CONFIG_H -I. -I../include -I../include -I../include -O3 -pipe -mcpu=G5 -mtune=G5 -DHAVE_ERRNO_AS_DEFINE=1 -D_P1003_1B_VISIBLE -DSIGNAL_WITH_VIO_CLOSE -DSIGNALS_DONT_BREAK_READ -DIGNORE_SIGHUP_SIGQUIT -DDONT_DECLARE_CXA_PURE_VIRTUAL -MT str2int.o -MD -MP -MF .deps/str2int.Tpo -c -o str2int.o str2int.c In file included from str2int.c:43: ../include/my_sys.h:913: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘resolve_charset’ ../include/my_sys.h:916: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘resolve_collation’ mv -f .deps/int2str.Tpo .deps/int2str.Po
Created attachment 165237 [details] ecopy'd ebuild mysql-community-5.1.21_beta This is the ebuild I use right now
It was my bool patch which was missing. Added in the tree.