当前位置: 代码迷 >> 综合 >> checking for void pointer length... yes configure: error: Size of void * is less than size of lon
  详细解决方案

checking for void pointer length... yes configure: error: Size of void * is less than size of lon

热度:84   发布时间:2023-12-08 21:36:45.0

安装httpd-2.2.23  ./configure 的时候报错如下

checking for void pointer length... yes configure: error: Size of "void *" is less than size of "long"

解决方法vi configure 

if test "$ap_cv_void_ptr_lt_long" = "yes"; then
    as_fn_error $? "Size of \"void *\" is less than size of \"long\"" "$LINENO" 5

改为if test "$ap_cv_void_ptr_lt_long" != "yes"; then
    as_fn_error $? "Size of \"void *\" is less than size of \"long\"" "$LINENO" 5

保存重新编译

  相关解决方案