apertium / apertium-uzb

Apertium linguistic data for Uzbek
GNU General Public License v3.0
6 stars 12 forks source link

Problem with building package #1

Closed ogabek96 closed 5 years ago

ogabek96 commented 5 years ago
apertium@ap-vbox:~/Desktop/apertium/apertium-languages/test/apertium-uzb$ ./autogen.sh 
configure.ac:4: warning: AM_INIT_AUTOMAKE: two- and three-arguments forms are deprecated.  For more info, see:
configure.ac:4: http://www.gnu.org/software/automake/manual/automake.html#Modernize-AM_005fINIT_005fAUTOMAKE-invocation
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking whether ln -s works... yes
checking for gawk... (cached) gawk
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for APERTIUM... yes
checking for hfst-lexc... /usr/bin/hfst-lexc
checking for hfst-twolc... /usr/bin/hfst-twolc
checking for cg-comp... /usr/bin/cg-comp
checking for pkg-config... /usr/bin/pkg-config
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
config.status: creating apertium-uzb.pc
apertium@ap-vbox:~/Desktop/apertium/apertium-languages/test/apertium-uzb$ make -j
test -d .deps || mkdir .deps
lt-comp lr apertium-uzb.post-uzb.dix uzb.autopgen.bin
/usr/bin/cg-comp apertium-uzb.uzb.rlx uzb.rlx.bin
apertium-validate-modes modes.xml
touch .deps/.d
cat apertium-uzb.uzb.lexc | grep -v 'Dir/RL' > .deps/uzb.LR.lexc
hfst-twolc apertium-uzb.uzb.twol -o .deps/uzb.twol.hfst
hfst-twolc dev/spellrelax.twol -o .deps/spellrelax.hfst
cat apertium-uzb.uzb.lexc | grep -v 'Dir/LR' > .deps/uzb.RL.lexc
hfst-xfst -p  -e "source apertium-uzb.uzb.guesser" -e "save stack .deps/uzb.guesser.hfst" -E "hyvästi" 
hfst-regexp2fst apertium-uzb.uzb.rest -o .deps/uzb.restrict_guesser.hfst
Reading input from Reading input from apertium-gen-modes modes.xml
hfst-lexc .deps/uzb.RL.lexc -o .deps/uzb.RL.lexc.hfst -v
Try ``hfst-xfst --help'' for more information.
hfst-lexc .deps/uzb.LR.lexc -o .deps/uzb.LR.lexc.hfst -v
apertium-uzb.uzb.twol.
Writing output to .deps/uzb.twol.hfst.
Reading alphabet.hfst-xfst: Unknown option `-E'.

Makefile:726: recipe for target '.deps/uzb.guesser.hfst' failed
make: *** [.deps/uzb.guesser.hfst] Error 1
make: *** Waiting for unfinished jobs....
dev/spellrelax.twol.
Writing output to .deps/spellrelax.hfst.
Reading alphabet.
Reading rules and compiling their contexts and centers.
hfst-lexc: warning: 
Reading sets.
Reading rules and compiling their contexts and centers.hfst-lexc: warning: 
Defaulting to OpenFst tropical type
Reading from .deps/uzb.RL.lexc, writing to .deps/uzb.RL.lexc.hfst
Parsing lexc file .deps/uzb.RL.lexc
RootSections: 0, Rules: 48..., Sets: 43, Tags: 95
18 PRON-DEM-BU...8Defaulting to OpenFst tropical type
Reading from .deps/uzb.LR.lexc, writing to .deps/uzb.LR.lexc.hfst
Parsing lexc file .deps/uzb.LR.lexc
Root CA...1 Compiling rules.CS...1 CC...1 QST...1 POSTADV...1 ModalParticles...6 VERB-IV...6
Storing rules....18 VERB-IV-FULL...10 VERB-TD...2 PRON-DEM-BU...8 VERB-TV...6 VERB-TV-FULL...10 CA... VERB-COPULA...91 CS...1 CC...1 QST...1 KAN...2 POSTADV...1 ModalParticles...6 NON-FINITE...7 VERB-IV...6 PRES-COND...1 VERB-IV-FULL...10 GERUND...2 IMPERATIVE...1  VERB-TD
INDEF-PAST......21 PAST...1 VERB-TV...6 EVIDENTIAL-PAST...1 PERMISSIVE...1 VERB-TV-FULL...10 PRES-CONT...1 AORIST...1 VERB-COPULA...9 V-PERS-S1-NO3PERSON...6 KAN...2 V-PERS-S1...3 NON-FINITE...7 V-PERS-S2...8 PRES-COND...1 PERS...7 GERUND...2 IMPERATIVE...1  PERS2INDEF-PAST......17 PAST...1 EVIDENTIAL-PAST ...1PERS3...6 PERMISSIVE...1 PRES-CONT...1modes=`xmllint --xpath '//mode[@install="yes"]/@name' modes.xml | sed 's/ *name="\([^"]*\)"/\1.mode /g'`; \
    if test -n "$modes"; then mv $modes modes/; fi
 ADV1...3 AORIST...1 ADV2 ...V-PERS-S1-NO3PERSON2...6 ADV3...1 ADV-ITG...1 DET-IND...1 DET-DEM... 1V-PERS-S1...3 DET-QNT...1 V-PERS-S2...8 PRON-QNT...1 DET-ITG...1 A1...3  A2PERS......27 A4...1 PRON-REF...1  PRON-ADV...PERS22...7 POST...1 N1...2 PERS3...6 MIST...1 N3...1 CLIT-QST-MA...1 ADV1...3 CLIT-QST...2 ADV2...2 CLIT-MODASS...2 ADV3...1 CLIT-GHANA-ETC...5 ADV-ITG...1 DET-IND...1 CLIT-COP...1 DET-DEM...1 DET-QNT ...1CLITICS-NO-COP...3 PRON-QNT...1 CLITICS-NO-COP-NO-QST...2 DET-ITG...1 CLITICS-INCL-COP...2 A1...3 CASES-COMMON...3 A2...2  A4CASES......14 PRON-REF...1 PRON-ADV...2 GENERAL-POSSESSIVE-ETC...4 POST...1 N1...2 MIST...1 N3...1 CASES-ETC...2 CLIT-QST-MA...1  POSSESSIVES...CLIT-QST7...2 CLIT-MODASS...2 CLIT-GHANA-ETC...5  ABESSIVE-POSTPOSITION...CLIT-COP1...1 CLITICS-NO-COP...3 LI-POSTPOSITION...1 CLITICS-NO-COP-NO-QST...2 PLURAL...3 CLITICS-INCL-COP...2 CASES-COMMON...3 FULL-NOMINAL-INFLECTION...5 CASES...4 NP-COMMON...1 NP-TOP...1 GENERAL-POSSESSIVE-ETC...4 NP1-ANT-M...2 NP1-ANT-F...2 CASES-ETC...2 NP1-COG-MF...1 POSSESSIVES...7 NP1-AL...1 GER-CASE-NO_COPULA...4 GER-ATTR/SUBST...1 ABESSIVE-POSTPOSITION...1 GER-ABE-ATTR/ADVL/SUBST...1 LI-POSTPOSITION...1 GER-ABE-ETC...1 PLURAL...3 GER-GENERAL-POSSESSIVE-ETC...3 FULL-NOMINAL-INFLECTION...5 GER-CASE-ETC...2 GER-POSSESSIVES...7 NP-COMMON...1 NP-TOP...1 NP1-ANT-M...2 NP1-ANT-F...2 GER-INFL...5 NP1-COG-MF...1 NP1-AL...1 Copula...6 GER-CASE-NO_COPULA...4 GER-ATTR/SUBST...1 NUM...3 GER-ABE-ATTR/ADVL/SUBST...1  GER-ABE-ETCNP1-ORG......13 GER-GENERAL-POSSESSIVE-ETC...3 SUBST...3 N-INFL-COMMON...2 GER-CASE-ETC...2 POSS-REAL...6 GER-POSSESSIVES...7 POSS-REAL-NONOM...6 GER-INFL...5 CASE-ETC...3 Copula...6 CASE...6 NUM...3 CASE-NONOM...5 NP1-ORG...3 SUBST...3 GENPOSS-ETC...1 SUB-COP...1 N-INFL-COMMON...2 PRON-PERS...43 POSS-REAL...6 POSS-REAL-NONOM...6 CASE-ETC...3 CASE...6 CASE-NONOM...5 GENPOSS-ETC...1 SUB-COP... TIT...1 ABBR...1 INTERJ...1 DIGITLEX...101 PRON-PERS...43 LOOP...12 POWERS...2 NUM-DIGIT...2 LASTDIGIT...9 LASTDIGIT-REST...9 PRON-ITG-INFL...1 PRON-NEG...1 PRON-IND...1 Titles...5 Mistakes... TIT...1 ABBR...1 INTERJ...1 DIGITLEX...1072 LOOP...12 Pronouns...14 POWERS...2 NUM-DIGIT...3 LASTDIGIT...9 Nouns... LASTDIGIT-REST...9 PRON-ITG-INFL...1 PRON-NEG...1 PRON-IND...1 Titles...5 Mistakes...72 Pronouns...14 Nouns...32903284 Postpositions...50 Adjectives... Postpositions...50 Adjectives...382382 Determinatives...13 Verbs... Determinatives...13 Verbs...339 Interjections...8 Adverbs...109339 Interjections...8 Adverbs...109 Postadverbs...1 Conjunctions...94 Postadverbs...1 Conjunctions...94 Qst-pron...5 Numerals...26main@standard 16 Punctuation...23 Digits...Compiling... Warning: Sublexicon is mentioned but not defined. (ATTR-SUBST) 
Warning: Sublexicons defined but not used
CLITICS-NO-COP-NO-QST GER-ABE-ATTR/ADVL/SUBST GER-INFL PRON-QNT 
 Qst-pron...5 Numerals...26 356
 Punctuation...23 Digits...Compiling... Warning: Sublexicon is mentioned but not defined. (ATTR-SUBST) 
Warning: Sublexicons defined but not used
CLITICS-NO-COP-NO-QST GER-ABE-ATTR/ADVL/SUBST GER-INFL PRON-QNT 
Compiling rules.
Storing rules.
Morphotaxing... Morphotaxing... # Morphotaxing... A1 Morphotaxing... A2 Morphotaxing... A4 Morphotaxing... ABBR Morphotaxing... ABESSIVE-POSTPOSITION Morphotaxing... ADV-ITG Morphotaxing... ADV1 Morphotaxing... ADV2 Morphotaxing... ADV3 Morphotaxing... AORIST Morphotaxing... Adjectives Morphotaxing... Adverbs Morphotaxing... CA Morphotaxing... CASE Morphotaxing... CASE-ETC Morphotaxing... CASE-NONOM Morphotaxing... CASES Morphotaxing... CASES-COMMON Morphotaxing... CASES-ETC Morphotaxing... CC Morphotaxing... CLIT-COP Morphotaxing... CLIT-GHANA-ETC Morphotaxing... CLIT-MODASS Morphotaxing... CLIT-QST Morphotaxing... CLIT-QST-MA Morphotaxing... CLITICS-INCL-COP Morphotaxing... CLITICS-NO-COP Morphotaxing... CLITICS-NO-COP-NO-QST Morphotaxing... CS Morphotaxing... Conjunctions Morphotaxing... Copula Morphotaxing... DET-DEM Morphotaxing... DET-IND Morphotaxing... DET-ITG Morphotaxing... DET-QNT Morphotaxing... DIGITLEX Morphotaxing... Determinatives Morphotaxing... Digits Morphotaxing... EVIDENTIAL-PAST Morphotaxing... FULL-NOMINAL-INFLECTION Morphotaxing... GENERAL-POSSESSIVE-ETC Morphotaxing... GENPOSS-ETC Morphotaxing... GER-ABE-ATTR/ADVL/SUBST Morphotaxing... GER-ABE-ETC Morphotaxing... GER-ATTR/SUBST Morphotaxing... GER-CASE-ETC Morphotaxing... GER-CASE-NO_COPULA Morphotaxing... GER-GENERAL-POSSESSIVE-ETC Morphotaxing... GER-INFL Morphotaxing... GER-POSSESSIVES Morphotaxing... GERUND Morphotaxing... IMPERATIVE Morphotaxing... INDEF-PAST Morphotaxing... INTERJ Morphotaxing... Interjections Morphotaxing... KAN Morphotaxing... LASTDIGIT Morphotaxing... LASTDIGIT-REST Morphotaxing... LI-POSTPOSITION Morphotaxing... LOOP Morphotaxing... MIST Morphotaxing... Mistakes Morphotaxing... ModalParticles Morphotaxing... N-INFL-COMMON Morphotaxing... N1 Morphotaxing... N3 Morphotaxing... NON-FINITE Morphotaxing... NP-COMMON Morphotaxing... NP-TOP Morphotaxing... NP1-AL Morphotaxing... NP1-ANT-F Morphotaxing... NP1-ANT-M Morphotaxing... NP1-COG-MF Morphotaxing... NP1-ORG Morphotaxing... NUM Morphotaxing... NUM-DIGIT Morphotaxing... Nouns Morphotaxing... Numerals Morphotaxing... PAST Morphotaxing... PERMISSIVE Morphotaxing... PERS Morphotaxing... PERS2 Morphotaxing... PERS3 Morphotaxing... PLURAL Morphotaxing... POSS-REAL Morphotaxing... POSS-REAL-NONOM Morphotaxing... POSSESSIVES Morphotaxing... POST Morphotaxing... # Morphotaxing... POSTADV Morphotaxing... A1 Morphotaxing... POWERS Morphotaxing... A2 Morphotaxing... A4PRES-COND  Morphotaxing... Morphotaxing... ABBR Morphotaxing... PRES-CONT Morphotaxing... ABESSIVE-POSTPOSITION Morphotaxing... PRON-ADVADV-ITG  Morphotaxing... Morphotaxing... ADV1 Morphotaxing... PRON-DEM-BU Morphotaxing... ADV2 Morphotaxing... PRON-IND ADV3Morphotaxing...  Morphotaxing... AORIST PRON-ITG-INFLMorphotaxing...  Morphotaxing... Adjectives Morphotaxing... PRON-NEG AdverbsMorphotaxing...  Morphotaxing... PRON-PERS CAMorphotaxing...  Morphotaxing... CASE PRON-QNTMorphotaxing...  Morphotaxing... CASE-ETC Morphotaxing... PRON-REF Morphotaxing... Postadverbs Morphotaxing... Postpositions Morphotaxing... Pronouns Morphotaxing... Punctuation Morphotaxing... QST Morphotaxing... Qst-pron Morphotaxing... Root Morphotaxing... SUB-COP Morphotaxing... SUBST Morphotaxing... TIT Morphotaxing... Titles Morphotaxing... V-PERS-S1 Morphotaxing... V-PERS-S1-NO3PERSON Morphotaxing... CASE-NONOM Morphotaxing... V-PERS-S2 Morphotaxing... CASES Morphotaxing... VERB-COPULA Morphotaxing... CASES-COMMON Morphotaxing... VERB-IVCASES-ETC  Morphotaxing... Morphotaxing... CC VERB-IV-FULLMorphotaxing...  Morphotaxing... CLIT-COP Morphotaxing... VERB-TD Morphotaxing... CLIT-GHANA-ETC Morphotaxing... CLIT-MODASSVERB-TV Morphotaxing...  Morphotaxing... VERB-TV-FULL Morphotaxing... CLIT-QST Morphotaxing... Verbs CLIT-QST-MA Morphotaxing... CLITICS-INCL-COP Morphotaxing... CLITICS-NO-COP Morphotaxing... CLITICS-NO-COP-NO-QST Morphotaxing... CS Morphotaxing... Conjunctions Morphotaxing... Copula Morphotaxing... DET-DEM Morphotaxing... DET-IND Morphotaxing... DET-ITG Morphotaxing... DET-QNT Morphotaxing... DIGITLEX Morphotaxing... Determinatives Morphotaxing... Digits Morphotaxing... EVIDENTIAL-PAST Morphotaxing... FULL-NOMINAL-INFLECTION Morphotaxing... GENERAL-POSSESSIVE-ETC Morphotaxing... GENPOSS-ETC Morphotaxing... GER-ABE-ATTR/ADVL/SUBST Morphotaxing... GER-ABE-ETC Morphotaxing... GER-ATTR/SUBST Morphotaxing... GER-CASE-ETC Morphotaxing... GER-CASE-NO_COPULA Morphotaxing... GER-GENERAL-POSSESSIVE-ETC Morphotaxing... GER-INFL Morphotaxing... GER-POSSESSIVES Morphotaxing... GERUND Morphotaxing... IMPERATIVE Morphotaxing... INDEF-PAST Morphotaxing... INTERJ Morphotaxing... Interjections Morphotaxing... KAN Morphotaxing... LASTDIGIT Morphotaxing... LASTDIGIT-REST Morphotaxing... LI-POSTPOSITION Morphotaxing... LOOP Morphotaxing... MIST Morphotaxing... Mistakes Morphotaxing... ModalParticles Morphotaxing... N-INFL-COMMON Morphotaxing... N1 Morphotaxing... N3 Morphotaxing... NON-FINITE Morphotaxing... NP-COMMON Morphotaxing... NP-TOP Morphotaxing... NP1-AL Morphotaxing... NP1-ANT-F Morphotaxing... NP1-ANT-M Morphotaxing... NP1-COG-MF Morphotaxing... NP1-ORG Morphotaxing... NUM Morphotaxing... NUM-DIGIT Morphotaxing... Nouns Morphotaxing... Numerals Morphotaxing... PAST Morphotaxing... PERMISSIVE Morphotaxing... PERS Morphotaxing... PERS2 Morphotaxing... PERS3 Morphotaxing... PLURAL Morphotaxing... POSS-REAL Morphotaxing... POSS-REAL-NONOM Morphotaxing... POSSESSIVES Morphotaxing... POST Morphotaxing... POSTADV Morphotaxing... POWERS Morphotaxing... PRES-COND Morphotaxing... PRES-CONT Morphotaxing... PRON-ADV Morphotaxing... PRON-DEM-BU Morphotaxing... PRON-IND Morphotaxing... PRON-ITG-INFL Morphotaxing... PRON-NEG Morphotaxing... PRON-PERS Morphotaxing... PRON-QNT Morphotaxing... PRON-REF Morphotaxing... Postadverbs Morphotaxing... Postpositions Morphotaxing... Pronouns Morphotaxing... Punctuation Morphotaxing... QST Morphotaxing... Qst-pron Morphotaxing... Root Morphotaxing... SUB-COP Morphotaxing... SUBST Morphotaxing... TIT Morphotaxing... Titles Morphotaxing... V-PERS-S1 Morphotaxing... V-PERS-S1-NO3PERSON Morphotaxing... V-PERS-S2 Morphotaxing... VERB-COPULA Morphotaxing... VERB-IV Morphotaxing... VERB-IV-FULL Morphotaxing... VERB-TD Morphotaxing... VERB-TV Morphotaxing... VERB-TV-FULL Morphotaxing... Verbs 

Inserting regular expressions...
Inserting regular expressions...

Writing... done
Writing... done
apertium@ap-vbox:~/Desktop/apertium/apertium-languages/test/apertium-uzb$ 
ogabek96 commented 5 years ago

Makefile:726: recipe for target '.deps/uzb.guesser.hfst' failed make: [.deps/uzb.guesser.hfst] Error 1 make: Waiting for unfinished jobs....

ftyers commented 5 years ago

Maybe you need to upgrade hfst ? I have:

$ hfst-xfst --version
hfst-xfst 0.1 (hfst 3.15.0)
Copyright (C) 2017 University of Helsinki,
License GPLv3: GNU GPL version 3 <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.

And there is a -E option:


Xfst-specific options:
  -e, --execute=CMD          Execute command CMD on startup
  -E, --execute-and-quit=CMD Execute command CMD, and quit
  -f, --format=FMT           Write result using FMT as backend format
ogabek96 commented 5 years ago

Yes.The problem is solved after upgrading.