The python provided by OSX doesn't install python-config (obviously). The result is: >>> md5 src_uri ;-) gentoolkit-0.2.1_rc2.tar.gz >>> Unpacking source... >>> Unpacking gentoolkit-0.2.1_rc2.tar.gz to /var/tmp/portage/gentoolkit-0.2.1_rc2/work >>> Source unpacked. echo "YARMOUTH (vb.) To shout at foreigners in the belief that the louder you speak, the better they'll understand you." YARMOUTH (vb.) To shout at foreigners in the belief that the louder you speak, the better they'll understand you. echo "`python-config | sed 's/-l//' | sed 's/ -lm.*//'`" /bin/sh: line 1: python-config: command not found gentoolkit, however, does appear to be fully functional despite of this problem. Each alternative arch that currently has no way (yet) to install a portage provided python will stumble upon this problem. Reproducible: Always Steps to Reproduce: 1. 2. 3.
Does the following command work on OSX? ver=`LC_COLLATE=C; python -V 2>&1 | tr '[:upper:]' '[:lower:]' | sed 's/ //g;s/\([0-9]\.[0-9]\)\.[0-9]/\1/'` echo $ver It should return the string python<major>.<minor> i.e python2.4
bash-3.00$ ver=`LC_COLLATE=C; python -V 2>&1 | tr '[:upper:]' '[:lower:]' | sed 's///g;s/\([0-9]\.[0-9]\)\.[0-9]/\1/'` sed: -e expression #1, char 0: no previous regular expression I editted to this: bash-3.00$ ver=`LC_COLLATE=C; python -V 2>&1 | tr '[:upper:]' '[:lower:]' | sed -e 's/ //g;s/\([0-9]\.[0-9]\)\.[0-9]/\1/'` bash-3.00$ echo $ver python2.4 does that do what you want?
That is what I was looking for. Do you mind bumping rc2 to rc3 in your overlay and placing dev.g.o/~fuzzyray/distfiles/gentoolkit-0.2.1_rc3.tar.gz in your distfiles directory and testing the install. On my system, I am getting no errors at all with that version.
I forgot to add, when done testing, you should probably remove it from your overlay as that tarball is most likely not going to be the final rc3 tarball
the error/warning at compile time is now gone. I already used rc2 with no problems. I'm not a heavy user of the tools, but they appear to work fine for me.
Fixed with gentoolkit-0.2.1_rc3