首先提示是语法错误 AC_MSG_ERROR
搜了半天没啥有用的信息
后来才发现 我用的 automake1.0
执行
sudo port -v install automake
安装了一个1.1的 OK了
但是在 /opt/local/bin
最傻的替换法把所有 /usr/bin 里面 automake autoreconf autoheader 等 rename为 *.bak
后来发现 aclocal 导致版本错误
找不到 openssl 明明有装
在这里最好的方法就是 export PATH=/opt/local/bin:$PATH
现在继续出现错误
../../../dep/ACE_wrappers/configure: line 35635: syntax error near unexpected token `fi’
../../../dep/ACE_wrappers/configure: line 35635: `fi’
现在从新
[code]cd build
autoreconf -vif ..
../configure --prefix=/usr/local --datadir=/usr/local/share --sysconfdir=/usr/local/etc --enable-cli --enable-ra LIBS="-lcrypto" CFLAGS="-O2" CXXFLAGS="-O2"
[/code]
[code]
if ac_fn_cxx_try_compile "$LINENO"; then :
if test "$ace_user_enable_reentrant_funcs" = yes; then
$as_echo "#define ACE_HAS_POSIX_GETPWNAM_R 1" >>confdefs.h
fi
#else 注释掉这句继续
fi[/code]
整了半天又下载心的 ACE还是不行
继续中