07-30-2023, 02:12 PM
I set up the default Apache Server with PHP on OS X Yosemite, installed pear, installed Solr with brew (`brew install solr`) and am now trying to install the Solr extension for PHP with PECL using
pecl install solr
This gives me the error
configure: error: Please reinstall the libcurl distribution -
easy.h should be in <curl-dir>/include/curl/
ERROR: `/private/tmp/pear/install/solr/configure --enable-solr-debug=no --with-curl=/usr --with-libxml-dir=/usr' failed
However, the `curl` command is available in Terminal. Did I give the wrong path when asked during the installation
Enable Solr Debugging (Compiles solr in debug mode) [no] :
libcURL install prefix [/usr] :
libxml2 install prefix [/usr] :
and, if yes, how do I find the right path? Or do I need to install curl again and, if yes, what is the best way and can I do this using homebrew?
I will probably get the same problem with libxml2, won't I?
Thanks guys!
pecl install solr
This gives me the error
configure: error: Please reinstall the libcurl distribution -
easy.h should be in <curl-dir>/include/curl/
ERROR: `/private/tmp/pear/install/solr/configure --enable-solr-debug=no --with-curl=/usr --with-libxml-dir=/usr' failed
However, the `curl` command is available in Terminal. Did I give the wrong path when asked during the installation
Enable Solr Debugging (Compiles solr in debug mode) [no] :
libcURL install prefix [/usr] :
libxml2 install prefix [/usr] :
and, if yes, how do I find the right path? Or do I need to install curl again and, if yes, what is the best way and can I do this using homebrew?
I will probably get the same problem with libxml2, won't I?
Thanks guys!