-
Notifications
You must be signed in to change notification settings - Fork 24
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 while installing #57
Comments
This is geoip2_c's issue. Please try again. |
@okkez also getting an error if i try to install fluent-plugin-geoip:
this error happens with your fixed version geoip2_c v0.3.2 ... |
Just to update this.. |
ok, think this is another error:
|
How about trying to install older versions? |
Just to confirm installing older versions also worked for me. [root@test-instance /]# /usr/sbin/td-agent-gem install fluent-plugin-geoip -v 0.8.0 i'm guessing you already have it, but just to be sure, do you have geoip-devel installed? This was a requirement for me.. |
@y-ken installing older versions works:
@nikoskalenzis yes, these are the steps i do before:
|
@okkez @discostur @nikoskalenzis |
I'm trying to reproduce @nikoskalenzis's situation in this comment. I could not reproduce the situation on CentOS6 with both td-agent3 and td-agent2. I think @nikoskalenzis uses td-agent3. td-agent3 on CentOS6
td-agent2 on CentOS6
|
For @discostur's situation. @discostur uses Alpine Linux on Docker, maybe. He needs installing build dpendencies to builod geoip2_c gem properly.
|
Hey guys, just to confirm: [nikos.kalenzis@test-instance ~]$ sudo su [nikos.kalenzis@test-geoip ~]$ sudo su I installed the same dependencies as @okkez did, without the makecache option. |
@okkez thanks, your were right, i'm trying to run it on alpine linux inside docker. After installing the missing packets you postet i'm able to install the plugin successfully:
|
I've tried to reproduce @nikoskalenzis's situation on GCP CentOS6. @discostur Good to know that you succeeded! |
Hi guys, I am getting the same issue when trying to install on Ubuntu 14.04 using td-agent3(v1.0.2). I tried using both For me though this has only happen after I update td-agent from version 2. |
@wonderphil I could not reproduce your situation. For example, I've tried like following:
No problem with td-agent2 and fluent-plugin-geoip 0.8.2 Upgrade to td-agent3:
I've succeeded to upgrade td-agent 2 to 3. |
FYI, you can upgrade td-agent 3 from 3 by running following command:
|
@discostur It's worked for me |
I have the same issue. Eventually, I get the workaround at this place.My case is Ubuntu Xenial and td-agent 1.4.2. Just firstly install libmaxminddb-dev, and then install fluent-plugin-geoip.
Hope can help. |
I'm trying to install the plugin on a centos 6 machine and getting this in the output:
current directory: /opt/td-agent/embedded/lib/ruby/gems/2.4.0/gems/geoip2_c-0.3.1/ext/geoip2
make "DESTDIR="
compiling geoip2.c
In file included from geoip2.c:3:
/opt/td-agent/embedded/lib/ruby/gems/2.4.0/gems/geoip2_c-0.3.1/ext/geoip2/libmaxminddb/include/maxminddb.h:118: warning: declaration does not declare anything
geoip2.c: In function 'mmdb_entry_data_decode':
geoip2.c:115: error: 'MMDB_entry_data_s' has no member named 'utf8_string'
geoip2.c:115: error: 'MMDB_entry_data_s' has no member named 'utf8_string'
geoip2.c:115: error: 'MMDB_entry_data_s' has no member named 'utf8_string'
geoip2.c:119: error: 'MMDB_entry_data_s' has no member named 'double_value'
geoip2.c:121: error: 'MMDB_entry_data_s' has no member named 'bytes'
geoip2.c:121: error: 'MMDB_entry_data_s' has no member named 'bytes'
geoip2.c:121: error: 'MMDB_entry_data_s' has no member named 'bytes'
geoip2.c:125: error: 'MMDB_entry_data_s' has no member named 'uint16'
geoip2.c:127: error: 'MMDB_entry_data_s' has no member named 'uint32'
geoip2.c:132: error: 'MMDB_entry_data_s' has no member named 'int32'
geoip2.c:134: error: 'MMDB_entry_data_s' has no member named 'uint64'
geoip2.c:137: error: 'MMDB_entry_data_s' has no member named 'uint128'
geoip2.c:150: error: 'MMDB_entry_data_s' has no member named 'boolean'
geoip2.c:152: error: 'MMDB_entry_data_s' has no member named 'float_value'
make: *** [geoip2.o] Error 1
make failed, exit code 2
Gem files will remain installed in /opt/td-agent/embedded/lib/ruby/gems/2.4.0/gems/geoip2_c-0.3.1 for inspection.
Results logged to /opt/td-agent/embedded/lib/ruby/gems/2.4.0/extensions/x86_64-linux/2.4.0/geoip2_c-0.3.1/gem_make.out
any thoughts?
The text was updated successfully, but these errors were encountered: