首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >如何让scons正常工作

如何让scons正常工作
EN

Stack Overflow用户
提问于 2009-11-11 08:55:01
回答 1查看 962关注 0票数 1

我正在尝试从源代码编译SndObj库。假设这和从SndObj目录的顶部运行'scons‘一样简单。我明白了:

代码语言:javascript
复制
nhnifong@ubuntu-nate:~/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/include/中

第二个问题是Python模块实际上并没有安装在/usr/lib/python2.6/dist-package中

EN

回答 1

Stack Overflow用户

回答已采纳

发布于 2009-11-11 09:32:38

看起来您还剩下一个或多个config.cache文件。所有这些都应该删除,然后重新启动安装。

票数 1
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/1712311

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档