Hi Mathieu, On Thu, 6 Nov 2014 13:19:45 +0100, Mathieu Malaterre <malat@debian.org> wrote: [...] > for some reason I cannot get binfmts to handle wine properly. > > On a brand new jessie installation: > > $ cat bla.c > int main() { return 0; } > $ i686-w64-mingw32-gcc -o bla.exe bla.c > $ WINEPREFIX=$HOME/.wine32 ./bla.exe && echo "ok" > run-detectors: unable to find an interpreter for ./bla.exe > > Same goes for: > > $ x86_64-w64-mingw32-gcc -o bla2.exe bla.c > $ WINEPREFIX=$HOME/.wine64 ./bla2.exe && echo "ok" > run-detectors: unable to find an interpreter for ./bla2.exe > > Executing using `wine32 bla.exe` and/or `wine64 bla2.exe` do work however. > > with: > > $ file bla.exe > bla.exe: PE32 executable (console) Intel 80386, for MS Windows > $ file bla2.exe > bla2.exe: PE32+ executable (console) x86-64, for MS Windows > > I do not see anything related to wine in binfmts: > > $ ls /usr/share/binfmts > cli jar python2.7 python3.4 I'm guessing you haven't got wine-binfmt installed, although that doesn't fix things entirely because there's no postinst to actually install the binfmt information. So you need to install wine-binfmt and then run update-binfmts --import wine as root. Regards, Stephen
Attachment:
signature.asc
Description: PGP signature