今天编译Cyrus SASL,需要依赖OpenSSL,看看安装说明好像很简单,可是换了方式跑了好几次,最后nmake的时候一直报错:
.cryptocversion.c(105) : warning C4129: ‘o’ : unrecognized character
escape sequence
NMAKE : fatal error U1077: ‘cl’ : return code ‘0×2′
我感到自己好像没有错啊,就去google,倒是有人也发现这个问题了,不过似乎没有答案。无法,回来再看,无奈之间打开了那个出错的文件cversion.c,发现了一段问题,里面似乎要一个路径,但是那段宏的引用感觉有些蹊跷,突然想起来了,那个路径?起初我的路径是这么写的:
perl Configure VC-WIN32 –prefix=F:toolssvnopenssl-0.9.8hbin
然后修改了一下:
perl Configure VC-WIN32 –prefix=F:/tools/svn/openssl-0.9.8h/bin
再编译,没有问题了,唉,那个脚本对“”的处理有问题。
Related posts:
0 Responses
Stay in touch with the conversation, subscribe to the RSS feed for comments on this post.