Subject: Re: [ecasound] My modification to ecasound build scripts (2.0.3) wrt python
From: Kai Vehmanen (k_AT_eca.cx)
Date: Tue Dec 04 2001 - 20:01:53 EET
On Wed, 5 Dec 2001, Junichi Uekawa wrote:
> I am reporting back what I have modified in ecasound in order to build for
> - python_incdirs="/usr/local/include/python2.0 /usr/include/python2.0 /usr
> /local/include/python1.6 /usr/include/python1.6 /usr/local/include/python1.5 /us
> r/include/python1.5 /usr/local/include /usr/include "
> + python_incdirs="/usr/local/include/python2.1 /usr/include/python2.1 /usr
> /local/include/python2.0 /usr/include/python2.0 /usr/local/include/python1.6 /us
> r/include/python1.6 /usr/local/include/python1.5 /usr/include/python1.5 /usr/loc
> al/include /usr/include "
> python_incdirsmore=`python -c "import sys; print (sys.prefix + '/include
> /python' + sys.version[[:3]])"`
... should already do the trick. But as it turns out, the above is broken!
It should be '...sys.version[:3]'. For instance on my machine:
|~|$ echo `python -c "import sys; print (sys.prefix + '/include/python' + sys.version[:3])"`
Tested with python1.5.2 and 2.0; works on both.
-- http://www.eca.cx Audio software for Linux!
-- To unsubscribe send message 'unsubscribe' in the body of the message to <ecasound-list-request_AT_wakkanet.fi>.
This archive was generated by hypermail 2b28 : Tue Dec 04 2001 - 19:54:25 EET