Skip to content

Freeling on Ubuntu 22.04 #123

@pseudomonas

Description

@pseudomonas

Building v4.2 (no extra langs) from source. These were the packages that I needed to install as prerequisites in order to generate a makefile.

sudo apt install build-essential cmake
sudo apt install libboost-program-options1.74.0 libboost-program-options-dev libboost-regex1.74.0 libboost-regex-dev libboost-system1.74.0 libboost-system-dev libboost-thread1.74.0 libboost-thread-dev libicu-dev libicu70 zlib1g zlib1g-dev
sudo apt install libboost-filesystem-dev # this one seems to be necessary in addition to those listed on the install page

but it failed with

-- Installing: /home/redacted/.local/freeling/share/freeling/config/ru.cfg
-- Installing: /home/redacted/.local/freeling/share/freeling/config/sl.cfg
-- Installing: /home/redacted/.local/freeling/share/freeling/config/as.cfg
-- -- Creating ca/balear dictionary...
file "/home/redacted/bin/freeling/FreeLing-4.2/data/ca/balear/dictionary/header" not found
CMake Error at cmake_install.cmake:63 (message):
  multiword fusion failed with error: 255

make: *** [Makefile:100: install] Error 1

installing the focal .deb with dpkg gave:

Unpacking freeling (4.2) ...
dpkg: dependency problems prevent configuration of freeling:
 freeling depends on libboost-program-options1.71.0 (>= 1.71); however:
  Package libboost-program-options1.71.0 is not installed.
 freeling depends on libboost-regex1.71.0 (>= 1.71); however:
  Package libboost-regex1.71.0 is not installed.
 freeling depends on libboost-filesystem1.71.0 (>= 1.71); however:
  Package libboost-filesystem1.71.0 is not installed.
 freeling depends on libboost-system1.71.0 (>= 1.71); however:
  Package libboost-system1.71.0 is not installed.
 freeling depends on libboost-thread1.71.0 (>= 1.71); however:
  Package libboost-thread1.71.0 is not installed.
 freeling depends on libboost-iostreams1.71.0 (>= 1.71); however:
  Package libboost-iostreams1.71.0 is not installed.
 freeling depends on libicu66 (>= 66.1); however:
  Package libicu66 is not installed.

dpkg: error processing package freeling (--install):
 dependency problems - leaving unconfigured
Errors were encountered while processing:
 freeling

(The packages were installed with the later versions, 1.74.0 in the case of the boost set; the 1.71.0 libraries don't seem to be readily available in Ubuntu 22.04)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions