Skip to content

Instantly share code, notes, and snippets.

@keithah
Created April 9, 2014 19:20
Show Gist options
  • Save keithah/10305151 to your computer and use it in GitHub Desktop.
Save keithah/10305151 to your computer and use it in GitHub Desktop.
levenshtein won't install for slogger
mba:tmp keith$ sudo gem install levenshtein
Building native extensions. This could take a while...
ERROR: Error installing levenshtein:
ERROR: Failed to build gem native extension.
/System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/bin/ruby extconf.rb
checking for main() in -llevenshtein_array... no
checking for main() in -llevenshtein_array_of_strings... no
checking for main() in -llevenshtein_generic... no
checking for main() in -llevenshtein_string... no
creating Makefile
make "DESTDIR="
compiling levenshtein_fast.c
linking shared-object levenshtein/levenshtein_fast.bundle
clang: error: unknown argument: '-multiply_definedsuppress' [-Wunused-command-line-argument-hard-error-in-future]
clang: note: this will be a hard error (cannot be downgraded to a warning) in the future
make: *** [levenshtein_fast.bundle] Error 1
Gem files will remain installed in /Library/Ruby/Gems/2.0.0/gems/levenshtein-0.2.2 for inspection.
Results logged to /Library/Ruby/Gems/2.0.0/gems/levenshtein-0.2.2/ext/levenshtein/gem_make.out
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment