[PD] pb with pyext and readanysf~ on OSX

vincent rioux vincent.rioux at no-log.org
Mon Dec 19 14:38:28 CET 2005


Hi Thomas and August,

Pyext and readanysf~ compiled fine on osx with flext 0.5.1.

Readanysf~ compilation needs a bit of tuning though, in the Makefiles:
- FLEXT_NOGLOBALNEW should be replaced by FLEXT_USE_CMEM
- and -lflext should be replaced by -lflext-pd

by the way (this is not that important here), i can't compile pyext with 
pynumarray:
*/System/Library/Frameworks/Python.framework/Headers/numarray/nummacro.h:27: 
error: parse
   error before `;' token
make[1]: *** [pd-darwin/release-multi/pybuffer.opp] Error 1
make: *** [build-release-multi] Error 2

it looks like it comes from this line

**typedef struct 
{                                                                                                                                                      
PyObject_HEAD                                                                                                                                                 
PyObject *operator;          /* ufunc name */   *


It is possible to launch pd39.2 with readanysf or pyext separetely but 
when i try to load both, i get;
*------------------------------------------------
py/pyext 0.2.1pre - python script objects
(C)2002-2005 Thomas Grill - http://grrrr.org/ext

using Python 2.4.1 (#2, Mar 31 2005, 00:05:10)
[GCC 3.3 20030304 (Apple Computer, Inc. build 1666)]
------------------------------------------------

link error 0  dyld: /Applications/pd39.app/Contents/Resources/bin/pd 
multiple definitions of symbol _initialized
/data/pdlibs/py.pd_darwin definition of _initialized
/usr/local/lib/libflext-pd.dylib(flthr.opp) definition of _initialized

readanysf~: can't load library*


any idea?
by advance thanks,
vincent


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.puredata.info/pipermail/pd-list/attachments/20051219/4595f6fc/attachment.htm>


More information about the Pd-list mailing list