我尝试在Intel Mac 10.7.4 x64上从源代码安装libming 0.4.2 (我已经在Intel Mac OSX 10.6 i386上成功安装了它),但当我尝试运行./configure (有或没有sudo)时,它给我以下错误
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命令行工具)
发布于 2012-08-07 13:04:07
下面的说明/命令在MacOSX10.7.4 x64上对我有效。
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发布于 2012-08-06 19:12:50
这些命令可以工作(一步一步):
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。
https://stackoverflow.com/questions/11826167
复制相似问题