Home  >  Article  >  Backend Development  >  linux - ubuntu重新编译php报错make:**[ext/data/php_data.lo] Error 2

linux - ubuntu重新编译php报错make:**[ext/data/php_data.lo] Error 2

WBOY
WBOYOriginal
2016-06-06 20:14:091173browse

linux - ubuntu重新编译php报错make:**[ext/data/php_data.lo] Error 2

由于某些原因要重新./configure php

linux - ubuntu重新编译php报错make:**[ext/data/php_data.lo] Error 2

新加了freetype红线那个参数 ,如今报错,百度谷歌了很久,没找到合适答案。
然后我重新去官网下载了一份php,重新configure,还是这个错。
如何解决?感激不尽

回复内容:

linux - ubuntu重新编译php报错make:**[ext/data/php_data.lo] Error 2

由于某些原因要重新./configure php

linux - ubuntu重新编译php报错make:**[ext/data/php_data.lo] Error 2

新加了freetype红线那个参数 ,如今报错,百度谷歌了很久,没找到合适答案。
然后我重新去官网下载了一份php,重新configure,还是这个错。
如何解决?感激不尽

linux - ubuntu重新编译php报错make:**[ext/data/php_data.lo] Error 2

应该是libtool这个文件本身有语法错误。
不妨打开它然后定位到1395行左右,然后检查下单双引号是否匹配正确。
帮顶!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn