jep while crowning patrick as the h.e.r.o. of the day - pyext is running between the 0 and 1! with patricks advice: use this version with python 2.4: http://www.parasitaere-kapazitaeten.net/ext/py/py-0.2.0-pd.tgz & fela kuti in the back this is what i did:
flext 0.5.0 download from http://www.parasitaere-kapazitaeten.net/ext/ & built: bash grill/flext/build.sh pd gcc edit buildsys/config-lnx-pd-gcc.txt to point to pd/src: # where is the PD source package? # (this should point to the main folder, which has a "src" subfolder) PDPATH=/home/olsen/pd/pd-0.39-2
###############################################################
# prefix for flext installation # headers are in $(FLEXTPREFIX)/include/flext # libraries are in $(FLEXTPREFIX)/lib # build system is in $(FLEXTPREFIX)/lib/flext
FLEXTPREFIX=/usr/local
###############################################################
# where should the external be built? OUTPATH=pd-linux
# where should the external be installed? INSTPATH=/usr/local/lib/pd/extra
###############################################################
# user defined compiler flags # (check if they match your system!) UFLAGS=-msse -mfpmath=sse -ffast-math
# user defined optimization flags # (check if they match your system!) OFLAGS=-O3 # optimizations for Pentium 4 OFLAGS+=-march=pentium4
then: bash grill/flext/build.sh pd gcc bash grill/flext/build.sh pd gcc install ldconfig -v | grep flext (you should see libflext) if no libflext shows up vim /etc/ld.so.conf & add /usr/local/lib & vim /etc/ld.so.conf.d/i486-linux-gnu & add /usr/local/lib then
cd grill/py sh ../flext/build.sh pd gcc edit config.txt for telling py/ext to use python 2.4: # what is the base prefix of the Python installation? PYTHONPREFIX=/usr
# which Python version do you want to compile against? PYTHONVERSION=2.4
sh ../flext/build.sh pd gcc sh ../flext/build.sh pd gcc install
this works on ubuntu 7.04 python2.4-dev package should be onboard greets olsen
On 9/12/07, Thomas Grill gr@grrrr.org wrote:
Hi Olsen, actually no, but i will have time next week. You could try to fetch an older version of py/pyext from the cvs in the meantime. greetings, Thomas
Am 12.09.2007 um 14:03 schrieb olsen wolf:
Hej thomas i just wanted to ask if you had already the time to look into it? if so please lemme know - cause i would like to use it in an actual projé! thanks&greets olsen
On 9/3/07, Thomas Grill gr@grrrr.org wrote:
Hi all, it's possible that i introduced a mismatch of versions of flext and flext-based externals into the CVS. I'll have to look into it... sorry for the mess. best greetings, Thomas
Am 03.09.2007 um 18:33 schrieb patrick:
hi olsen,
i think PYTHONPREFIX should be /usr but i tried it and this is what i got:
make -f ../flext/buildsys/gnumake-sub.mak PLATFORM=lnx RTSYS=pd COMPILER=gcc BUILDPATH=../flext/buildsys/ PKGINFO=package.txt BUILDCLASS=ext USRCONFIG=config.txt USRMAKE=build/gnumake-lnx- gcc.inc TARGETMODE=release TARGETTYPE=multi THREADED=1 _build_ make[1]: Entering directory
/home/pat/src/externals/grill/py' mkdir -p pd-linux/release-multi/ g++ -c -msse -mfpmath=sse -ffast-math -O3 -march=pentium4 -pthread - fPIC -DPY_EXPORTS -DPY_USE_GIL -DNDEBUG -DFLEXT_THREADS -DFLEXT_SYS=2 - DPD -I/usr/include/python2.5 -I/home/pat/src/pd-0.40-2/src -I/usr/local/include/stk -I/usr/local/include/sndobj -I/usr/local/include/flext source/main.cpp -o pd-linux/release-multi/main.opp source/main.h:32: error: expected class-name before '{' token /usr/local/include/flext/flcontainers.h: In member function 'void TypedFifo<T>::Put(T*) [with T = FifoEl]': source/pybase.h:179: instantiated from here /usr/local/include/flext/flcontainers.h:456: error: no matching function for call to 'TypedFifo<FifoEl>::Put(FifoEl*)' /usr/local/include/flext/flcontainers.h:405: note: candidates are: void Fifo::Put(Lifo::Cell*) /usr/local/include/flext/flcontainers.h: In member function 'T* TypedLifo<T>::Pop() [with T = FifoEl]': /usr/local/include/flext/flcontainers.h:466: instantiated from 'T* PooledFifo<T, M, O>::New() [with T = FifoEl, int M = 2, int O = 1]' source/pybase.h:177: instantiated from here /usr/local/include/flext/flcontainers.h:380: error: invalid static_cast from type 'Lifo::Cell*' to type 'FifoEl*' make[1]: *** [pd-linux/release-multi/main.opp] Error 1 make[1]: Leaving directory
/home/pat/src/externals/grill/py' make: *** [build-release-multi] Error 2is py compatible with python2.5? patrick
PD-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/ listinfo/pd-list
-- Planet Pluto bleibt!