Package Details: mingw-w64-openfst 1.4.1-5

Git Clone URL: https://aur.archlinux.org/mingw-w64-openfst.git (read-only)
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/
Licenses: Apache
Submitter: benob
Maintainer: xantares
Last Packager: xantares
Votes: 0
Popularity: 0.000000
First Submitted: 2015-02-25 16:35
Last Updated: 2015-06-09 19:42

Latest Comments

xantares commented on 2015-03-14 06:26

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.

benob commented on 2015-03-13 10:06

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.

xantares commented on 2015-03-08 10:07

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.

benob commented on 2015-03-06 17:53

I was not able to make dlls though.

xantares commented on 2015-03-05 13:20

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

xantares commented on 2015-02-26 09:36

few some 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

xantares commented on 2015-02-26 09:22

few some 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

xantares commented on 2015-02-26 08:37

better,
but dont override prefix:
OPTIONS="--prefix=/usr
$arch-configure set it for you to /usr/$arch
then you wont have to move it:
mv ${pkgdir}/usr/bin ${pkgdir}/usr/${_arch}/bin

benob commented on 2015-02-26 07:46

Sounds like I forgot to include the patch :(

xantares commented on 2015-02-26 07:22

hello again,
- the patch cannot have an absolute path, it should be into the package directory:
$ makepkg
==> Making package: mingw-w64-openfst 1.4.1-1 (Thu Feb 26 07:19:44 UTC 2015)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
-> Downloading openfst-1.4.1.tar.gz...
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 804k 100 804k 0 0 379k 0 0:00:02 0:00:02 --:--:-- 380k
==> ERROR: getpagesize.patch was not found in the build directory and is not a URL.

- remove the option --prefix=/usr, arch-configure sets it for you to the correct /usr/arch prefix
xan.

All comments