Re: [Sndobj-devel] after scons where do i put what?
Status: Abandoned
Brought to you by:
veplaini
From: Julien P. <jul...@gm...> - 2007-10-02 08:45:16
|
Don't modify directly the /etc/profile modify the .profile file in your home directory. Julien 2007/10/2, 2g <ele...@gm...>: > thanks! > > scons pythonmodule=yes > made the difference > test.py and comb.py made sound > but it was a noise .. not the same as what it made on OSX > it also ended with segmentation fault reported.. > > running > import sndobj > says that there is nothing like that > so as Victor suggested me .. have to set LD_LIBRARY_PATH? > well will have to read threw what David told me to finding the exact path > but setting it in /etc/profile is how it should be? > > On 9/30/07, David Worrall <so...@av...> wrote: > > 'ello, > > > > did you build with > > % scons pythonmodule=yes > > ? > > > > Python packages other than those used by the python shipped with the > > OS are usually located here: > > > > /Library/Frameworks/Python.framework/Versions/Current/lib/python2.x/ > > site-packages/ > > > > where x =5 from your description. > > > > I wrote an explanation about this which might help. see: > > http://www.avatar.com.au/sonipy/pythonExtend.html > > > > Here's my set-up: > > I'm using Python 2.4 and I have a sndobj directory in > > /Library/Frameworks/Python.framework/Versions/Current/lib/python2.4/ > > site-packages/sndobj/ > > which contains the following files: > > __init__.py __init__.pyc _sndobj.so sndobj.py sndobj.pyc > > > > the contents of __init__.py is > > from sndobj import * > > > > libsndobj.dylib is also in /usr/local/lib/ > > > > hope this helps, > > > > David > > > > On 30/09/2007, at 8:57 AM, 2g wrote: > > > > > hi, > > > > > > am on Slackintosh12.0@iBookG4 and have just started learning > > > Python2.5.1 on it > > > got swig-1.3.31 installed and did the scons with extracted > > > SndObj-2.6.5.tar.gz > > > but doing > > > python test.py > > > @ the python dir tells me that it cannot find > > > _sndobj module(?) > > > maybe had to cp some things to somewhere after the scons? > > > > > > @ OSX10.3.9 with PySndObj-1.02-OSX-Python2.3.tar.gz > > > this worked: > > > > > > 1. Copy _sndobj.so and sndobj.py to where your Python > > > site packages/modules usually reside > > > (did this to /Library/Python/2.3) > > > 2. Copy libsndobj.dylib to /usr/local/lib/ > > > > > > -- > > > 2g > > > http://micro.ispretty.com > > > > > > ---------------------------------------------------------------------- > > > --- > > > This SF.net email is sponsored by: Microsoft > > > Defy all challenges. Microsoft(R) Visual Studio 2005. > > > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > > > _______________________________________________ > > > Sndobj-devel mailing list > > > Snd...@li... > > > https://lists.sourceforge.net/lists/listinfo/sndobj-devel > > > > > > > _________________________________________________ > > experimental polymedia: www.avatar.com.au > > Sonic Communications Research Group, > > University of Canberra: www.canberra.edu.au/vc-forum/scrg > > vip=Verbal Interactivity Project > > > > > > > > > > ------------------------------------------------------------------------- > > This SF.net email is sponsored by: Microsoft > > Defy all challenges. Microsoft(R) Visual Studio 2005. > > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > > _______________________________________________ > > Sndobj-devel mailing list > > Snd...@li... > > https://lists.sourceforge.net/lists/listinfo/sndobj-devel > > > > > -- > 2g > http://micro.ispretty.com > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Microsoft > Defy all challenges. Microsoft(R) Visual Studio 2005. > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > _______________________________________________ > Sndobj-devel mailing list > Snd...@li... > https://lists.sourceforge.net/lists/listinfo/sndobj-devel > |