Ben unf_ext -v '0.0.6'
intall paket çalışıyorum ama bu hatayı almaya devam: Ben gem update --system
koşuyoruzkurulmasında hata/donatılacak mücevher unf_ext -v '0.0.6'
Gem::Ext::BuildError: ERROR: Failed to build gem native extension.
checking for main() in -lstdc++... yes
checking for ruby/encoding.h... yes
creating Makefile
make "DESTDIR=" clean
make "DESTDIR="
compiling unf.cc
In file included from unf.cc:1:
In file included from ./unf/normalizer.hh:4:
In file included from /Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/vector:265:
In file included from /Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/__bit_reference:15:
In file included from /Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/algorithm:628:
In file included from /Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/memory:604:
/Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/iterator:341:10: fatal error: '__debug' file not found
#include <__debug>
^
1 error generated.
make: *** [unf.o] Error 1
make failed, exit code 2
ve ben brew install coreutils
ettik ama Hala aynı hatayı alıyorum.
Güncelleme: Cevap
İndirilen ve Apple Developer den commandlinetoolsosx10.10forxcode6.2.dmg
yüklü. Hiçbir şeyi kaldırmaya gerek yok.
Corinne, ben Mac OSX kullanıyorsanız inanıyoruz. 'Gem yerel uzantısı oluşturulamadı.' Hata genellikle Xcode için eksik komut satırı araçları nedeniyle ortaya çıkar. Onları kurdun mu? Değilse, bunları Xcode-> Preferences-> Downloads'dan ya da xcode-select ile komut satırından yükleyin - kurulum ve gem yüklemenizi tekrar deneyin. – Sam