0

I'm trying to install the NcodeSyosetu module using:

gem install ncode-syosetu

but the output i get is:

Building native extensions. This could take a while...
Successfully installed concurrent-ruby-ext-1.0.5
Fetching: expeditor-0.5.0.gem (100%)
Successfully installed expeditor-0.5.0
Fetching: mini_portile2-2.1.0.gem (100%)
Successfully installed mini_portile2-2.1.0
Fetching: nokogiri-1.6.8.1.gem (100%)
Building native extensions. This could take a while...
Successfully installed nokogiri-1.6.8.1
Fetching: nokogumbo-1.5.0.gem (100%)
Building native extensions. This could take a while...
Successfully installed nokogumbo-1.5.0
Fetching: crass-1.0.5.gem (100%)
Successfully installed crass-1.0.5
Fetching: sanitize-4.6.6.gem (100%)
Successfully installed sanitize-4.6.6
Fetching: aws-eventstream-1.0.3.gem (100%)
Successfully installed aws-eventstream-1.0.3
Fetching: aws-sigv4-1.1.0.gem (100%)
Successfully installed aws-sigv4-1.1.0
Fetching: aws-partitions-1.252.0.gem (100%)
Successfully installed aws-partitions-1.252.0
Fetching: jmespath-1.4.0.gem (100%)
Successfully installed jmespath-1.4.0
Fetching: aws-sdk-core-3.0.0.rc1.gem (100%)
Successfully installed aws-sdk-core-3.0.0.rc1
Fetching: aws-sdk-polly-1.0.0.rc2.gem (100%)
Successfully installed aws-sdk-polly-1.0.0.rc2
Fetching: unf_ext-0.0.7.6.gem (100%)
Building native extensions. This could take a while...
Successfully installed unf_ext-0.0.7.6
Fetching: unf-0.1.4.gem (100%)
Successfully installed unf-0.1.4
Fetching: domain_name-0.5.20190701.gem (100%)
Successfully installed domain_name-0.5.20190701
Fetching: webrobots-0.1.2.gem (100%)
Successfully installed webrobots-0.1.2
Fetching: ntlm-http-0.1.1.gem (100%)
Successfully installed ntlm-http-0.1.1
Fetching: http-cookie-1.0.3.gem (100%)
Successfully installed http-cookie-1.0.3
Fetching: mime-types-1.25.1.gem (100%)
Successfully installed mime-types-1.25.1
Fetching: net-http-persistent-2.9.4.gem (100%)
Successfully installed net-http-persistent-2.9.4
Fetching: net-http-digest_auth-1.4.1.gem (100%)
Successfully installed net-http-digest_auth-1.4.1
Fetching: mechanize-2.7.2.gem (100%)
Successfully installed mechanize-2.7.2
Fetching: ncode-syosetu-core-0.2.3.gem (100%)
Successfully installed ncode-syosetu-core-0.2.3
Fetching: ncode-syosetu-ssml-0.2.3.gem (100%)
Successfully installed ncode-syosetu-ssml-0.2.3
Fetching: ncode-syosetu-polly-0.2.3.gem (100%)
Successfully installed ncode-syosetu-polly-0.2.3
Fetching: kindlegen-2.9.7.gem (100%)
Building native extensions. This could take a while...
ERROR:  Error installing ncode-syosetu:
    ERROR: Failed to build gem native extension.

    current directory: /home/usr/.ruby/gems/kindlegen-2.9.7/ext/kindlegen
/usr/bin/ruby2.5 -r ./siteconf20191211-9326-nzo0qg.rb extconf.rb

current directory: /home/usr/.ruby/gems/kindlegen-2.9.7/ext/kindlegen
make "DESTDIR=" clean
make: *** No rule to make target 'clean'. Stop.

current directory: /home/usr/.ruby/gems/kindlegen-2.9.7/ext/kindlegen
make "DESTDIR="
make: Nothing to be done for 'all'.

current directory: /home/usr/.ruby/gems/kindlegen-2.9.7/ext/kindlegen
make "DESTDIR=" install
curl http://kindlegen.s3.amazonaws.com/kindlegen_linux_2.6_i386_v2_9.tar.gz -o kindlegen_linux_2.6_i386_v2_9.tar.gz
make: curl: Command not found
Makefile:18: recipe for target 'kindlegen_linux_2.6_i386_v2_9.tar.gz' failed
make: *** [kindlegen_linux_2.6_i386_v2_9.tar.gz] Error 127

make install failed, exit code 2

Gem files will remain installed in /home/usr/.ruby/gems/kindlegen-2.9.7 for inspection.
Results logged to /home/usr/.ruby/extensions/x86_64-linux/2.5.0/kindlegen-2.9.7/gem_make.out

What's going wrong? [my OS is Lubuntu 18.04.3 LTS (Bionic Beaver)]

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.