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

hfst-ospell stops in limbo with minimal libarchive #10

Open
hfst-importer opened this issue Dec 2, 2013 · 3 comments
Open

hfst-ospell stops in limbo with minimal libarchive #10

hfst-importer opened this issue Dec 2, 2013 · 3 comments

Comments

@hfst-importer
Copy link

To reduce the list of dependencies (and thus the complexity of building libvoikko with hfst support for Windows), Harri Pitkänen suggested to build libarchive with all optional libraries turned off. After doing this, installing it, and then rebuilding hfst-ospell linked to this minimal libarchive, nothing happens when running hfst-ospell with a zhfst file.

Here is what I did:

  1. Downloaded the 3.1.2 release of libarchive
  2. build/autogen.sh
  3. ./configure --without-xml2 --without-nettle --without-bz2lib --without-lzo2 --without-lzma --without-iconv --without-zlib
  4. make
  5. sudo make install
  6. cd hfst-ospell
  7. make clean
  8. make
  9. sudo make install
  10. hfst-ospell sma.zhfst

Result: nothing happens, input is accepted.

Expected: input to be proofread, possibly with suggestions.

I then ran hfst-ospell with GDB, the output can be found here.

hfst-ospell version: svn r3635

hfst-ospell -V

hfstospell 0.2.5
Dec  2 2013 17:38:41
copyright (C) 2009 - 2011 University of Helsinki
```~

OS version:

```~
uname -a
Darwin xxx.yyy.fi 13.0.0 Darwin Kernel Version 13.0.0: Thu Sep 19 22:22:27 PDT 2013;
root:xnu-2422.1.72~6/RELEASE_X86_64 x86_64
```~


Reported by: *anonymous
@hfst-importer
Copy link
Author

Reported by me.

Original comment by: snomos

@hfst-importer
Copy link
Author

This bug can be closed, it isn't a real bug. The limbo state disappeared - and hfst-ospell returned to normal operation - as soon as I added the library required for reading zhfst files (zlib).

Original comment by: snomos

@hfst-importer
Copy link
Author

it can be kept open until someone writes libarchive tests for zip support in configure.ac

Original comment by: flammie

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

No branches or pull requests

2 participants