首页 > 其他 > 详细

编译 jq git版本

时间:2020-08-22 22:58:38      阅读:90      评论:0      收藏:0      [点我收藏+]
git config --global http.proxy http://127.0.0.1:9777

export     LIBS= -lpsapi -lws2_32 -lmswsock -lshlwapi -static 
git clone https://github.com/stedolan/jq.git
cd jq
git submodule update --init
autoreconf -fi

./configure --prefix=/usr/local --with-oniguruma=builtin --disable-maintainer-mode --disable-shared --enable-static

./configure: line 15971: syntax error near unexpected token `fi./configure: line 15971: `fi
if test "x$ac_cv_lib_m_acos" = xyes; then :

    eval "ac_tr_func=HAVE_`echo acos | tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ`"
    cat >>confdefs.h <<_ACEOF
#define $ac_tr_func 1
_ACEOF


else  <--- delete this line


fi

else\n\n\nfi repleace to fi

make LDFLAGS=-all-static
make install

git config --global --unset http.proxy

 

编译 jq git版本

原文:https://www.cnblogs.com/nlsoft/p/13547261.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!