I'm trying to install a Python module, called PySndObj. I extracted the sources. It uses scons
, so I tried to install it with it:
alex@alex-laptop:~/Desktop/SndObj$ scons pythonmodule=true ALSA=true
scons: Reading SConscript files ...
Building the Sound Object Library
Checking for Realtime IO support...
OS is Linux...
Checking for C header file alsa/asoundlib.h... (cached) yes
Checking for C header file soundcard.h... (cached) no
Checking for C header file jack/jack.h... (cached) yes
The library realtime IO (class SndRTIO) will be configured for ALSA
The library will include support for Jack (Class SndJackIO)
Host is little endian
swig doesn't exist
Python version is 2.5
Checking for C header file m_pd.h... (cached) yes
Checking for C header file ladspa.h... (cached) yes
scons: done reading SConscript files.
scons: Building targets ...
scons: `.' is up to date.
scons: done building targets.
alex@alex-laptop:~/Desktop/SndObj$ sudo scons install
scons: Reading SConscript files ...
Building the Sound Object Library
Checking for Realtime IO support...
OS is Linux...
Checking for C header file alsa/asoundlib.h... (cached) yes
Checking for C header file soundcard.h... (cached) no
Checking for C header file jack/jack.h... (cached) yes
The library realtime IO (class SndRTIO) will be configured for ALSA
The library will include support for Jack (Class SndJackIO)
Host is little endian
swig doesn't exist
Python version is 2.5
Checking for C header file m_pd.h... (cached) yes
Checking for C header file ladspa.h... (cached) yes
scons: done reading SConscript files.
scons: Building targets ...
scons: `install' is up to date.
scons: done building targets.
And then tried to find it:
alex@alex-laptop:~/Desktop/SndObj$ whereis sndobj
sndobj:
It doesn't exist. It hasn't been installed properly. Even in Python:
alex@alex-laptop:~/Desktop/SndObj$ python
Python 2.5.1 (r251:54863, Mar 7 2008, 04:10:12)
[GCC 4.1.3 20070929 (prerelease) (Ubuntu 4.1.2-16ubuntu2)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import sndobj
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
ImportError: No module named sndobj
>>>
Can someone help me, please?