Menu

#54 Errors in language packs configure, 'No package apertium'

closed
nobody
None
2015-09-30
2014-11-23
dettox
No

i have errors in every language pack build i tried:

...
No package 'apertium-3.2' found
...

the configure.ac require apertium-VERSION:

...
PKG_CHECK_MODULES(APERTIUM, apertium-3.2 >= 3.2.0)
APERTIUM_VER=32
...

but after a correct install i have only apertium.pc, removing the version number work:

...
PKG_CHECK_MODULES(APERTIUM, apertium >= 3.2.0)
APERTIUM_VER=32
...

i have the same error for lttoolbox libs:

...
No package 'lttoolbox-3.2' found
...

the configure.ac require lttoolbox-VERSION:

...
PKG_CHECK_MODULES([LTTOOLBOX], [lttoolbox-3.2 >= required_lttoolbox_version])
...

removing the version work:

...
PKG_CHECK_MODULES([LTTOOLBOX], [lttoolbox >= required_lttoolbox_version])
...

apertium-gen-lextormono still required in some languages build
commented in Makefile

...
GENERATEDSCRIPTS = apertium-gen-deformat apertium-gen-reformat \ apertium-validate-tagger \ apertium-validate-transfer apertium-validate-dictionary \ apertium-validate-modes \ apertium-validate-interchunk \ apertium-validate-postchunk apertium apertium-unformat \ apertium-gen-modes apertium-validate-acx \ apertium-utils-fixlatex

DEPR.:

               #apertium-preprocess-corpus-lextor 
               #apertium-gen-stopwords-lextor 
               #apertium-gen-lextorbil 
               #apertium-gen-lextormono apertium-gen-wlist-lextor

...

Discussion

  • Tino Didriksen

    Tino Didriksen - 2014-11-23

    Which language packs give you that error? Afaik, all pairs' latest version tarballs should check for apertium only. Maybe you downloaded an old version of a pair?

    Also, it is almost always better to use pairs from svn or the nightly build service ( http://apertium.projectjj.com/apt/ ). The tarballs are quite old.

     
    • dettox

      dettox - 2014-11-25

      I just solved in the way i explain in the post, the next time i will try
      from the svn. thx

       
  • Tino Didriksen

    Tino Didriksen - 2015-03-03
    • status: open --> closed
     

Log in to post a comment.