发新帖

[Linux] PHP7编译常见错误

零下一度 2019-7-5 1199

问题: configure: error: DBA: Could not find necessary header file(s).

yum install gdbm-devel

问题:checking for C++ compiler default output file name... configure: error: C++ compiler cannot create executables

需要更新glibc和gcc

yum install glibc-headers
yum install gcc-c++

yum install gdbm-devel


问题:Package requirements (libcurl >= 7.15.5) were not met:

yum install libcurl-devel.x86_64 -y

yum install bzip2-devel.x86_64 -y

yum install sqlite-devel

yum install gmp-devel

问题:configure: error: Package requirements (oniguruma) were not met:

yum install oniguruma-devel

问题:configure: error: Cannot find libpq-fe.h. Please specify correct PostgreSQL installation path

yum install postgresql-devel

问题:configure: error: Please reinstall readline - I cannot find readline.h

yum install readline-devel

问题:configure: error: Package requirements (libxslt >= 1.1.0) were not met:

yum install libxslt-devel


yum install vim wget readline readline-devel zlib zlib-devel openssl openssl-devel pam-devel libxml2-devel libxslt-devel python-devel tcl-devel gcc gcc-c++ rsync -y



最新回复 (0)
返回
零下一度
主题数
928
帖子数
0
注册排名
1