akaraali / winetricks

Automatically exported from code.google.com/p/winetricks
0 stars 0 forks source link

mdac 2.8 no longer installs with recent linux kernel changes #432

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Update the kernel to an affected version:

  https://lkml.org/lkml/2014/4/11/542
  https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1328965
  http://forum.winehq.org/viewtopic.php?f=8&t=22568

2. Try to install the mdac28 verb with winetricks

  ~/wine$ rm -rf ~/.wine
  ~/wine$ WINEARCH=win32 WINEPREFIX=~/.wine winecfg
  ~/wine$ winetricks mdac28

What is the expected behavior (output)?

The installation of mdac 2.8 would begin as expected

What do you see instead?

the mdac28 verb hangs during installation and must be force quit.

Terminal output:

Executing w_do_call mdac28
Executing load_mdac28
Using native,builtin override for following DLLs: odbc32 odbccp32 oledb32
Executing winetricks_early_wine regedit C:\windows\Temp\_mdac28\override-dll.reg
Setting Windows version to win98
Executing winetricks_early_wine regedit C:\windows\Temp\_mdac28\set-winver.reg
Executing wine mdac_typ.exe
modify_ldt: Invalid argument
modify_ldt: Invalid argument
modify_ldt: Invalid argument
modify_ldt: Invalid argument
modify_ldt: Invalid argument

What version of the product are you using? On what operating system?

This is Ubuntu 12.04 LTS 64 bit (3.2.0-64-generic)
winetricks --version
20140302

Please provide any additional information below.

After attempting the mdac28 verb, the wineprefix is essentially broken

Is there a workaround?

change the winver of the mdac28 verb from "win98" to "nt40" which gets mdac 2.8 
back to installing:

Executing w_do_call mdac28
Executing load_mdac28
Using native,builtin override for following DLLs: odbc32 odbccp32 oledb32
Executing winetricks_early_wine regedit C:\windows\Temp\_mdac28\override-dll.reg
Setting Windows version to nt40
Executing winetricks_early_wine regedit C:\windows\Temp\_mdac28\set-winver.reg
Executing wine mdac_typ.exe

Please note, this gets mdac 2.8 installing again. It does not fix any 
application that makes 16bit calls.

Original issue reported on code.google.com by Caron.Je...@gmail.com on 2 Jul 2014 at 1:27

GoogleCodeExporter commented 8 years ago
I have the exact same problem. Thanks for preporting this.

Original comment by fde...@gmail.com on 2 Jul 2014 at 2:28

GoogleCodeExporter commented 8 years ago
Yay! changing win98 to nt40 in the winetricks script does work! thank you.

Original comment by fde...@gmail.com on 2 Jul 2014 at 2:30

GoogleCodeExporter commented 8 years ago
I reproduced this now with 'make check'.  Will add the nt40 workaround and 
check it in if it works...
uname -a says
Linux dank 3.13.0-34-generic #60-Ubuntu SMP Wed Aug 13 15:45:27 UTC 2014 x86_64 
x86_64 x86_64 GNU/Linux

Original comment by daniel.r...@gmail.com on 20 Oct 2014 at 2:28