首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >从源代码构建时,libming 0.4.2安装在OSX 10.7.4 x64上出现错误

从源代码构建时,libming 0.4.2安装在OSX 10.7.4 x64上出现错误
EN

Stack Overflow用户
提问于 2012-08-06 18:04:09
回答 2查看 1.5K关注 0票数 0

我尝试在Intel Mac 10.7.4 x64上从源代码安装libming 0.4.2 (我已经在Intel Mac OSX 10.6 i386上成功安装了它),但当我尝试运行./configure (有或没有sudo)时,它给我以下错误

代码语言:javascript
复制
config.status: creating util/Makefile
config.status: creating util/ming-config
config.status: creating ming.spec
config.status: creating src/ming_config.h
config.status: src/ming_config.h is unchanged
config.status: executing depfiles commands
config.status: executing libtool commands
sed: config/ltmain.sh: No such file or directory
sed: config/ltmain.sh: No such file or directory
mv: rename libtoolT to libtool: No such file or directory
cp: libtoolT: No such file or directory
chmod: libtool: No such file or directory

当然,在那之后make install失败了。:(已经安装了xcode和xcode命令行工具)

EN

回答 2

Stack Overflow用户

回答已采纳

发布于 2012-08-07 13:04:07

下面的说明/命令在MacOSX10.7.4 x64上对我有效。

代码语言:javascript
复制
 1. Install mac ports from http://www.macports.org/
 2. sudo port install automake
 3. sudo port install autoconf
 4. sudo port install libtool
 5. sudo port install intltoo 
 6. sudo port install pkgconfig
 7. sudo port install cmake
 8. glibtoolize --ltdl --force --copy
 9. autoreconf

 and then build your code using

 ./configure
 make
 make install
票数 0
EN

Stack Overflow用户

发布于 2012-08-06 19:12:50

这些命令可以工作(一步一步):

代码语言:javascript
复制
aclocal
glibtoolize --force
autoheader
autoconf
automake
./configure
make
make install 

libming 0.4.2可能会有这样的问题,因为它在RC1上停止了。有关英特尔Mac的信息,请参阅:http://www.libming.org/Mac_OS_X_Installation)

尝试安装更高版本的0.4.3和0.4.4。

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

https://stackoverflow.com/questions/11826167

复制
相关文章

相似问题

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