本文地址http://comexchan.cnblogs.com/,作者Comex Chan,尊重知识产权,转载请注明出处,谢谢!   今天在编译libjpeg 的时候,遇到下面的报错: checking host system type... Invalid configuration `x86_64-unknown-linux-gnu': machine `x86_64-unknown' not recognized 查询资料*可知. 只需执行以下命令即可: cp /usr/share/li…
关于gcc 用旧版本安装NVIDIA HPC SDK再编译会报错: "/opt/rh/devtoolset-8/root/usr/include/c++/8/bits/move.h", line 48: error: identifier "__builtin_addressof" is undefined 解决办法: 升级gcc 重新安装NVIDIA HPC SDK.先前安装的可以删除(rm -rf 文件夹).安装NVIDIA HPC SDK时,可以指定路径,在提…
我是在CentOS6.5安装php5.5.28这个版本,PHP编译代码如下: ./configure --prefix=/usr/local/php --with-config-file-path=/usr/local/php/etc --with-mysql=/usr/local/mysql --with-mysqli=/usr/local/mysql/bin/mysql_config --with-mysql-sock=/tmp/mysql.sock --with-gd --with-ico…
1.Redis的获取与安装,目前最新稳定版本为4.0.10 Redis:  https://redis.io/download GitHub:  https://github.com/antirez/redis Google Code: https://code.google.com/p/redis/downloads/list?can=1 Windows :https://github.com/dmajkic/redis/downloads 2.Redis版本号命名规则 主版本号.次版本号.补…
正常情况下执行:./configuremake && make install可以直接安装python,但是在在更新了乌版图后居然报错了!!!检查了一圈,发现乌版图安装了python3.8,卸载会影响乌版图的组件,那么只好保留python3.8并安装自己需要的python3.7.81.安装gcc和g++sudo apt-get gccsudo apt-get g++2.重新编译安装Python    (PS:在安装好gcc和g++后编译安装时依然报错解决办法,更新gcc与g++编译正常的可…
centos 6.8 32位系统下,安装php.5.6.11是出现这个错误 解决办法: 1 2 3 4 vim /etc/ld.so.conf.d/local.conf     # 编辑库文件 /usr/local/lib                       # 添加该行 :wq                                  # 保存退出 ldconfig -v                          # 使之生效 注意事项: 这里添加的库文件路径一定要和你…
Cannot find OpenSSL's <evp.h> 解决方法: 下载openssl-1.1.0h.tar  包 [root@localhost ~]# cd openssl-1.1.0h  &&  ./config  && make  && makeinstall configure: error: Cannot find OpenSSL's libraries 报错:configure: error: Cannot find OpenS…
报错信息: /usr/bin/ld: cannot find -lltdl collect2: ld returned 1 exit status make: *** [libphp5.la] Error 1 解决方法: yum -y install libtool libtool-ltdl-devel…
ext/iconv/.libs/iconv.o: In function `php_iconv_stream_filter_ctor':/ext/iconv/iconv.c:2491: undefined reference to `libiconv_open'collect2: ld returned 1 exit statusmake: *** [sapi/cli/php] Error 1 解决方法: 使用:make ZEND_EXTRA_LIBS='-liconv'  或者: vim Ma…
解决: [root@hdoop3 git-2.18.1]# yum install expat-devel…
[root@localhost local]# find / -name "*libcap.so*" [root@localhost ntp-4.2.8p13]# cd /usr/lib [root@localhost lib]# ln -sv /usr/lib64/libcap.so.2 /usr/lib/libcap.so…
缺少libcap-devel [root@localhost libcap]# cd /mnt/ [root@localhost mnt]# rpm -Uvh libcap*…
一.pip安装出错类型 1.1 pip版本过旧导致不能安装 报错提示: You are using pip version 9.0.3, however version 10.0.1 is available. You should consider upgrading via the 'python -m pip install --upgrade pip' comm and. 可通过以下命令升级pip python -m pip install --upgrade pip 1.2 官方的Py…
安装python的时候出现如下的错误: [root@master ~]#./configure --prefix=/usr/local/python3.6 checking build system type... i686-pc-linux-gnu checking host system type... i686-pc-linux-gnu checking for --enable-universalsdk... no checking for --with-universal-archs.…
安装python的时候出现如下的错误: [root@master ~]#./configure --prefix=/usr/local/python3.6 checking build system type... i686-pc-linux-gnu checking host system type... i686-pc-linux-gnuchecking for --enable-universalsdk... nochecking for --with-universal-archs...…
mysql-5.6.39 源码编译安装报错 报错信息: /tmp/ccV858jD.s: Assembler messages: /tmp/ccV858jD.s: Fatal error: can't close CMakeFiles/sql_embedded.dir/__/sql/rpl_gtid_execution.cc.o: No space left on device make[2]: *** [libmysqld/CMakeFiles/sql_embedded.dir/__/sql/…
今天无论在家还是在公司,安装node-sass总是失败,或安装成功了,使用webpack编译sass报错,说找不到module,按照提示的错误我找了node_modules下的css-loader,发现下面是有index.js的,有人说重新安装就可以了,安装后还是报错,后来我就想着重新安装node-sass. 在网上找了很久,应该是网络原因,最方便的方法是使用taobao镜像安装,因为node-sass已经镜像到taobao上,参考地址:https://npm.taobao.org/,安装cnp…
前提: mac中之前安装了mysql,一段时间没使用,今天使用mysql客户端去连接,报错提示密码过期,原因是mysql5.7之后版本有密码过期这个功能. error: Your password has expired. To log in you must change it using a client that supports expired passwords. 打开终端,启动mysql服务: sudo /usr/local/mysql/support-files/mysql.ser…
docker安装教程 https://docs.docker.com/get-started/part2/#build-the-app 相关帖子 https://stackoverflow.com/questions/32207202/multiple-django-requirements-with-docker dockerfile # Use an official Python runtime as a parent image FROM python:2.7-slim # Set th…
mydumper 官网:https://launchpad.net/mydumper 下载之后,安装报错: [root@localhost local]# cd mydumper-0.6.2 [root]# [root]# ls binlog.c CMakeCache.txt common.h docs g_unix_signal.h myloader.c Processing server_detect.c binlog.h CMakeFiles config.h Finished mydum…
linux 安装报错:pkg-config not found 使用编译安装时,在执行./configure时报如下错误: ... ... checking for pkg-config... no pkg-config not found configure: error: Please reinstall the pkg-config distribution 提示,配置错误,请重新安装pkg配置分发. 解决方法,根据提示,安装pkg-config: sudo apt-get install…
Scrapy安装报错 Microsoft Visual C++ 14.0 is required 解决办法原因:Scrapy需要的组 twisted 需要 C++环境编译. 方法一:根据错误提示去对应的网站下载C++ 14.0  ,然后重新安装 方法二:直接下载对应系统的whl 安装 1.win10,python_3.6.1,64位2.pip install Scrapy报错3.http://www.lfd.uci.edu/~gohlke/pythonlibs/#twisted 下载twiste…
1. 说明 使用clang++10.1编译报错: /usr/bin/ld: /usr/lib/gcc/x86_64-linux-gnu/9/../../../x86_64-linux-gnu/crt1.o: in function `_start': (.text+0x24): undefined reference to `main' clang-10: error: linker command failed with exit code 1 (use -v to see invocatio…
编译PHP 报错:node.c: In function dom_canonicalization  /opt/php-5.2.17/ext/dom/node.c:1953: error: dereferencing pointer to incomplete type 是libxml导致的问题,可以下载补丁patch一下. # curl -o php-5.x.x.patch https://mail.gnome.org/archives/xml/2012-August/txtbgxGXAvz4…
在新的机子上使用pip安装程序一直报错: Retrying (Retry(total=4, connect=None, read=None, redirect=None)) after connection broken by 'ProxyError('Cannot connect to proxy.', error(10054, ''))': /simple/virtualenv/ 可能因为单位的机子设置了代理服务器导致的,从StackOverflow搜到了解决方案: pip install…
pip安装报错:is not a supported wheel on this platform 可能的原因1:安装的不是对应python版本的库,下载的库名中cp35代表python3.5,其它同理. 可能的原因2:这个是我遇到的情况(下载的是对应版本的库,然后仍然提示不支持当前平台) 我下载到的Twisted库文件名: Twisted-17.5.0-cp35-cp35m-win_amd64.whl 使用pip安装(在命令行中): pip install Twisted-17.5.0-cp3…
报错提示: from appium import webdriver提示Unresolved import webdriver 报错原因:没有安装Appium_Python_Client 解决办法: 终端执行: 第一种:pip install Appium_Python_Client 第二种:git clone https://github.com/appium/python-client.git 本人使用第二种方式解决成功.…
python3 pip 安装Scrapy在win10 安装报错error: Microsoft Visual C++ 14.0 is required. Get it with "Microsoft Visual C++ Build Tools": http://landinghub.visualstudio.com/visual-cpp-build-tools   问题描述 当前环境win10,python_3.6.1,64位. 在windows下,在dos中运行pip instal…
报错如下 Module build failed: Error: The node API for `babel` has been moved to `babel-core`. 在我配置loader 的时候出现如上问题 配置文件部分如下 { test: /\.js/, loader: "babel", } 解决方法: 改为 babel-loader 并安装babel-loader { test: /\.js/, loader: "babel-loader", }…