[gobolinux-devel] Compile 1.9.0 and python recipes
Giambattista Bloisi
giamby at infinito.it
Sun Dec 2 00:26:37 NZDT 2007
Hi all,
I just noted that it looks like Compile needs PYTHONPATH to get the
python version (lines 1038-1040 of Compile). If you don't have it set
you get an error.
[ "$PYTHONPATH" ] || Die "Environment variable PYTHONPATH is not set.
Set it to something like '.:$goboLibraries/python2.3/site-packages'."
build_tree_if "true"
sitepackages="$target/lib/python${PYTHONPATH##*/python}"
Instead of this, what about getting the python version as in the
Unsermake recipe ?
pythonversion=`python --version 2>&1 | awk {'print $2'} | cut -b1-3`
unsermakedir=$target/lib/python${pythonversion}/site-packages/unsermake
Regards,
Giambattista
More information about the gobolinux-devel
mailing list