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

Still Working? #13

Open
sergimartnez opened this issue Jun 7, 2018 · 2 comments
Open

Still Working? #13

sergimartnez opened this issue Jun 7, 2018 · 2 comments

Comments

@sergimartnez
Copy link

gem install ruby_postal -v '1.0.0'
Building native extensions. This could take a while...
ERROR: Error installing ruby_postal:
ERROR: Failed to build gem native extension.

current directory: /Users/Sergio/.rvm/gems/ruby-2.3.0/gems/ruby_postal-1.0.0/ext/expand

/Users/Sergio/.rvm/rubies/ruby-2.3.0/bin/ruby -r ./siteconf20180607-4024-1yofs34.rb extconf.rb
creating Makefile

current directory: /Users/Sergio/.rvm/gems/ruby-2.3.0/gems/ruby_postal-1.0.0/ext/expand
make "DESTDIR=" clean

current directory: /Users/Sergio/.rvm/gems/ruby-2.3.0/gems/ruby_postal-1.0.0/ext/expand
make "DESTDIR="
compiling expand.c
expand.c:1:10: fatal error: 'libpostal/libpostal.h' file not found
#include <libpostal/libpostal.h>
^
1 error generated.
make: *** [expand.o] Error 1

make failed, exit code 2

Gem files will remain installed in /Users/Sergio/.rvm/gems/ruby-2.3.0/gems/ruby_postal-1.0.0 for inspection.
Results logged to /Users/Sergio/.rvm/gems/ruby-2.3.0/extensions/x86_64-darwin-15/2.3.0/ruby_postal-1.0.0/gem_make.out

@jesseclark
Copy link

Did you install the libpostal C library first?
https://github.com/openvenues/libpostal

@opensourceame
Copy link

I had this issue, I forgot to run make install after compiling libpostal. Hope this helps someone else.

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