Thread: [Sndobj-devel] Error building/installing with scons
Status: Abandoned
Brought to you by:
veplaini
From: Vilson V. <vi...@vo...> - 2010-11-05 06:28:06
|
Hello, I'm trying to build and install SndObj with scons. It works with the commands: $ scons pythonmodule=true $ sudo scons install But the module is not installed at Python packages. So I can't run "import sndobj" on the Python interpreter. Any suggestion? Thanks. -- Vilson Vieira vi...@vo... ((( http://automata.cc ))) ((( http://musa.cc ))) |
From: Daniel S. <das...@gm...> - 2010-11-05 07:52:20
|
what nix distro are you using? You'll need to make sure you have all necessary library packages installed such as python-dev and swig If swig is not installed, its pretty common for it to not build the python module at all. Once installed, you need to remove the temporary scon file and folder made from the root of the project source, i dont remember the specific names but they start with .scon theres probably an option you can pass to scons to clean, i just dont use it On Fri, Nov 5, 2010 at 1:27 AM, Vilson Vieira <vi...@vo...> wrote: > Hello, > > I'm trying to build and install SndObj with scons. It works with the commands: > > $ scons pythonmodule=true > $ sudo scons install > > But the module is not installed at Python packages. So I can't run > "import sndobj" on the Python interpreter. > > Any suggestion? > > Thanks. > > -- > Vilson Vieira > > vi...@vo... > > ((( http://automata.cc ))) > > ((( http://musa.cc ))) > > ------------------------------------------------------------------------------ > The Next 800 Companies to Lead America's Growth: New Video Whitepaper > David G. Thomson, author of the best-selling book "Blueprint to a > Billion" shares his insights and actions to help propel your > business during the next growth cycle. Listen Now! > http://p.sf.net/sfu/SAP-dev2dev > _______________________________________________ > Sndobj-devel mailing list > Snd...@li... > https://lists.sourceforge.net/lists/listinfo/sndobj-devel > |
From: Vilson V. <vi...@vo...> - 2010-11-05 16:16:42
Attachments:
linux-stdio-and-right-sndobj-path.patch
|
2010/11/5 Daniel Skinner <das...@gm...>: > what nix distro are you using? You'll need to make sure you have all > necessary library packages installed such as python-dev and swig Hello Daniel, I'm using Ubuntu GNU/Linux 9.04. I have python-dev and swig installed. I got the sndobj python module working now. But I had to do two things: 1. included the stdio.h on the file src/SndJackIO.cpp 2. changed the destination of python/sndobj.py to /usr/lib/python2.6/dist-package/sndobj.py instead of /usr/lib/python2.6/dist-package/python/sndobj.py I've attached a patch doing these mods. It could be applied to SndObj-2.6.6. Another intersting thing to include on the build instructions are the following steps: 1. sudo apt-get install python-dev swig1.3 2. cd SndObj-2.6.6 3. scons pythonmodule=true 4. sudo scons install All the best. -- Vilson Vieira vi...@vo... ((( http://automata.cc ))) ((( http://musa.cc ))) |
From: Daniel S. <das...@gm...> - 2010-11-05 16:24:54
|
are you using the 2.6.6 tar gzip download from sourceforge or did you do a cvs checkout of the latest source? Those were previous issues that should have been resolved in cvs as i recall On Fri, Nov 5, 2010 at 10:47 AM, Vilson Vieira <vi...@vo...> wrote: > 2010/11/5 Daniel Skinner <das...@gm...>: >> what nix distro are you using? You'll need to make sure you have all >> necessary library packages installed such as python-dev and swig > > Hello Daniel, I'm using Ubuntu GNU/Linux 9.04. I have python-dev and > swig installed. > > I got the sndobj python module working now. But I had to do two things: > > 1. included the stdio.h on the file src/SndJackIO.cpp > 2. changed the destination of python/sndobj.py to > /usr/lib/python2.6/dist-package/sndobj.py instead of > /usr/lib/python2.6/dist-package/python/sndobj.py > > I've attached a patch doing these mods. It could be applied to SndObj-2.6.6. > > Another intersting thing to include on the build instructions are the > following steps: > > 1. sudo apt-get install python-dev swig1.3 > 2. cd SndObj-2.6.6 > 3. scons pythonmodule=true > 4. sudo scons install > > All the best. > > -- > Vilson Vieira > > vi...@vo... > > ((( http://automata.cc ))) > > ((( http://musa.cc ))) > |
From: Vilson V. <vi...@vo...> - 2010-11-05 16:50:39
|
2010/11/5 Daniel Skinner <das...@gm...>: > are you using the 2.6.6 tar gzip download from sourceforge or did you > do a cvs checkout of the latest source? Those were previous issues > that should have been resolved in cvs as i recall I'm using the tar 2.6.6 from sourceforge. I'll try with the cvs today. Thanks. -- Vilson Vieira vi...@vo... ((( http://automata.cc ))) ((( http://musa.cc ))) |
From: Vilson V. <vi...@vo...> - 2010-11-06 04:44:59
|
2010/11/5 Vilson Vieira <vi...@vo...>: > I'm using the tar 2.6.6 from sourceforge. I'll try with the cvs today. It's working perfect with the cvs version. Sorry about the noise. Cheers. -- Vilson Vieira vi...@vo... ((( http://automata.cc ))) ((( http://musa.cc ))) |