[PD] pyext compile ubuntu

Thomas Grill gr at grrrr.org
Thu Sep 25 18:28:56 CEST 2008


Ooops, sorry i missed the $ locate command.
If adjusting things in config.txt doesn't work check out the scripts  
in the build folder that are relevant for your platform.
gr~~~

Am 25.09.2008 um 17:30 schrieb Thomas Grill:

> Hi,
> with the poor remainders of my knowledge of the french language i
> would suppose that you don't have "numerical Python" (numpy)  
> installed.
> You can
> a) Install it and adjust the paths in config.txt
> b) comment out NUMPY=1 or whatever indicates usage of numpy in
> config.txt
>
> gr~~~
>
> Am 25.09.2008 um 15:59 schrieb patco:
>
>> Hello,
>>
>> I've rebuilt flext with sources from https://svn.grrrr.org/ext/trunk
>>
>> and py with both sources from puredata svn and grrrr svn gives this
>> error:
>>
>>
>> source/pybuffer.cpp:36:33: erreur: numpy/arrayobject.h : Aucun  
>> fichier
>> ou dossier de ce type
>>
>> $ locate arrayobject.h
>> /usr/include/python2.4/Numeric/arrayobject.h
>> /usr/include/python2.5/Numeric/arrayobject.h
>>
>> thanks for answers
>>
>>
>>
>> Le jeudi 25 septembre 2008 à 15:15 +0200, Thomas Grill a écrit :
>>> Hi,
>>> from which svn did you download?
>>> The pd svn is outdated and not the authoritative source. Please
>>> follow the links on http://puredata.info/Members/thomas/
>>> gr~~~
>>>
>>> Am 24.09.2008 um 16:42 schrieb patco:
>>>
>>>> hi,
>>>>
>>>> I've just downloaded flext and py sources from svn, and tried with
>>>> both
>>>> python 2.4 and 2.5, same errors:
>>>>
>>>>
>>>> $ bash ../flext/build.sh pd gcc build
>>>> 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]: entrant dans le répertoire « /home/patco/Bureau/pd-devel/
>>>> py »
>>>> mkdir -p pd-linux/release-multi
>>>> mkdir -p pd-linux/release-multi/
>>>> g++ -c -msse -mfpmath=sse -ffast-math -O3 -march=pentium4   - 
>>>> pthread
>>>> -fPIC -DPY_EXPORTS -DPY_NUMPY -DPY_USE_GIL -DNDEBUG -DFLEXT_THREADS
>>>> -DFLEXT_SYS=2 -DPD -I/usr/include/python2.5
>>>> -I/home/patco/Bureau/pd-devel/pd/src -I/usr/include/stk
>>>> -I/usr/include/sndobj -I/usr/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: erreur: expected class-name before «{» token
>>>> In file included from source/main.cpp:13:
>>>> /usr/include/flext/flcontainers.h: In member function «void
>>>> TypedFifo<T>::Put(T*) [with T = FifoEl]»:
>>>> source/pybase.h:181:   instantiated from here
>>>> /usr/include/flext/flcontainers.h:456: erreur: no matching function
>>>> for
>>>> call to «TypedFifo<FifoEl>::Put(FifoEl*)»
>>>> /usr/include/flext/flcontainers.h:405: note: candidats sont: void
>>>> Fifo::Put(Lifo::Cell*)
>>>> /usr/include/flext/flcontainers.h: In member function «T*
>>>> TypedLifo<T>::Pop() [with T = FifoEl]»:
>>>> /usr/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/include/flext/flcontainers.h:380: erreur: invalid static_cast
>>>> from
>>>> type «Lifo::Cell*» to type «FifoEl*»
>>>> make[1]: *** [pd-linux/release-multi/main.opp] Erreur 1
>>>> make[1]: quittant le répertoire « /home/patco/Bureau/pd-devel/py »
>>>> make: *** [build-release-multi] Erreur 2
>>>>
>>>>
>>>>
>>>> _______________________________________________
>>>> Pd-list at iem.at mailing list
>>>> UNSUBSCRIBE and account-management -> http://lists.puredata.info/
>>>> listinfo/pd-list
>>>
>>
>
>
> _______________________________________________
> Pd-list at iem.at mailing list
> UNSUBSCRIBE and account-management -> http://lists.puredata.info/ 
> listinfo/pd-list





More information about the Pd-list mailing list