Samba安装配置./configure --prefix=/usr/local
提示error: could not find Python headers
在终端机输入如下命令之后
sudo apt-get install python-dev
仍是同样报错提示,求解?
“/home/nelson/software/Python-2.6.5/Objects/complexobject.c:149: undefined reference to log'
_Py_c_abs':
/usr/local/lib/libpython2.6.a(complexobject.o): In function
/home/nelson/software/Python-2.6.5/Objects/complexobject.c:214: undefined reference to `hypot'
collect2: ld returned 1 exit status
['/usr/bin/gcc', 'default/test_1.o', '-o', '/home/nelson/software/samba-4.2.0/bin/.conf_check_0/testbuild/default/testprog', '-L/usr/local/lib', '-Wl,-Bdynamic', '-lm', '-lpthread', '-ldl', '-lutil', '-lpython2.6']
command returned 'Build failed: -> task failed (err #1): \n\t{task: cc_link test_1.o -> testprog}'Could not find the python development headers
”