2011-06-13 6 views
5

की इंस्टॉल करते हैं MacPorts के माध्यम से Sup स्थापित करने का प्रयास मैं: -रूबी fastthread-1.0.7 और Sup

>---> Computing dependencies for sup 
>---> Dependencies to be installed: rb-fastthread rb-ferret rb-gettext rb-locale rb-highline rb-lockfile >rb-mime-types rb-ncurses-ruby rb-net-ssh rb-rake rb-rmail rb-trollop 
>---> Verifying checksum(s) for rb-fastthread 
>Error: Checksum (md5) mismatch for fastthread-1.0.7.gem 
>Error: Checksum (sha1) mismatch for fastthread-1.0.7.gem 
>Error: Checksum (rmd160) mismatch for fastthread-1.0.7.gem 
>*** 
>The non-matching file appears to be HTML. See this page for possible reasons 
>for the checksum mismatch: 
><http://trac.macports.org/wiki/MisbehavingServers> 
>*** 
>Error: Target org.macports.checksum returned: Unable to verify file checksums 
>Error: Failed to install rb-fastthread 
>Log for rb-fastthread is at: >/opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_ruby_rb->fastthread/main.log 
>Error: The following dependencies were not installed: rb-fastthread rb-ferret rb-gettext rb-locale rb->highline rb-lockfile rb-mime-types rb-ncurses-ruby rb-net-ssh rb-rake rb-rmail rb-trollop 
>Error: Status 1 encountered during processing. 
>To report a bug, see <http://guide.macports.org/#project.tickets> 

त्रुटि संकेत मिलता है कि मेरी डीएनएस सर्वर नहीं ठीक से फिर से निर्देशन कर रहे हैं लगता है, लेकिन मुझे लगता है गोल्ज के 8.8.8.8 और 8.8.4.4 सर्वर का उपयोग कर रहा हूं, इसलिए यह कोई मुद्दा नहीं होना चाहिए।

OSX 10.6 और गहरे लाल रंग का 1.9.2p180 (2011-02-18 संशोधन 30909) [x86_64-darwin10]।

किसी भी सुझाव की सराहना की जाएगी।

धन्यवाद।

की कोशिश की sudo मणि इन परिणामों के साथ sup स्थापित: -

>sudo gem install sup 
>Building native extensions. This could take a while... 
>ERROR: Error installing sup: 
>  ERROR: Failed to build gem native extension. 

>/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/bin/ruby extconf.rb 
>checking for unistd.h... yes 
>checking for locale.h... yes 
>checking for ncurses.h... yes 
>checking for wmove() in -lncursesw... no 
>checking for wmove() in -lpdcurses... no 
>*** extconf.rb failed *** 
>Could not create Makefile due to some reason, probably lack of 
>necessary libraries and/or headers. Check the mkmf.log file for more 
>details. You may need configuration options. 

>Provided configuration options: 
>  --with-opt-dir 
>  --without-opt-dir 
>  --with-opt-include 
>  --without-opt-include=${opt-dir}/include 
>  --with-opt-lib 
>  --without-opt-lib=${opt-dir}/lib 
>  --with-make-prog 
>  --without-make-prog 
>  --srcdir=. 
>  --curdir 
>  --ruby=/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/bin/ruby 
>  --with-ncurseswlib 
>  --without-ncurseswlib 
>  --with-pdcurseslib 
>  --without-pdcurseslib 
>extconf.rb:46: ncurses library not found (RuntimeError) 

मैं पहले स्थापित किया था sudo पोर्ट के माध्यम से ncurses ncurses स्थापित + universial

उत्तर

0

जाहिर मैक OSX ncurses पहले से ही स्थापित के साथ आता है, तो यह सिर्फ कर सकता एक $ पाथ मुद्दा हो? locate ncurses कुछ भी उपयोगी दिखाता है?

/usr/bin/ncurses5.4-config 
/usr/include/ncurses.h 
/usr/include/ncurses_dll.h 
/usr/lib/libncurses.5.4.dylib 
/usr/lib/libncurses.5.dylib 
/usr/lib/libncurses.dylib 

तुम हमेशा पता लगाने की कोशिश कर सकते: अगर मैं इसे यहाँ चलाने मैं कुछ सामान/डेवलपर में (iPhone .dylibs), बंदरगाहों फ़ाइलें, और/usr/शामिल हैं और/usr/lib में कुछ सामान, सहित ncurses lib मैन्युअल रूप से और फिर gem install sup

के लिए कॉन्फ़िगरेशन विकल्प बदल रहा है
संबंधित मुद्दे