2009-11-11 26 views
1

我試圖從源碼編譯SndObj庫。 假設它就像從SndObj目錄頂部運行'scons'一樣簡單。 我得到這個:如何使scons正常工作

[email protected]:~/SndObj-2.6.6$ scons 
scons: Reading SConscript files ... 

scons: warning: The Options class is deprecated; use the Variables class instead. 
File "/home/nhnifong/SndObj-2.6.6/SConstruct", line 58, in <module> 

scons: warning: The BoolOption() function is deprecated; use the BoolVariable() function instead. 
File "/home/nhnifong/SndObj-2.6.6/SConstruct", line 60, in <module> 
SndObj Library version is 2.6.5 
Building the Sound Object Library 
scons tools in this system: ['default', 'gnulink', 'gcc', 'g++', 'gfortran', 'gas', 'ar', 'filesystem', 'dvipdf', 'gs', 'jar', 'javac', 'javah', 'm4', 'rmic', 'rpcgen', 'swig', 'tar', 'zip'] 
Checking for Realtime IO support... 
OS is Linux... 
Checking for C header file alsa/asoundlib.h... (cached) no 
Checking for C header file soundcard.h... (cached) no 
Checking for C header file jack/jack.h... (cached) no 
No alsa or OSS RT support 
Host is little endian 
swig exists... 
Checking for C header file Python.h... (cached) no 
Checking for C header file /usr/include/python2.6/Python.h... (cached) yes 
Python version is 2.6 
Checking for C header file m_pd.h... (cached) no 
Checking for C header file ladspa.h... (cached) no 

installing python module in /usr/lib/python2.6/dist-packages 
scons: done reading SConscript files. 
scons: Building targets ... 
chmod a-x include/SndObj/*.h 
scons: done building targets. 

的第一個問題是,C頭文件聲稱失蹤都沒有在/ usr /包括/

的第二個問題是,Python模塊沒有實際安裝in /usr/lib/python2.6/dist-packages

回答

1

它看起來像你有一個或多個config.cache文件遺留下來。這些都應該被刪除並重新啓動安裝。