2 jitashiwoxihuande jitashiwoxihuande 于 2014.07.04 15:54 提问

求问ubuntu 13.10下ns3.8安装遇到python2.7-config意外停止

运行./build.py时,报错说“对不起,应用程序i386-linux-gnu-python2.7-config意外停止”
所以就build failed,遇见错误的地方如下:

Build NS-3

Entering directory `./ns-3.8'
Note: configuring ns-3 without NSC
=> python waf configure --with-regression-traces ../ns-3.8-ref-traces --with-pybindgen ../pybindgen-0.14.1
Checking for program gcc or cc : /usr/bin/gcc
Checking for program cpp : /usr/bin/cpp
Checking for program ar : /usr/bin/ar
Checking for program ranlib : /usr/bin/ranlib
Checking for gcc : ok

Checking for program g++ or c++ : /usr/bin/g++
Checking for program ar : /usr/bin/ar
Checking for program ranlib : /usr/bin/ranlib
Checking for g++ : ok

Checking for program pkg-config : /usr/bin/pkg-config
Checking for regression traces location : ok ../ns-3.8-ref-traces (given)
Checking for -Wl,--soname=foo support : yes
Checking for header stdlib.h : yes
Checking for header signal.h : yes
Checking for header pthread.h : yes
Checking for high precision time implementation : 128-bit integer
Checking for header stdint.h : yes
Checking for header inttypes.h : yes
Checking for header sys/inttypes.h : not found
Checking for library rt : yes
Checking for header netpacket/packet.h : yes
Checking for header linux/if_tun.h : yes
Checking for pkg-config flags for GTK_CONFIG_STORE : ok

Checking for pkg-config flags for LIBXML2 : ok

Checking for library sqlite3 : yes
Checking for NSC location : not found
Checking for header sys/socket.h : yes
Checking for header netinet/in.h : yes
Checking for program python : /usr/bin/python
Checking for Python version >= 2.3 : ok 2.7.5
Checking for library python2.7 : yes
Checking for program python2.7-config : /usr/bin/python2.7-config
File "/usr/bin/python2.7-config", line 5
echo "Usage: $0 --prefix|--exec-prefix|--includes|--libs|--cflags|--ldflags|--extension-suffix|--help|--configdir"
^
SyntaxError: invalid syntax
Traceback (most recent call last):
File "waf", line 158, in
Scripting.prepare(t, cwd, VERSION, wafdir)
File "/home/daisy/workspace/eclipseWorkspace/ns3.8/ns-3.8/.waf-1.5.16-e6d03192b5ddfa5ef2c8d65308e48e42/wafadmin/Scripting.py", line 105, in prepare
prepare_impl(t,cwd,ver,wafdir)

1个回答

gengjiangdi
gengjiangdi   2014.07.08 11:52

直接杀进程吧 !网上查资源!

jitashiwoxihuande
jitashiwoxihuande 已经放弃了。。。解决不了,怕是要换操作系统
接近 4 年之前 回复
Csdn user default icon
上传中...
上传图片
插入图片
准确详细的回答,更有利于被提问者采纳,从而获得C币。复制、灌水、广告等回答会被删除,是时候展现真正的技术了!