Skip to content

Instantly share code, notes, and snippets.

@hellocatfood
Created January 8, 2015 18:50
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save hellocatfood/46dec37ed533c57e4519 to your computer and use it in GitHub Desktop.
Save hellocatfood/46dec37ed533c57e4519 to your computer and use it in GitHub Desktop.
Installation instructions for Flext and Py ext
Installation instructions for Flext and pyext on Ubuntu 14.10 (64 Bit) on a Dell XPS 13
Download the Pure Data source code
git clone git://git.code.sf.net/p/pure-data/pure-data/
Checkout flext
svn co https://svn.grrrr.org/ext/trunk/flext/
cd into flext
run ./build.sh pd gcc
This will return an error but will also create a config file in ./buildsys/
cd to buildsys and open config-lnx-pd-gcc.txt
Change line 3 to the PDPATH variable to point to the Pure Data source code e.g. PDPATH=/home/hellocatfood/Desktop/pure-data/src
Optionally change OUTPATH on line 17 and INSTPATH on line 20 to point to a different directory to build and install externals e.g. OUTPATH=/home/hellocatfood/Desktop/flext/pd-linux and INSTPATH=/home/hellocatfood/pd-externals/
Change line 61 to match your system architecture. I am using a 64 bit machine so it reads OFLAGS+=-march=x86-64
Still in the Flext directory, run ./build.sh pd gcc. This will create a config.txt file.
Run ./build.sh pd gcc again.
Then run sudo ./build.sh pd gcc install
Now checkout the py ext source code
svn co https://svn.grrrr.org/ext/trunk/py/
From the py folder run
bash /home/hellocatfood/Desktop/flext/build.sh pd gcc install
It will return an error but also create a config.txt file. Open this file and change PYTHONVERSION on line 5 to PYTHONVERSION=2.7 (I haven't tried compiling against Python 3). You may need to install python-dev (sudo apt-get install pthon-dev)
Then run
bash /home/hellocatfood/Desktop/flext/build.sh pd gcc
Finally, bash /home/hellocatfood/Desktop/flext/build.sh pd gcc install
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment