Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Freeling on Ubuntu 22.04 #123

Open
pseudomonas opened this issue Jan 11, 2023 · 1 comment
Open

Freeling on Ubuntu 22.04 #123

pseudomonas opened this issue Jan 11, 2023 · 1 comment

Comments

@pseudomonas
Copy link

pseudomonas commented Jan 11, 2023

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)

@pseudomonas
Copy link
Author

I see the former issue is #119 which seems to be still live with https://github.com/TALP-UPC/FreeLing/releases/download/4.2/FreeLing-src-4.2.tar.gz - I'm trying the workaround given there of installing the extra languages

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant