Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error installing the plugin #460

Open
miquelis opened this issue May 4, 2021 · 2 comments
Open

Error installing the plugin #460

miquelis opened this issue May 4, 2021 · 2 comments

Comments

@miquelis
Copy link

miquelis commented May 4, 2021

Hello, everyone!

I am trying to perform the installation of the plugin, however the following error occurs:

SO: Debian 10
TD-Agent: 4.1.0
fluentd: 1.12.1

sudo td-agent-gem install fluent-plugin-google-cloud
Building native extensions. This could take a while...
ERROR:  Error installing fluent-plugin-google-cloud:
        ERROR: Failed to build gem native extension.

    current directory: /opt/td-agent/lib/ruby/gems/2.7.0/gems/json-2.2.0/ext/json/ext/generator
/opt/td-agent/bin/ruby -I /opt/td-agent/lib/ruby/2.7.0 -r ./siteconf20210504-1643-1d4ptqf.rb extconf.rb
creating Makefile

current directory: /opt/td-agent/lib/ruby/gems/2.7.0/gems/json-2.2.0/ext/json/ext/generator
make "DESTDIR=" clean
sh: 1: make: not found

current directory: /opt/td-agent/lib/ruby/gems/2.7.0/gems/json-2.2.0/ext/json/ext/generator
make "DESTDIR="
sh: 1: make: not found

make failed, exit code 127

Gem files will remain installed in /opt/td-agent/lib/ruby/gems/2.7.0/gems/json-2.2.0 for inspection.
Results logged to /opt/td-agent/lib/ruby/gems/2.7.0/extensions/x86_64-linux/2.7.0/json-2.2.0/gem_make.out
@patient
Copy link

patient commented May 5, 2021

make: not found

You can try to install something like build-essential or another package for you dist

@arminzaugg
Copy link

https://docs.fluentd.org/deployment/plugin-management

sudo /usr/sbin/td-agent-gem install fluent-plugin-google-cloud

install make, gcc, autoconf first.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants