PHP7编译配置时常见的错误

《PHP7编译配置时常见的错误》要点:
本文介绍了PHP7编译配置时常见的错误,希望对您有用。如果有疑问,可以联系我们。

PHP编译安装时常见错误解决办法,php编译常见错误

转载自:http://www.bkjia.com/PHPjc/1008013.html

This article is post on https://coderwall.com/p/ggmpfa

【错误】configure: error: xslt-config not found. Please reinstall the libxslt >= 1.1.0 distribution

解决:yum -y install libxslt-devel

【错误】configure: error: Could not find net-snmp-config binary. Please check your net-snmp installation.

解决:yum -y install net-snmp-devel

【错误】configure: error: Please reinstall readline - I cannot find readline.h

解决:yum -y install readline-devel

【错误】configure: error: Cannot find pspell

解决:yum -y install aspell-devel

【错误】checking for unixODBC support... 

configure: error: ODBC header file '/usr/include/sqlext.h' not found!

解决:yum -y install unixODBC-devel

【错误】configure: error: Unable to detect ICU prefix or /usr/bin/icu-config failed. Please verify ICU install prefix and make sure icu-config works.

解决:yum -y install libicu-devel

【错误】configure: error: utf8mime2text() has new signature,but U8TCANONICAL is missing. This should not happen. Check config.log for additional information.

解决:yum -y install libc-client-devel

【错误】configure: error: freetype.h not found.

解决:yum -y install freetype-devel

【错误】configure: error: xpm.h not found.

解决:yum -y install libXpm-devel

【错误】configure: error: png.h not found.

解决:yum -y install libpng-devel

【错误】configure: error: vpx_codec.h not found.

解决:yum -y install libvpx-devel

【错误】configure: error: Cannot find enchant

解决:yum -y install enchant-devel

【错误】configure: error: Please reinstall the libcurl distribution - easy.h should be in /include/curl/

解决:yum -y install libcurl-devel

LAOGAO added 20140907:

【错误】configure: error: mcrypt.h not found. Please reinstall libmcrypt.

wget ftp://mcrypt.hellug.gr/pub/crypto/mcrypt/libmcrypt/libmcrypt-2.5.7.tar.gz

tar zxf libmcrypt-2.5.7.tar.gz

cd libmcrypt-2.5.7

./configure

make && make install

added 20141003:

Cannot find imap

ln -s /usr/lib64/libc-client.so /usr/lib/libc-client.so

【错误】configure: error: utf8_mime2text() has new signature,but U8T_CANONICAL is missing.

解决:yum -y install libc-client-devel

Cannot find ldap.h

解决:yum -y install openldap

解决:yum -y install openldap-devel

【错误】configure: error: Cannot find ldap libraries in /usr/lib

cp -frp /usr/lib64/libldap* /usr/lib/

【错误】configure: error: Cannot find libpq-fe.h. Please specify correct PostgreSQL installation path

解决:yum -y install postgresql-devel

【错误】configure: error: Please reinstall the lib curl distribution

解决:yum -y install curl-devel

【错误】configure: error: Could not find net-snmp-config binary. Please check your net-snmp installation.

解决:yum -y install net-snmp-devel

【错误】configure: error: xslt-config not found. Please reinstall the libxslt >= 1.1.0 distribution

解决:yum -y install libxslt-devel

checking for BZip2 support… yes checking for BZip2 in default path… not found 【错误】configure: error: Please reinstall the BZip2 distribution

解决:yum -y install bzip2-devel

checking for cURL support… yes checking if we should use cURL for url streams… no checking for cURL in default path… not found 【错误】configure: error: Please reinstall the libcurl distribution – easy.h should be in/include/curl/

解决:yum -y install curl-devel

checking for curl_multi_strerror in -lcurl… yes checking for QDBM support… no checking for GDBM support… no checking for NDBM support… no 【错误】configure: error: DBA: Could not find necessary header file(s).

解决:yum -y install db4-devel

checking for fabsf… yes checking for floorf… yes 【错误】configure: error: jpeglib.h not found.

解决:yum -y install libjpeg-devel

【错误】checking for fabsf… yes checking for floorf… yes checking for jpeg_read_header in -ljpeg… yes 

configure: error: png.h not found.

解决:yum -y install libpng-devel

checking for png_write_image in -lpng… yes If configure fails try –with-xpm-dir=

【错误】configure: error: freetype.h not found.

Reconfigure your PHP with the following option. --with-xpm-dir=/usr

checking for png_write_image in -lpng… yes 

configure: error: libXpm.(a|so) not found.

解决:yum -y install libXpm-devel

【错误】checking for bind_textdomain_codeset in -lc… yes checking for GNU MP support… yes configure: error: Unable to locate gmp.h

解决:yum -y install gmp-devel

checking for utf8_mime2text signature… new checking for U8T_DECOMPOSE… 【错误】configure: error: utf8_mime2text() has new signature,but U8T_CANONICAL is missing. This should not happen. Check config.log for additional information.

解决:yum -y install libc-client-devel

checking for LDAP support… yes,shared checking for LDAP Cyrus SASL support… yes 【错误】configure: error: Cannot find ldap.h

解决:yum -y install openldap-devel

checking for mysql_set_character_set in -lmysqlclient… yes checking for mysql_stmt_next_result in -lmysqlclient… no checking for Oracle Database OCI8 support… no checking for unixODBC support… 【错误】configure: error: ODBC header file ‘/usr/include/sqlext.h' not found!

解决:yum -y install unixODBC-devel

checking for PostgreSQL support for PDO… yes,shared checking for pg_config… not found 【错误】configure: error: Cannot find libpq-fe.h. Please specify correct PostgreSQL installation path

解决:yum -y install postgresql-devel

checking for sqlite 3 support for PDO… yes,shared checking for PDO includes… (cached) /usr/local/src/php-5.3.7/ext checking for sqlite3 files in default path… not found 【错误】configure: error: Please reinstall the sqlite3 distribution

解决:yum -y install sqlite-devel

checking for utsname.domainname… yes checking for PSPELL support… yes 【错误】configure: error: Cannot find pspell

解决:yum -y install aspell-devel

checking whether to enable UCD SNMP hack… yes checking for default_store.h… no

checking for kstat_read in -lkstat… no checking for snmp_parse_oid in -lsnmp… no checking for init_snmp in -lsnmp… no 【错误】configure: error: SNMP sanity check failed. Please check config.log for more information.

解决:yum -y install net-snmp-devel

checking whether to enable XMLWriter support… yes,shared checking for xml2-config path… (cached) /usr/bin/xml2-config checking whether libxml build works… (cached) yes checking for XSL support… yes,shared 【错误】configure: error: xslt-config not found. Please reinstall the libxslt >= 1.1.0 distribution

解决:yum -y install libxslt-devel

【错误】configure: error: xml2-config not found. Please check your libxml2 installation.

解决:yum -y install libxml2-devel

checking for PCRE headers location… 【错误】configure: error: Could not find pcre.h in /usr

解决:yum -y install pcre-devel

【错误】configure: error: Cannot find MySQL header files under yes. Note that the MySQL client library is not bundled anymore!

解决:yum -y install mysql-devel

checking for unixODBC support… 【错误】configure: error: ODBC header file ‘/usr/include/sqlext.h' not found!

解决:yum -y install unixODBC-devel

checking for pg_config… not found 【错误】configure: error: Cannot find libpq-fe.h. Please specify correct PostgreSQL installation path

解决:yum -y install postgresql-devel

【错误】configure: error: Cannot find pspell

解决:yum -y install pspell-devel

【错误】configure: error: Could not find net-snmp-config binary. Please check your net-snmp installation.

解决:yum -y install net-snmp-devel

【错误】configure: error: xslt-config not found. Please reinstall the libxslt >= 1.1.0 distribution

解决:yum -y install libxslt-devel

版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 dio@foxmail.com 举报,一经查实,本站将立刻删除。

相关推荐


随着云计算和网络技术的发展,越来越多的数据需要在服务器之间进行传输和共享。云挂机宝作为一种常见的服务器设备,具有高效、稳定的特性,使得它成为了许多企业和个人用户传输数据的首选。本文将讨论云挂机宝服务器
阿里云服务器Tomcat无法从外部访问一、环境阿里云Ubuntu 12.04.5 LTStomcat和java都是阿里云默认的7的版本,如下图二、问题部署后./startup.sh启动tomcat 之后外部访问http://ip:8080/无法访问,之后去查看防火墙关闭了Ubuntu下面的防火墙123
购买一系列的东西其实就是花钱买块区域,服务器,域名,云解析,花了好多money。。。一、租服务器百度搜索阿里云进入官网首页,点击登录进入登录页面,可以使用邮箱登录或者注册进入注册页面,填写注册信息登录成功,进入主页,点击云服务ECS,点击购买推荐或者选购配置根据实际情况选择产品,可能没有货,那么就需要更改购买条件如果是新用户,购买
前言昨天买了域名,服务器,然后搭建了环境,然后想他通过默认的端口,不用端口就访问。设置WEB项目的欢迎页在WEB-INF文件夹下有个web.xml文件(最近新建的项目不包含此文件,可以手动新建),在welcome-file-list节点中设置,代码如下 <welcome-file-list> <welcome-file>test.html</welcome-file>
前言由于服务器centos6.8安装mysql一直出现不能连接问题,然后看到一个方法,一不小心就把yum给删除了,都还原不了,很是绝望,很难受。然后没有yum这个centos就感觉废了,然后找方法装上去。 python --version查看python 版本 whereis python 查看python文件 python: /usr/bin/python2.6 /usr/bin/python
前言用 SSH客户端登录上以后,自己想要在本地连接服务器上的mysql服务器。解决方法1、首先启动数据库[root@iZm5ec880z2rorZ ~]# service mysqld start可以输入一下加粗命令:[root@iZm5ec880z2rorZ ~]# mysql -u root -p Enter password: (输入你的数据库密码)Welcome to the My
前言乱码问题是很让人抓狂的问题,下面我将记录一下Linux下MySQL乱码问题的解决方法。 mysql在linux下乱码问题一、操作mysql默认字符集是latin1,但是我们大部分程序使用的字符集是utf8,我们就需要修改mysql的字符集了。1)查看默认编码show variables like 'character%';+--------------------------+--------
问题描述今天阿里云服务器安装mysql的收,遇到了一个很熟悉的问题 输入#mysql -u root -p ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2) 解决方案一、方案1 1.#ps -A|grep mysql 显示类似:
今天在使用filezilla连接虚拟机中的ubuntu的时候出现上次出错,错误详情为:open for write: permission denied看完错误大概知道和权限有问题,再次查看虚拟机,我们使用以下命令给我们需要放入的目标文件权限:sudo chmod 777 /home再次尝试上传,上传成功! ...
直接上步骤,做一个简单的记录!配置阿里云oss找到对应的oss如果没有bucket,则新建一个新建之后,进入到对应的bucket,然后进行相关设置以上就是oss的基本设置,接下来是域名相关设置,这也是最重要的一些步骤。oss域名解析和cdn设置oss域名解析设置oss的域名设置是在传输管理下进行设置。如果没有域名,需要添加域名,没有注册域名自行注册。添加之后就会在上面列表上显示。以上就是域名的解析配置,期间还需要设置域名解析cname等。oss的cdn设置加速设置cdn
这个需要开放centos的端口和腾讯云服务器的端口。防火墙开放8080端口因为Centos7以上用firewalld代替了iptables,也就是说firewalld开通了8080端口应该就行了1.输入netstat -tunlp 查看8080是否放开。2.如果没有开放,输入firewall-cmd --state #查看防火墙状态。3.在running 状态下,向firewall 添加需要开放的端口firewall-cmd --permanent --zone=public --add-po
前言:博主资历尚浅,很多东西都还在刚起步学习的阶段,这几天开发任务比较轻,就在自己window系统下,模拟部署远程服务器,利用Jenkins + Ant + Tomcat 搭建了一个自动发布部署的环境
为了做集群测试,在每台机器上装了3个tomcat,每次发布项目的时候都要反复敲一些命令,重启 tomcat 之前先检查 tomcat 进程有没有停掉,没有还要手动 kill 该进程。 发布次数多了,操
Jenkins修改管理员密码,我看了网上所有的教程,竟然全都是拿着一串已经加密好的 111111 的密文去替代 config.xml 文件里面的密码,然后大家的密码都是 111111!我觉得这种做法实
一、四层与七层负载均衡在原理上的区别 1.图示 2.概述 四层负载均衡工作在 OSI 模型中的四层,即传输层。四层负载均衡只能根据报文中目标地址和源地址对请求进行转发,而无法修改或判断所请求资源的具体
和 window不同,在Linux压缩文件需要注意的是,压缩后的文件会把源文件给替代,无论是gzip、bzip2、xz 均不支持压缩目录,要达到压缩目录的目的,需要用到tar指令。 gzip 压缩 g
一、前言 随着每天业务的增长,Tomcat 的catalina.out日志 变得越来越大,占用磁盘空间不说。要查看某个时候的日志的时候,庞大的日志让你顿时无从下手,所以日志的切割的变得刻不容缓。而且,
一、安装 和 准备工作 我们选择了用 Tomcat 服务器下 war 包的安装方式。Jenkins 的下载地址:http://mirrors.jenkins-ci.org/,打开链接后,表格有war列
一、gcc gcc是Linux上面最标准的C语言的编译程序,用来源代码的编译链接。 gcc -c hello.c 编译产生目标文件hello.o gcc -O hello.c 编译产生目标文件,并进行
随着智能化互联时代的来临,家中的智能设备越来越多:电视机、平板、游戏主机、电脑、手机等遍及家中各个角落,同时设备之间共享数据的需求变的越来越强烈。比如同步、备份手机上的照片和视频,在电视机上观看电脑中