hi benob,
A work-around is to help libtool to find libfst.dll.a to build extensions:
LDFLAGS="-ldl -lmman -L${PWD}/src/lib/.libs"
xan.
Search Criteria
Package Details: mingw-w64-openfst 1.4.1-5
Package Actions
| Package Base: | mingw-w64-openfst |
|---|---|
| Description: | Library for constructing, combining, optimizing, and searching weighted finite-state transducers (mingw-w64) |
| Upstream URL: | http://www.openfst.org/ |
| Category: | none |
| Licenses: | |
| Submitter: | benob |
| Maintainer: | None |
| Last Packager: | xantares |
| Votes: | 0 |
| First Submitted: | 2015-02-25 16:35 |
| Last Updated: | 2015-04-21 13:47 |
Dependencies (5)
Required by (0)
Sources
- getpagesize.patch
- http://openfst.cs.nyu.edu/twiki/pub/FST/FstDownload/openfst-1.4.1.tar.gz
Latest Comments
Comment by xantares
Comment by benob
Maybe I am missing something, but I had to hack the LDFLAGS of extensions (which are .so loaded at runtime) to make it compile and it won't generate .dll for them.
Comment by xantares
hello,
I succeeded in building dlls:
- reconfigure:
sed -i 's/ -Werror//' configure.ac
autoreconf -vfi
- link to libdl:
LDFLAGS="-ldl -lmman"
- build mingw-w64-mman-win32-svn with shared libs too
xan.
Comment by benob
I was not able to make dlls though.
Comment by xantares
hi,
a few other notes:
- do not overide --prefix=/usr, --build="$CHOST" already set my arch-configure
- there are missing -no-undefined flags to *_la_LDFLAGS in Makefile.am's to build shared libs
- /usr/$arch/bin/*.exe are useless, provide only the lib
- mingw-w64-configure already pulls mingw-w64-gcc
- remove chrdr maintainer line, it's not his package to maintain
- getpagesize.patch looks valid when not only __MINGW32__ is defined but also _WIN32, you should upstream it
Comment by benob
Sounds like I forgot to include the patch :(