2016-09-14 10 views
5

मैं फोनेटिसॉरस स्थापित करने की कोशिश कर रहा हूं (जैस्पर स्थापना निर्देश here का उपयोग करके)। दुर्भाग्य से मैंने एक निर्भरता मुद्दे में भाग लिया है जिसे मैं हल करने में सक्षम नहीं हूं।फोनेटिसॉरस निर्भरता समस्या

जब मैं कमांड sudo apt-get -t experimental install phonetisaurus m2m-aligner mitlm libfst-tools मैं निम्नलिखित आउटपुट प्राप्त चलाएँ:

Reading package lists... Done 
Building dependency tree 
Reading state information... Done 
libstdc++6 is already the newest version. 
The following packages were automatically installed and are no longer required: 
    libboost-atomic1.55.0 libboost-filesystem1.55.0 
    libboost-program-options1.55.0 libboost-regex1.55.0 libboost-thread1.55.0 
    libcwiid1 libfftw3-single3 libjs-prettify libqscintilla2-11 
    libqscintilla2-l10n libqt4-network libqt4-xmlpatterns libqtwebkit4 
    libruby1.9.1 libruby1.9.1-dbg libscsynth1 libtcltk-ruby1.9.1 ri1.9.1 
    ruby1.9.1 ruby1.9.1-dev ruby1.9.1-examples ruby1.9.1-full ruby1.9.3 
    supercollider supercollider-common supercollider-ide supercollider-language 
    supercollider-server supercollider-supernova 
Use 'apt-get autoremove' to remove them. 
0 upgraded, 0 newly installed, 0 to remove and 82 not upgraded. 

प्रयास कर रहा है:

Reading package lists... done 
Building dependency tree 
Reading state information... Done 
Some packages could not be installed. This may mean that you have requested an impossible situation or if you are using the unstable distribution that some required packages have not yet been created or been moved out of Incoming. 
The following information may help to resolve the situation: 

The following packages have unmet dependencies: 
    m2m-aligner : Depends: libstdc++6 (>=5.2) but 4.9.2-10 is to be installed 
    mitlm : Depends libmitlm0 (= 0.4.1-2) but it is not going to be installed 
      Depends: libstdc++6 (>=5.2) but 4.9.2-10 is to be installed 
phonetisaurus : Depends: libfst4 (>=1.5.3+r3) but it is not installable 
       Depends: libstdc++6 (>=5.2) but 4.9.2-10 is to be installed 

++ 6 सीधे libstdc स्थापित करने के लिए प्रयास कर रहा है (या तो sudo apt-get install libstdc++6 या sudo apt-get -f libstdc++6 के साथ) मेरे साथ छोड़ देता है libfst4 स्थापित करने के लिए मुझे देता है:

Reading package lists... Done 
Building dependency tree 
Reading state information... Done 
Package libfst4 is not available, but is referred to by another package. 
This may mean that the package is missing, has been obsoleted, or 
is only available from another source 

E: Package 'libfst4' has no installation candidate 

और libmitlm0 स्थापित करने के प्रयास मुझे देता है:

Reading package lists... Done 
Building dependency tree 
Reading state information... Done 
Some packages could not be installed. This may mean that you have 
requested an impossible situation or if you are using the unstable 
distribution that some required packages have not yet been created 
or been moved out of Incoming. 
The following information may help to resolve the situation: 

The following packages have unmet dependencies: 
libmitlm0 : Depends: libstdc++6 (>= 5.2) but 4.9.2-10 is to be installed 
E: Unable to correct problems, you have held broken packages. 

मुझे लगता है कि वहाँ कुछ मैं यहाँ याद कर रहा हूँ है, लेकिन इसके साथ चारों ओर खिलवाड़ का एक दिन के बाद मैं अभी भी यह समझ नहीं की तरह। किसी भी मदद/अंतर्दृष्टि की सराहना की जाएगी।

+1

जैस्पर दस्तावेज़ पुराने और वास्तव में उपयोगी नहीं है। – G10DRAS

+1

प्रयोगात्मक रेपो का प्रयोग न करें, कोड से फोनेटिसॉरस संकलित करें। – G10DRAS

+0

सीएमयूएसफ़िनक्स साइट पर देखने के बाद मुझे लगता है कि मैं अनुक्रम-से-अनुक्रम जी 2 पी टूलकिट के साथ जा रहा हूं, क्योंकि यह अधिक अद्यतित प्रतीत होता है। हालांकि सुझावों के लिए धन्यवाद। –

उत्तर

4

लिंक प्रदान करने के लिए धन्यवाद G10DRAS।

यह समाधान मेरे लिए काम किया। सबसे पहले, मैं इन फ़ाइलों

sudo wget https://storage.googleapis.com/google-code-archive-downloads/v2/code.google.com/phonetisaurus/is2013-conversion.tgz 
sudo wget http://www.openfst.org/twiki/pub/FST/FstDownload/openfst-1.3.4.tar.gz 

तब डाउनलोड किया है, अंत में फ़ाइलों

tar -xvf is2013-conversion.tgz 
tar -xvf openfst-1.3.4.tar.gz 

untared, पर अगले चरणों का पालन: http://jasperproject.github.io/documentation/installation

+0

ऐसा लगता है कि काम किया है, हालांकि मैं उन फ़ाइलों को स्थानांतरित नहीं कर सकता जो इंस्टॉलेशन गाइड मुझे बताती हैं। मैं एक 'सीपी प्राप्त करता रहता हूं: stat _filename_ ऐसी कोई फ़ाइल या निर्देशिका' त्रुटि नहीं दे सकता। –

+0

कोई बात नहीं, मैं भूल गया कि मैं इसे उप-निर्देशिका में बना रहा हूं और चाल कमांड इसे प्रतिबिंबित करने के लिए फ़ाइल पथ को समायोजित किए बिना काम नहीं करेगा। –

संबंधित मुद्दे