Problem installing WinBUGs with Wine

On 64-bit Ubuntu 14.04 (Linux kernel 3.13.0.30.36) I'm trying to install the WinBUGS Markov Chain Monte Carlo software with Wine 1.6, but after

wine WinBUGS14.exe

I get the following error message:

modify_ldt: Invalid argument
modify_ldt: Invalid argument
modify_ldt: Invalid argument
modify_ldt: Invalid argument
modify_ldt: Invalid argument
err:module:attach_process_dlls "krnl386.exe16" failed to initialize, aborting
err:module:LdrInitializeThunk Main exe initialization for L"C:\\windows\\system32\\winevdm.exe" failed, status c0000005

There seems to be some discussion of the problem here—something to do with incompatability between certain kernel versions & certain Wine versions for 16-bit applications.

What options do I have? If there's a way to install an older version of Wine on Ubuntu 14.04 it would suit me fine, as I remember WinBUGS running with Wine 1.4, & I don't use Wine for running anything else.

(I already use the alternative MCMC software, JAGS, but I'll be needing WinBUGS for a course.)

3

1 Answer

I followed @saiarcot895's instructions to make a 32-bit Wine set-up, but got the same error. I then noticed the instructions here: "If installing on a 64-bit machine, you should download a zipped version of the whole file structure and unzip it into Program Files or wherever you want it."—rather than using the installer. So I extracted the file to .wine/drive_c/Program Files, & now WinBUGS works. Not sure if both those steps were necessary or just the latter.

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

You Might Also Like