# Install Perl Search::Elasticsearch error

**URL:** <https://discuss.elastic.co/t/install-perl-search-elasticsearch-error/42429>\
**Category:** Elasticsearch\
**Created:** [February 22, 2016, 8:35pm UTC](https://discuss.elastic.co/t/install-perl-search-elasticsearch-error/42429 "2016-02-22T20:35:22Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![L8apex32](https://avatars.discourse-cdn.com/v4/letter/l/858c86/32.png) [@L8apex32](https://discuss.elastic.co/u/L8apex32)\
**Post date:** [February 22, 2016, 8:35pm UTC](https://discuss.elastic.co/t/install-perl-search-elasticsearch-error/42429/1 "2016-02-22T20:35:22Z")

</div>

Using CPAN to install Search::Elasticsearch, and I'm getting an error, seemingly in the test stages of the install:

Result: PASS  
ETHER/JSON-MaybeXS-1.003005.tar.gz  
Tests succeeded but one dependency not OK (Cpanel::JSON::XS)  
ETHER/JSON-MaybeXS-1.003005.tar.gz  
[dependencies] -- NA  
Failed during this command:  
ETHER/JSON-MaybeXS-1.003005.tar.gz : make\_test NO one dependency not OK (Cpanel::JSON::XS)

cpan[6]\>

However, CPAN says Cpanel::JSON::XS is installed successfully:

cpan[6]\> test Cpanel::JSON::XS  
Running test for module 'Cpanel::JSON::XS'  
Running make for R/RU/RURBAN/Cpanel-JSON-XS-3.0211.tar.gz  
Has already been unwrapped into directory /myhome/.cpan/build/Cpanel-JSON-XS-3.0211-\_9weML  
Has already been made  
Running make test  
Has already been tested successfully

I hope this isn't a noob question.  
Thanks.  
Brian (Elastic{on} 2016 was great)

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [July 5, 2017, 11:14pm UTC](https://discuss.elastic.co/t/install-perl-search-elasticsearch-error/42429/2 "2017-07-05T23:14:22Z")

</div>


