1 |
Hi, |
2 |
|
3 |
Because I need / want to develop some stuff against MySQL-5.1 on my |
4 |
Macbook I started porting the mysql-ebuild to my prefix environment |
5 |
using ecopy and friends. |
6 |
|
7 |
In addition I need dev-python/mysql-python and sqlalchemy with the mysql |
8 |
useflag turned on. |
9 |
|
10 |
I've ecopy'd: |
11 |
|
12 |
dev-db/mysql-community-5.1.21_beta |
13 |
dev-python/mysql-python-1.2.2-r1 |
14 |
dev-db/mysql-init-scripts-1.2 |
15 |
virtual/mysql-5.1 |
16 |
|
17 |
Helpful bugs are: |
18 |
|
19 |
Porting in general: |
20 |
https://bugs.gentoo.org/attachment.cgi?id=164488 |
21 |
(Sorry forgot to bookmark the bug and am too lazy to search my IRC logs |
22 |
for it ) |
23 |
|
24 |
mysql-python: |
25 |
(also contains description on how to get mysql running/ecopy'd) |
26 |
http://bugs.gentoo.org/show_bug.cgi?id=220753 |
27 |
|
28 |
init-scripting: |
29 |
http://bugs.gentoo.org/show_bug.cgi?id=196294 |
30 |
|
31 |
The result is that I have a working ebuild for |
32 |
mysql-community-5.1.21_beta which I emerged with use-flags: ssl |
33 |
|
34 |
As soon as I add innodb as use-flag innodb cmake gets pulled in as a |
35 |
dependency which fails to build on macosx-x86, possibly due to |
36 |
https://bugs.gentoo.org/show_bug.cgi?id=236740 |
37 |
|
38 |
I have not yet had the time to investigate any further into this. |
39 |
|
40 |
emerge --config fails due to an unknown option used when starting the |
41 |
server (--skip-ndbcluster) which is added in the mysql.eclass for all |
42 |
server above version 4.1.3, if I remove that there's an unknown option |
43 |
for --skip-innodb, seems like the eclass might need a small revamp to |
44 |
deal with the new plugin setup in 5.1 |
45 |
|
46 |
Caveats: |
47 |
|
48 |
install-db scripting needs to be run by hand. |
49 |
no innodb support |
50 |
no working init-script |
51 |
ownership of the logfiles need to be reset by hand |
52 |
|
53 |
I have the following questions: |
54 |
|
55 |
* What testing if any is normal for this kind of stuff ? I'm looking |
56 |
into getting the test-suite to run on the installed bins, is that |
57 |
mandatory for prefix ? |
58 |
* What is the current idea of init-scripts for these type of services, |
59 |
should the init-scripts be patched to work on alt-platformX ? |
60 |
* How to get these ebuilds into prefix, open a bug ? |
61 |
* What about the eclass updates that are necessary (this most likely |
62 |
affects current "normal" gentoo tree as well ?) |
63 |
* Did I miss anything that needs to be done ? |
64 |
|
65 |
Ramon |