编译samba遇到need autoconf 2.53 or later to build samba from GIT

来源:互联网 发布:淘宝的数据魔方 编辑:程序博客网 时间:2024/05/16 08:27

在使用Objective-C wrapper for sambaclient的时候,rake 出现编译错误。


操作步骤:

1、下载

2、解压kxsmb

3、进入kxsmb目录

4、执行 rake


错误提示包括 : need autoconf 2.53 or later to build samba from GIT ...


解决方法:


curl -OL http://ftpmirror.gnu.org/autoconf/autoconf-2.69.tar.gz 

tar -xzf autoconf-2.69.tar.gz 

cd autoconf-2.69 

./configure && make && sudo make install


安装完毕后,再执行rake,生成最后的依赖库。


0 0
原创粉丝点击