hfst / hfst-ospell

HFST spell checker library and command line tool
Apache License 2.0
13 stars 9 forks source link

hfst-ospell stops in limbo with minimal libarchive #10

Open hfst-importer opened 10 years ago

hfst-importer commented 10 years ago

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 commented 10 years ago

Reported by me.

Original comment by: snomos

hfst-importer commented 10 years ago

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 commented 10 years ago

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

Original comment by: flammie