Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

My setup currently is on Mamp Pro using Php 5.3.14. I have a number of other extensions added and I'm trying to add SOLR. I have installed it, but now I need to add the SOLR PECL PHP extension but I seem to be having an issue installing it.

The instructions I have to install it are the following:

cd solr-1.0.2
phpize
./configure
make
make install

The errors I'm seeing in terminal when trying to install are:

MacBook-Pro:solr-1.0.2 computer$ cd solr-1.0.2
MacBook-Pro:solr-1.0.2 computer$ phpize
grep: /usr/include/php/main/php.h: No such file or directory
grep: /usr/include/php/Zend/zend_modules.h: No such file or directory
grep: /usr/include/php/Zend/zend_extensions.h: No such file or directory
Configuring for:
PHP Api Version:        
Zend Module Api No:     
Zend Extension Api No:  
configure.in:3: warning: prefer named diversions
configure.in:3: warning: prefer named diversions
share|improve this question
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.