स्थापित करने में समस्या निवारण मैं गेरकिन 2.1.5 स्थापित करने की कोशिश कर रहा हूं, वास्तव में, यह https://github.com/opencongress/opencongress की निर्भरता है। मैं स्थापित करने के लिए कोड की मूल निर्देशिका में bundle install
का उपयोग कर रहा हूं, लगभग 20-30 पैकेज स्थापित हो गए हैं और अब मैं इस पर फंस गया हूं। मैं दौड़ रहा हूं:Gherkin 2.1.5
Linux 3.2.0-27-generiC#43-Ubuntu SMP
Linux Mint 13 Maya
इंस्टॉलेशन बंद होने के बाद आउटपुट यहां है।
---snip--(a bunch of usings)
Installing gherkin (2.1.5) with native extensions
Gem::Installer::ExtensionBuildError: ERROR: Failed to build gem native extension.
/usr/bin/ruby1.8 extconf.rb
checking for main() in -lc... yes
creating Makefile
make
gcc -I. -I. -I/usr/lib/ruby/1.8/x86_64-linux -I. -D_FORTIFY_SOURCE=2 -D_FORTIFY_SOURCE=2 -fPIC -fno-strict-aliasing -g -g -O2 -fPIC -O0 -Wall -Werror -c gherkin_lexer_ar.c
/Users/aslakhellesoy/scm/gherkin/tasks/../ragel/i18n/ar.c.rl: In function ‘CLexer_scan’:
/Users/aslakhellesoy/scm/gherkin/tasks/../ragel/i18n/ar.c.rl:198:29: error: the comparison will always evaluate as ‘true’ for the address of ‘raise_lexer_error’ will never be NULL [-Werror=address]
/Users/aslakhellesoy/scm/gherkin/tasks/../ragel/i18n/ar.c.rl:198:29: error: the comparison will always evaluate as ‘true’ for the address of ‘raise_lexer_error’ will never be NULL [-Werror=address]
cc1: all warnings being treated as errors
make: *** [gherkin_lexer_ar.o] Error 1
Gem files will remain installed in /usr/lib/ruby/gems/1.8/gems/gherkin-2.1.5 for inspection.
Results logged to /usr/lib/ruby/gems/1.8/gems/gherkin-2.1.5/ext/gherkin_lexer_ar/gem_make.out
मैंने पहले कभी रूबी में प्रोग्राम नहीं किया है, इसलिए मैं चीजों की पूरी स्थापना प्रक्रिया के संपर्क में काफी कुछ नहीं हूं। मैंने अभी यह पता लगाया था कि कैसे स्थापित करने के लिए रेडक्लोथ प्राप्त किया जाए और सोचा कि मैं अच्छे में था। किसी भी सलाह के लिए धन्यवाद।
यह काम किया, लेकिन क्यों? समझने के बिना, हम हमेशा के लिए stackoverflow ब्राउज़ करने के लिए consigned हैं! – cmrichards