Heim  >  Artikel  >  Backend-Entwicklung  >  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:091175Durchsuche

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

Stellungnahme:
Der Inhalt dieses Artikels wird freiwillig von Internetnutzern beigesteuert und das Urheberrecht liegt beim ursprünglichen Autor. Diese Website übernimmt keine entsprechende rechtliche Verantwortung. Wenn Sie Inhalte finden, bei denen der Verdacht eines Plagiats oder einer Rechtsverletzung besteht, wenden Sie sich bitte an admin@php.cn