elastic/elasticsearch-perl

cant build 7_0 (No rule to make target.)

Closed this issue · 2 comments

i need Search::Elasticsearch to work with ES v7.17.13, 8_0 doesnt seem capable.

apt-get install libcurl4-openssl-dev  pkg-config
cpanm -l lib ExtUtils::PkgConfig
cpanm -l lib Search::Elasticsearch::Client::7_0

fails with this error message:

make: *** No rule to make target 'lib/Search/Elasticsearch/Client/7_0/Direct/SearchableSnapshots', needed by 'manifypods'. Stop.

# perl -v|grep version
This is perl 5, version 36, subversion 0 (v5.36.0) built for x86_64-linux-gnu-thread-multi

# cat /etc/debian_version 
12.1

hmm .. using carton to install works, why is that?

cat cpanfile
requires 'Search::Elasticsearch' => '== 7.717';

# carton install .

# carton exec perl -MSearch::Elasticsearch\ 9999
Search::Elasticsearch version 9999 required--this is only version 7.717.

this works, guess i used the wrong command to build 7_0

cpanm Search::Elasticsearch~"< 8.00"