Maison  >  Article  >  développement back-end  >  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:091175parcourir

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行左右,然后检查下单双引号是否匹配正确。
帮顶!

Déclaration:
Le contenu de cet article est volontairement contribué par les internautes et les droits d'auteur appartiennent à l'auteur original. Ce site n'assume aucune responsabilité légale correspondante. Si vous trouvez un contenu suspecté de plagiat ou de contrefaçon, veuillez contacter admin@php.cn