我正在尝试在 mac os x leopard 上为 php5 安装 pecl tidy 扩展。我从
http://pecl.php.net/package/tidy
1.2版
我运行 phpize,然后配置并制作命令。在 make 命令我得到这个错误:/usr/include/tidy/platform.h:530: error: duplicate 'unsigned'</p>
/usr/include/tidy/platform.h:530: warning: useless type name in empty declaration
/Users/paganotti/Desktop/tidyphp/tidy-1.2/tidy-1.2/tidy.c: In function ‘zm_info_tidy’:
/Users/paganotti/Desktop/tidyphp/tidy-1.2/tidy-1.2/tidy.c:387: warning: cast from pointer to integer of different size
lipo: can't open input file: /var/tmp//ccUDFWws.out (No such file or directory)
make: *** [tidy.lo] Error 1
如何在 mac os x leopard 上安装 tidy php 扩展?是否有一个 tidy.so 库已经编译,所以我只安装而不编译它?