Sto provando ad installare pecl_http in php MAMP. Ho ricevuto i seguenti errori.Dove trovare i componenti e le librerie del server MAMP
grep: /Applications/MAMP/bin/php/php5.5.10/include/php/main/php.h: No such file or directory
grep: /Applications/MAMP/bin/php/php5.5.10/include/php/Zend/zend_modules.h: No such file or directory
grep: /Applications/MAMP/bin/php/php5.5.10/include/php/Zend/zend_extensions.h: No such file or directory
Configuring for:
fatto una ricerca su questo e scoperto che dobbiamo componenti server MAMP e Biblioteche.
Dopo aver scaricato questo componente, trovare il file zip corrispondente alla mia versione di PHP, estrarlo in una nuova directory nell'installazione di PHP ed eseguire lo script di configurazione.
Tutti i post che ho visto rimandano a questo link http://www.mamp.info/en/downloads/. Ma non riesco a trovare niente lì. E in pochi altri link ho trovato i componenti per le versioni precedenti di php (fino a 5.3).
Questa installazione dipende da troppe cose e richiede molto tempo. Per favore fatemelo sapere, se qualcuno sa dove posso trovare questi componenti server MAMP e Biblioteche per PHP5.5.10
Collegamento la maggior parte delle linee di uscita creati nel mio terminale FYI.
$ sudo pecl install pecl_http
Password:
downloading pecl_http-2.0.6.tgz ...
Starting to download pecl_http-2.0.6.tgz (152,827 bytes)
......................done: 152,827 bytes
downloading raphf-1.0.4.tgz ...
Starting to download raphf-1.0.4.tgz (7,232 bytes)
...done: 7,232 bytes downloading propro-1.0.0.tgz ...
Starting to download propro-1.0.0.tgz (6,217 bytes)
...done: 6,217 bytes 4 source files, building WARNING: php_bin /Applications/MAMP/bin/php/php5.5.10/bin/php appears to have a suffix /php5.5.10/bin/php, but config variable php_suffix does not match
running: phpize grep: /Applications/MAMP/bin/php/php5.5.10/include/php/main/php.h: No such file or directory
grep: /Applications/MAMP/bin/php/php5.5.10/include/php/Zend/zend_modules.h: No such file or directory
grep: /Applications/MAMP/bin/php/php5.5.10/include/php/Zend/zend_extensions.h: No such file or directory
Configuring for:
PHP Api Version: Zend Module Api No: Zend Extension Api No: whether to enable raphf support [yes] : yes building in /usr/local/pear/pear-build-rootXNkOc5/raphf-1.0.4 running: /usr/local/pear/raphf/configure --enable-raphf=yes checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking for a sed that does not truncate output... /usr/bin/sed checking for cc... cc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether cc accepts -g... yes checking for cc option to accept ISO C89... none needed checking how to run the C preprocessor... cc -E checking for icc... no checking for suncc... no checking whether cc understands -c and -o together... yes checking for system library directory... lib checking if compiler supports -R... no checking if compiler supports -Wl,-rpath,... yes checking build system type... x86_64-apple-darwin12.5.0 checking host system type... x86_64-apple-darwin12.5.0 checking target system type... x86_64-apple-darwin12.5.0 checking for PHP prefix... /Applications/MAMP/bin/php/php5.5.10 checking for PHP includes... -I/Applications/MAMP/bin/php/php5.5.10/include/php -I/Applications/MAMP/bin/php/php5.5.10/include/php/main -I/Applications/MAMP/bin/php/php5.5.10/include/php/TSRM -I/Applications/MAMP/bin/php/php5.5.10/include/php/Zend -I/Applications/MAMP/bin/php/php5.5.10/include/php/ext -I/Applications/MAMP/bin/php/php5.5.10/include/php/ext/date/lib checking for PHP extension directory... /Applications/MAMP/bin/php/php5.5.10/lib/php/extensions/no-debug-non-zts-20121212 checking for PHP installed headers prefix... /Applications/MAMP/bin/php/php5.5.10/include/php checking if debug is enabled... no checking if zts is enabled... no checking for re2c... no configure: WARNING: You will need re2c 0.13.4 or later if you want to regenerate PHP parsers. checking for gawk... no checking for nawk... no checking for awk... awk checking if awk is broken... no checking whether to enable raphf support... yes, shared checking for ld used by cc... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... no
...............
^
1 error generated.
make: *** [php_propro.lo] Error 1
ERROR: `make' failed
64 source files, building1 error generated.
make: *** [php_http_buffer.lo] Error 1
ERROR: `make' failed