I wanna install mysql-python in my gentoo prefix installation. To install the dependencies, ecopy dev-db/mysql{,-community,-init-scripts} and eapify&ekeyword virtual/mysql/mysql-5.0.ebuild and emerge them. But when emerge the ecopied mysql-python, it fails. After some googling, I found a patch from MacPorts project. I will attach the patch and the ebuild lately. Reproducible: Always Steps to Reproduce: 1. 2. 3.
Created attachment 152265 [details] mysql-python-1.2.2.ebuild
Created attachment 152421 [details, diff] mysql-python-macos.patch Sorry for the delay but my internet access was broken last night. Here is the patch.
(In reply to comment #0) > I wanna install mysql-python in my gentoo prefix installation. To install the > dependencies, ecopy dev-db/mysql{,-community,-init-scripts} and eapify&ekeyword > virtual/mysql/mysql-5.0.ebuild and emerge them. But when emerge the ecopied > mysql-python, it fails. Can you please list what versions you have tested? ecopy brings in: mysql-community-5.0.51a, instead of: mysql-community-5.1.21_beta You also list mysql-5.0 whereas 5.1 is the latest. Please report back with the latest versions if they work. Thanks.
the ecopyied/eapified packages are: virtual/mysql-5.0 dev-db/mysql-5.0.56 dev-db/mysql-community-5.0.51a dev-db/mysql-init-scripts-1.2 IIRC, I use virtual/mysql-5.0 because at that time mysql-5.1 is still masked, and all my working mysql server is 5.0.x, hence the mysql-5.0. I will test mysql-5.1 if I have some free time today.
I tried ecopy virtual/mysql and dev-db/mysql just now. Still version 5.0 is fetched? ~/Gentoo/usr/local/portage $ ~/Gentoo/usr/portage/scripts/ecopy dev-db/mysql --2008-05-14 13:04:02-- http://sources.gentoo.org/viewcvs.py/*checkout*/gentoo-x86/dev-db/mysql/ChangeLog Resolving sources.gentoo.org... 140.211.166.162 Connecting to sources.gentoo.org|140.211.166.162|:80... connected. HTTP request sent, awaiting response... 200 OK Length: unspecified [text/plain] Saving to: `ChangeLog.2' [ <=> ] 86,775 31.2K/s in 2.7s 2008-05-14 13:04:08 (31.2 KB/s) - `ChangeLog.2' saved [86775] --2008-05-14 13:04:08-- http://sources.gentoo.org/viewcvs.py/*checkout*/gentoo-x86/dev-db/mysql/metadata.xml Resolving sources.gentoo.org... 140.211.166.162 Connecting to sources.gentoo.org|140.211.166.162|:80... connected. HTTP request sent, awaiting response... 200 OK Length: unspecified [application/xml] Saving to: `metadata.xml.2' [ <=> ] 159 --.-K/s in 1.9s 2008-05-14 13:04:14 (83.7 B/s) - `metadata.xml.2' saved [159] --2008-05-14 13:04:14-- http://sources.gentoo.org/viewcvs.py/*checkout*/gentoo-x86/dev-db/mysql/Manifest Resolving sources.gentoo.org... 140.211.166.162 Connecting to sources.gentoo.org|140.211.166.162|:80... connected. HTTP request sent, awaiting response... 200 OK Length: unspecified [text/plain] Saving to: `Manifest.2' [ <=> ] 8,600 18.5K/s in 0.5s 2008-05-14 13:04:16 (18.5 KB/s) - `Manifest.2' saved [8600] --2008-05-14 13:04:16-- http://sources.gentoo.org/viewcvs.py/*checkout*/gentoo-x86/dev-db/mysql/mysql-5.0.56.ebuild Resolving sources.gentoo.org... 140.211.166.162 Connecting to sources.gentoo.org|140.211.166.162|:80... connected. HTTP request sent, awaiting response... 200 OK Length: unspecified [text/plain] Saving to: `mysql-5.0.56.ebuild.2' [ <=> ] 3,294 --.-K/s in 0.005s 2008-05-14 13:04:21 (630 KB/s) - `mysql-5.0.56.ebuild.2' saved [3294] mysql-5.0.56.ebuild: line 10: inherit: command not found /Users/hongqn/Gentoo/usr/portage/scripts/ecopy: line 55: eapify: command not found /Users/hongqn/Gentoo/usr/portage/scripts/ecopy: line 56: ecleankw: command not found mysql-5.0.56.ebuild >>> Creating Manifest for /Users/hongqn/Gentoo/usr/local/portage/dev-db/mysql
I added it, thanks