其他分享
首页 > 其他分享> > libcoap下载、安装、编译、报错解决、make死循环

libcoap下载、安装、编译、报错解决、make死循环

作者:互联网

1. 下载

git clonehttps://github.com/obgm/libcoap

百度云盘
链接: https://pan.baidu.com/s/1LnsGwsW0Odmuo2FwB_006A
提取码:9020

2. 赋权

进入libcoap文件夹执行chmod 777 *

3. 编译和安装

【1】生成configure文件
./autoconf
【2】生成makefile文件
./configure
【3】编译
make
【4】安装
make install

4. 报错解决

【1】
configure: error: ==> Install the package that contains doxygen or disable the doxygen documentation using ‘–disable-doxygen’.

configure: error: ==> Install the package that contains a2x (mostly asciidoc) or disable the build of the manpages using ‘–disable-manpages’’.

解决:执行./configure --prefix=$(pwd)/Linux --disable-manpages --disable-dtls --disable-doxygen
缺什么加什么

【2】libtool、gcc等
直接yum install -y xxx

【3】make死循环
make: Warning: File `Makefile.am’ has modification time 43829 s in the future
系统时间有问题,同步系统时间,再执行

find . -type f | xargs -n 5 touch

make clean

make

标签:doxygen,configure,--,make,disable,报错,libcoap,manpages
来源: https://blog.csdn.net/qq_36923426/article/details/122411587