error: png.h not found.

执行php安装

--enable-mbstring --enable-ftp --enable-gd-native-ttf --with-openssl --enable-pcntl --enable-sockets --with-xmlrpc --enable-zip --enable-soap --without-pear --with-gettext --enable-session --with-mcrypt --with-curl

出现了第二次异常error: png.h not found.

解决办法:

yum install libpng-devel

error: png.h not found.

时间: 2024-12-30 15:31:00

error: png.h not found.的相关文章

“fatal error: hdf5.h: 没有那个文件或目录”解决方法

問題一: Installing Caffe without CUDA: fatal error: cublas_v2.h No such file: 在Makefile.config中修改,將CPU_ONLY := 1打開. 問題二:“fatal error: hdf5.h: 没有那个文件或目录”解决方法 参考自http://blog.csdn.net/hongye000000/article/details/51043913 Step 1 在Makefile.config文件的第85行,添加/

编译Busybox时,出现错误fatal error: curses.h: No such file or directory

1 scripts/kconfig/mconf.c: In function ‘exec_conf’: 2 scripts/kconfig/mconf.c:481:2: warning: ignoring return value of ‘pipe’, declared with attribute warn_unused_result [-Wunused-result] 3 pipe(pipefd); 4 ^ 5 SHIPPED scripts/kconfig/zconf.tab.c 6 SH

[转]pro*c/c++编译错误 ” error: sqlca.h: No such file or directory “ 的解决办法

$ gcc -o test test.c 出现错误:error: sqlca.h: No such file or directory [解决方法]知道 sqlca.h 在 $ORACLE_HOME/precomp/public/下更正后执行“$ gcc -o test test.c -I $ORACLE_HOME/precomp/public 又出现错误: undefined reference to `sqlcxt' [解决方法]需要用到$ORACLE_HOME/lib/libclntsh.

安装php过程中的错误和解决方式 configure: error: jpeglib.h not found

centos6.5 32位系统: checking for the location of libpng... yeschecking for the location of libXpm... nochecking for FreeType 2... yeschecking for T1lib support... nochecking whether to enable truetype string function in GD... yeschecking whether to enab

error "`ft2build.h' hasn't been included yet!

Add include to "freetype.h" /* add this line */ #include <ft2build.h> #ifndef FT_FREETYPE_H #error "`ft2build.h' hasn't been included yet!" #error "Please always use macros to include FreeType header files." #error &quo

fatal error: Python.h: No such file or directory 解决

[常见错误] fatal error: Python.h: No such file or directory 环境场景 系统: Parrot Linux软件: 系统python默认版本2.7 PyCharm默认版本Python3.5场景: Build pycrypto-2.6.1 失败提示: building 'Crypto.PublicKey._fastmath' extension x86_64-linux-gnu-gcc -pthread -fwrapv -Wall -Wstrict-p

fatal error C1189: #error : WINDOWS.H already included. MFC apps must not #include &lt;windows.h&gt;

给对话框添加类, 报错 CalibrateMFCDlg.h(6) : error C2504: “CDialog”: 未定义基类 等多个错误 加上 #include "afxwin.h"  就会包如上错误 fatal error C1189: #error :  WINDOWS.H already included.  MFC apps must not #include <windows.h> 原因: 在其它文件里 #include ”CalibateMFCDlg.h&q

Error : WINDOWS.H already included.

这个是编译器编译顺序的问题, 是你将#include<stdafx.h>放在其它包含文件的后面了.你搜下这个文件,全部放在最前面就好了. fatal error C1189: #error : WINDOWS.H already included. MFC apps must not include <windows.h> 在windows console下编译时候遇到这个问题的 include "winsock2.h " include <afx.h&g

_mysql.c:29:20: error: Python.h: No such file or directory

在Centos系统中安装 pip install MySQL-python 提示: _mysql.c:29:20: error: Python.h: No such file or directory_mysql.c:40:26: error: structmember.h: No such file or directory 解决方法:yum install python-devel #yum install mysql-devel.x86_64 -----------------------