Reputation: 12403
I've running to the error of trying to install solr with the pecl extension. I've read this one:
I'm using php 5.3.3 on a centos 6 server.
And both times I get the same problem:
pecl install -n solr-beta or pecl install -n solr or pear install pecl/solr
Enable Solr (yes of course) [yes] :
Enable Solr Debugging (Compiles solr in debug mode) [no] :
libcURL install prefix [/usr] :
libxml2 install prefix [/usr] :
checking for cURL in default path... not found
configure: error: Please reinstall the libcurl distribution -
easy.h should be in <curl-dir>/include/curl/
ERROR: `/var/tmp/solr/configure --enable-solr=yes --enable-solr-debug=no --with-curl=/usr --with-libxml-dir=/usr' failed
Is there another fix for this?
Upvotes: 3
Views: 5256
Reputation: 2856
i had the same problem and i just had to do is:
sudo apt-get install libcurl4-gnutls-dev libxml2-dev
And reinstall it.
Font: link
Upvotes: 12
Reputation: 4560
The solution you have linked will only work if you actually have curl installed as a module - if you didn't do it now and try again.
Upvotes: 0