[ext/iconv/iconv.lo] Error 1

办法1:

wget http://ftp.gnu.org/pub/gnu/libiconv/libiconv-1.13.1.tar.gz

tar -zxvf libiconv-1.13.1.tar.gz cd libiconv- 1.13.1 ./configure

make

make install

办法2:

  1. wget http://down.wdlinux.cn/in/iconv_ins.sh
  2. sh iconv_ins.sh
时间: 2024-10-24 21:48:53

[ext/iconv/iconv.lo] Error 1的相关文章

编译php 出现 make: *** [ext/mysqli/mysqli.lo] Error 1 错误的解决办法

php5.3.8 ./configure没有任何问题,make时出现如下问题,具体原因不明,在网上找到如下方法解决,mark一下 make: *** [ext/mysqli/mysqli.lo] Error 1 # mkdir /xxx/mysql/include/mysql# ln -s /xxx/mysql/include/* /xxx/mysql/include/mysql     //xxx表示mysql安装目录# make && make install

centos安装 php时 出现 make: *** [ext/dom/node.lo] Error

Linux安装PHP ,make 的时候报错: make: *** [ext/dom/node.lo] Error 1 解决办法: $ curl -o php-5.2.17.patch https://mail.gnome.org/archives/xml/2012-August/txtbgxGXAvz4N.txt $ tar jxf php-5.2.17.tar.bz2  $ cd php-5.2.17 $ patch -p0 -b <../php-5.2.17.patch    patchi

linux下安装php make: *** [sapi/cli/php] 错误 1 和 [ext/fileinfo/libmagic/apprentice.lo] Error 1的解决方法

p.p1 { margin: 0.0px 0.0px 0.0px 0.0px; font: 14.0px Arial; color: #333333; background-color: #ffffff } p.p2 { margin: 0.0px 0.0px 0.0px 0.0px; font: 14.0px Arial; color: #333333; background-color: #ffffff; min-height: 16.0px } span.s1 { } make: ***

php5.3.*编译出现make: *** [ext/gd/libgd/gd_compat.lo] Error 1 解决方法 [转]

In file included from /root/php-5.3.6/ext/gd/libgd/gd_compat.c:8: /usr/local/jpeg/include/jpeglib.h:938: error: expected declaration specifiers or ‘...’ before ‘FILE’ /usr/local/jpeg/include/jpeglib.h:939: error: expected declaration specifiers or ‘.

php编译安装执行make时报错: make: *** [ext/fileinfo/libmagic/apprentice.lo] Error 1

php编译安装执行make时报错,报错如下: /bin/sh /root/php-5.6.31/libtool --silent --preserve-dup-deps --mode=compile cc -I/root/php-5.6.31/ext/fileinfo/libmagic -Iext/fileinfo/ -I/root/php-5.6.31/ext/fileinfo/ -DPHP_ATOM_INC -I/root/php-5.6.31/include -I/root/php-5.6

make: *** [php_screw.lo] Error 1

编译过程中碰见的几个问题如下(解决方法) 1. /root/php_screw-1.5/php_screw.c: In function ‘pm9screw_compile_file’: 解决方法: 需要修改php_screw.c 把第78,84,93行的org_compile_file(file_handle, type); 修改为: org_compile_file(file_handle, type TSRMLS_CC); 然后再make就成功了. 2. /opt/soft/php_scr

[pdo_mysql.lo] Error 1 或者 [php_mysql.lo] Error 1

make: *** [pdo_mysql.lo] Error 1 make: *** [php_mysql.lo] Error 1 这是因为这是因为在编译时需要 MySQL 的头的文件.而它按默认搜索找不到头文件的位置,所以才出现这个问题.通过软连接把MySQL头文件对应到/usr/local/include/下就好比如你的MySQL安装文件位于/usr/local/mysql,那么就执行以下命令: # ln -s /usr/local/mysql/include/* /usr/local/in

centos7编译php出错 :make: *** [ext/dom/node.lo] 错误 1

PHP编译make的过程出错: 解决办法:需要打补丁 curl -o php-5.4.5.patch https://mail.gnome.org/archives/xml/2012-August/txtbgxGXAvz4N.txtcd php-5.4.5patch -p0 -b < ./php-5.4.5.patch 注意如果没有patch命令执行 yum install -y patch然后再重新configure配置,重新make. 原文地址:http://blog.51cto.com/1

php安装错误 (node.c:1953:error) 解决办法

[email protected] [/opt/php-5.2.17]# make /bin/sh /opt/php-5.2.17/libtool --silent --preserve-dup-deps --mode=compile gcc  -Iext/dom/ -I/opt/php-5.2.17/ext/dom/ -DPHP_ATOM_INC -I/opt/php-5.2.17/include -I/opt/ php-5.2.17/main -I/opt/php-5.2.17 -I/opt