Comments (8)
I can't reproduce error, but these lines shows that something wrong with maxminddb.h
/usr/local/include/maxminddb.h:57: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘mmdb_uint128_t’
/usr/local/include/maxminddb.h:87: error: expected specifier-qualifier-list before ‘mmdb_uint128_t’
Try to install latest release (0.5.3 for now) of libmaxmindb or from https://github.com/maxmind/libmaxminddb
Let me know how it's going.
from geoip2.
I can't do it:
libmaxminddb$ ./bootstrap
rm: ltmain.sh: No such file or directory
autoreconf: Entering directory `.'
autoreconf: configure.ac: not using Gettext
autoreconf: running: aclocal --force
autoreconf: configure.ac: tracing
autoreconf: running: libtoolize --copy --force
Can't exec "libtoolize": No such file or directory at /opt/chef/embedded/share/autoconf/Autom4te/FileUtils.pm line 345, <GEN3> line 6.
autoreconf: failed to run libtoolize: No such file or directory
autoreconf: libtoolize is needed because this package uses Libtool
from geoip2.
Have you read your quote above? How it's related to libmaxminddb ?
from geoip2.
The uint128 error may be caused by compiling the Ruby module as multiarch. Try prefixing the command to build it with ARCHFLAGS="-arch x86_64"
. For instance:
ARCHFLAGS="-arch x86_64" gem 'geoip2', github: 'da4nik/geoip2'
from geoip2.
@oschwald it hasn't helped. I had decided to use maxmind API instead of their library.
from geoip2.
For the record, if someone using bundler on a Gemfile with the geoip2
gem in it, you can also pass the ARCHFLAGS to bundler:
ARCHFLAGS="-arch x86_64" bundle install
Solved the problem on at least one Mac I've used.
from geoip2.
CFLAGS="-DMMDB_UINT128_USING_MODE=1" bundle install
did it for my config.
from geoip2.
@tribalvibes that worked for me.
from geoip2.
Related Issues (13)
- Updated for refactored libmaxminddb HOT 1
- Rename gem? HOT 7
- Geoip2 0.0.8 / Ruby 2.0.0 Compile Issue HOT 1
- Locale fallback HOT 1
- Locales as symbols HOT 1
- unable to open file /kpdata/maxmind/GeoLite2-City.mmdb (IOError)
- test
- Failed to compile under OSX 10.11 HOT 4
- Problem with the gem spec file
- The libmaxminddb API has changed HOT 1
- How to install HOT 9
- Build fails on OSX with Ruby 2.1 against libmaxminddb 0.5.3 HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from geoip2.