ueno / ruby-gpgme

a ruby interface to GnuPG Made Easy (GPGME).
GNU Lesser General Public License v2.1
232 stars 99 forks source link

Failed to compile with presence of CFLAGS unix var #75

Closed runlevel5 closed 8 years ago

runlevel5 commented 8 years ago

Today, I ran into an issue installing this gem, with the presence of CFLAGS unix var, that is set to -I/opt/boxen/homebrew/include on my box, I got error:

configure: error: unrecognized option: `-I/opt/boxen/homebrew/include'
Try `configure --help' for more information

Obviously, unset this UNIX var resolves the issue. It makes me wonder if it should fail or not because CFLAGS is a common flag and majority of other C-based gems are doing fine with the presence of it. Maybe the gem should be graceful with this var presence.

runlevel5 commented 8 years ago

d'oh, my colleague @taoza has submitted a PR https://github.com/ueno/ruby-gpgme/pull/74