[PD-dev] flext / py - autobuild
patrick
puredata at 11h11.com
Mon Jul 14 23:28:40 CEST 2008
hi,
using the autobuild with pd version 0.42 (how can it be (good news)) and
installing flext successfully, i cannot compile py against python 2.5
using this config.txt:
# what is the base prefix of the Python installation?
PYTHONPREFIX=/usr
# which Python version do you want to compile against?
PYTHONVERSION=2.5
# uncomment if numpy/numarray/numeric support should be compiled in
# for info see http://numeric.scipy.org
#PY_NUMPY=1
#PY_NUMARRAY=1
#PY_NUMERIC=1
# use thread-safe GIL functionality (do this for python version >= 2.3!)
PY_USE_GIL=1
# use inofficial (pure data) functionality
# PY_USE_INOFFICIAL=1
doing bash ../flext/build.sh
bash ../flext/build.sh pd gcc
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/pure-data/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/usr/local/src/pd/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
In file included from source/pybase.h:16,
from source/main.cpp:13:
source/main.h:34: error: expected class-name before ‘{’ token
In file included from source/main.cpp:13:
/usr/local/include/flext/flcontainers.h: In member function ‘void
TypedFifo<T>::Put(T*) [with T = FifoEl]’:
source/pybase.h:181: 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:179: 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/pure-data/externals/grill/py'
make: *** [build-release-multi] Error 2
knowing that i run linux / 32 bits / intel and that i use python 2.5
would it be possible to use a compiled version of a friend? of maybe
thomas if you have the time to help me with this.
thanks!!
pat
More information about the Pd-dev
mailing list