通过网上下载的protobuf2.4.1的压缩文件,然后进行安装,./configure和make时遇到了两个问题. 正常的安装步骤如下: ./configure make  make check make install protoc —version   问题一 protobuf2.4.1通过下载的tar.gz文件安装时./configure报错:./include/gtest/internal/gtest-port.h:428:10: fatal error: 'tr1/tuple' fi…
[Redis]编译错误zmalloc.h:50:31: fatal error: jemalloc/jemalloc.h: No such file or directory 在安装redis进行编译时候.出错 解决办法: 使用以下命令 make MALLOC=libc 原因分析: 在README 有这个一段话. Allocator——— Selecting a non-default memory allocator when building Redis is done by setting…
make linuxcd src && make linuxmake[1]: Entering directory `/root/lua/lua-5.3.2/src'make all SYSCFLAGS="-DLUA_USE_LINUX" SYSLIBS="-Wl,-E -ldl -lreadline"make[2]: Entering directory `/root/lua/lua-5.3.2/src'gcc -std=gnu99 -O2 -Wa…
一.问题 系统:win7 64位 在下载MySQL-python-1.2.5.zip,使用python setup.py install 安装时,出现以下报错: _mysql.c(42) : fatal error C1083: Cannot open include file: 'config-win.h': No such file or directory error: command 'C:\\Users\\qinwanxia\\AppData\\Local\\Programs\\Com…
解决办法 brew link openssl --force 然后 ./configure --with-openssl --with-php-config=/usr/local/php/bin/php-config make sudo make install 如果还是不行,就去openssl官网下载源码,自己安装 然后./configure --with-openssl=openssl安装的路径…
Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-build-e_k8hq6a/pynacl/ 提示pip版本太低,可以更新pip版本试试…
解决办法: 更新openwrt的feeds,并重新make menuconfig ./script/feeds update -a ./script/feeds install -a…
我在编写内核驱动模块的时候报了一个非常奇怪的错误,如下图: 在目录下看了一下确实没有发现这个文件,感觉很奇怪,因为我记得之前编译模块是没有错误的,所以不可能是我代码写的有问题. 查阅了资料很多说要清除配置重新生成.config之类的,我也照做了但是并没有什么卵用. 最后发现是因为我执行了make mrproper(或make distclean),执行make mrproper的打印信息如下: 很明显make mrproper这条指令清除了generated底下的东西. 解决办法是重新编译一遍内…
pip install cv2 安装报错是一个常见现象: ERROR: Could not find a version that satisfies the requirement cv2 (from versions: none) ERROR: No matching distribution found for cv2 解决方案一: 将CV2更改为opencv-python pip install opencv-python 刚方法解决不了则需使用国内的镜像源来加速,克服有时候网络不稳定时…
今天开始正式干活了 拿到一个全志Tina的板子还有一个SDK压缩包,要求我这周(只剩一天半...)就要把sdk编译通过并且把板子跑起来. 还特别跟我说他们试了下这个sdk编译没法通过,会报错... 竟然是有坑! ---------------------------------------------------------------- 准备工作: 拷贝解压SDK 阅读Guide手册(如何配置环境,如何编译,如何烧录) 读完了接下来正式开工 第一步,配置编译环境. 但是老子是ssh远程编译服务…