Instead of using the py.pd_linux binary I built and installed py from source. As I first said when I started this thread, it demanded a recursive installation session. And a lot more, including chasing down compiler flags optimized for my CPU model that the automated configuration process didn't generate. Running a sample python script still isn't working, so I'm not sure it's correct. But since Pd says it loaded the py library, I think it probably is the correct installation procedure.
Pd 0.43.4-extended on Linux Mint 15 / Cinnamon / Core i7-3612QM. GNU gcc and ld , automake . Note parameters more specific to my host's installation:
--enable-optimize=core-avx-i
OFLAGS+=-march=core-avx-i
PYTHONVERSION=2.7
* Install pyext
1. Source build
A. https://svn.grrrr.org/ext/trunk/py/readme.txt
1. Install flext
A. https://svn.grrrr.org/ext/trunk/flext/build.txt
1. python2.7-dev, python-numpy, g++ version >=3.3, subversion, libtool, automake
A. apt-get install python2.7-dev python-numpy g++ subversion libtool automake
2. Pd-extended (v0.43.4) source code
A. cd /opt
B. wget http://iweb.dl.sourceforge.net/project/pure-data/pd-extended/0.43.4/Pd-extended_0.43.4-source.tar.bz2
C. tar -xf Pd-extended_0.43.4-source.tar.bz2
3. flext
A. cd /opt
B. svn co https://svn.grrrr.org/ext/trunk/flext
C. cd flext
D. ./bootstrap.sh
E. ./configure --with-sdkdir=/opt/pd-extended/pd/src
--prefix=/usr --enable-system=pd --with-pic --with-gnu-ld
--enable-optimize=core-avx-i
F. make
G. sudo make install
4. py
A. cd /opt
B. svn co https://svn.grrrr.org/ext/trunk/py/
C. cd py
D. ../flext/build.sh pd gcc
1. (flext creates ../flext/buildsys/config-lnx-pd-gcc.txt )
2.
cp ../flext/buildsys/config-lnx-pd-gcc.txt ../flext/buildsys/config-lnx-pd-gcc.txt.orig
3. vi ../flext/buildsys/config-lnx-pd-gcc.txt
A. PDPATH=/usr/local/src/pd -> PDPATH=/opt/pd-extended/pd
B. INSTPATH=/usr/local/lib/pd/extra ->
INSTPATH=/usr/lib/pd-extended/extra
C. # optimizations for core-i7-3216QM
D. OFLAGS+=-march=pentium4 -> OFLAGS+=-march=core-avx-i
E. ../flext/build.sh pd gcc
1. (flext creates ./config.txt)
2. cp ./config.txt ./config.txt.orig
3. vi ./config.txt
4. PYTHONVERSION=2.4 -> PYTHONVERSION=2.7
F. ../flext/build.sh pd gcc
1. (flext builds py.pd_linux )
G. ../flext/build.sh pd gcc
1. (flext installs /usr/lib/pd-extended/extra/py.pd_linux )
* Use pyext
1. Pd Window: Log: 4
2. Pd: File: New
3. Put: Object: [import py]
4. Pd Window:
==============================================
py/pyext 0.2.2 - python script objects
(C)2002-2011 Thomas Grill - http://grrrr.org/ext
using Python 2.7.4 (default, Apr 19 2013, 18:30:41)
[GCC 4.7.3]
Python array support enabled
[import] loaded library: 'py'