ruby - Installing proj4rb on Ubuntu : Cannot find proj_api.h header -
trying install proj4rb on ubuntu or linux mint fails error :
building native extensions. take while... error: error installing proj4rb: error: failed build gem native extension. ./siteconf20161110-4168-1b7och9.rb extconf.rb checking proj_api.h... no extconf.rb:6:in `<main>': cannot find proj_api.h header (runtimeerror)
it isn't clear packages needed, , couldn't find related post on stackoverflow.
just install libproj-dev package :
sudo aptitude install libproj-dev gem install proj4rb # building native extensions. take while... # installed proj4rb-1.0.0
Comments
Post a Comment