On Sat, 01 Dec 2007 12:26:37 +0100, Giambattista Bloisi <[EMAIL PROTECTED]> 
wrote:

> 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
>
>
Yes, similar functionality is already in the Compile CVS.

-- 
/Jonas

Using Opera's revolutionary e-mail client: http://www.opera.com/mail/
_______________________________________________
gobolinux-devel mailing list
gobolinux-devel@lists.gobolinux.org
http://lists.gobolinux.org/mailman/listinfo/gobolinux-devel

Reply via email to