kabel / homebrew-php-ext

🐘🌐 Core PHP extension formulae not suitable for Homebrew/core

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Tidy can't be installed

iluuu1994 opened this issue · comments

I have issues installing php@7.0-tidy:

Last 15 lines from /Users/username/Library/Logs/Homebrew/php@7.0-tidy/03.make:
2018-04-25 13:26:19 +0200

make

/bin/sh /private/tmp/php@7.0-20180425-47372-s3kv5u/php-7.0.29/ext/tidy/libtool --mode=compile clang -DZEND_ENABLE_STATIC_TSRMLS_CACHE=1 -I. -I/private/tmp/php@7.0-20180425-47372-s3kv5u/php-7.0.29/ext/tidy -DPHP_ATOM_INC -I/private/tmp/php@7.0-20180425-47372-s3kv5u/php-7.0.29/ext/tidy/include -I/private/tmp/php@7.0-20180425-47372-s3kv5u/php-7.0.29/ext/tidy/main -I/private/tmp/php@7.0-20180425-47372-s3kv5u/php-7.0.29/ext/tidy -I/usr/local/Cellar/php@7.0/7.0.29_1/include/php -I/usr/local/Cellar/php@7.0/7.0.29_1/include/php/main -I/usr/local/Cellar/php@7.0/7.0.29_1/include/php/TSRM -I/usr/local/Cellar/php@7.0/7.0.29_1/include/php/Zend -I/usr/local/Cellar/php@7.0/7.0.29_1/include/php/ext -I/usr/local/Cellar/php@7.0/7.0.29_1/include/php/ext/date/lib -I/usr/local/opt/tidy-html5/include  -DHAVE_CONFIG_H  -g -O2   -c /private/tmp/php@7.0-20180425-47372-s3kv5u/php-7.0.29/ext/tidy/tidy.c -o tidy.lo
mkdir .libs
 clang -DZEND_ENABLE_STATIC_TSRMLS_CACHE=1 -I. -I/private/tmp/php@7.0-20180425-47372-s3kv5u/php-7.0.29/ext/tidy -DPHP_ATOM_INC -I/private/tmp/php@7.0-20180425-47372-s3kv5u/php-7.0.29/ext/tidy/include -I/private/tmp/php@7.0-20180425-47372-s3kv5u/php-7.0.29/ext/tidy/main -I/private/tmp/php@7.0-20180425-47372-s3kv5u/php-7.0.29/ext/tidy -I/usr/local/Cellar/php@7.0/7.0.29_1/include/php -I/usr/local/Cellar/php@7.0/7.0.29_1/include/php/main -I/usr/local/Cellar/php@7.0/7.0.29_1/include/php/TSRM -I/usr/local/Cellar/php@7.0/7.0.29_1/include/php/Zend -I/usr/local/Cellar/php@7.0/7.0.29_1/include/php/ext -I/usr/local/Cellar/php@7.0/7.0.29_1/include/php/ext/date/lib -I/usr/local/opt/tidy-html5/include -DHAVE_CONFIG_H -g -O2 -c /private/tmp/php@7.0-20180425-47372-s3kv5u/php-7.0.29/ext/tidy/tidy.c  -fno-common -DPIC -o .libs/tidy.o
/private/tmp/php@7.0-20180425-47372-s3kv5u/php-7.0.29/ext/tidy/tidy.c:34:10: fatal error: 'buffio.h' file not found
#include "buffio.h"
         ^~~~~~~~~~
1 error generated.
make: *** [tidy.lo] Error 1

If reporting this issue please do so at (not Homebrew/brew or Homebrew/core):
https://github.com/kabel/homebrew-php-ext/issues

I found a similar issue in the old homebrew-php repository:
https://github.com/Homebrew/homebrew-php/issues/2958

The issue was closed without solution as OP simply reinstalled tidy-html5 This did not work for me. Any idea what's going on?

Thanks man! I'll try it again later.