AutoCAD2002

saulius krasuckas saulius2 at ar.fi.lt
Wed Feb 19 05:02:22 CST 2003


(hello, am new here)

  recently got ACAD 2002 and tried to install. under recent WINE.

<prehistory>
  my system is:

[s2 at saulute rpm]$ cat /etc/redhat-release
Red Hat Linux release 7.2 (Enigma)
[s2 at saulute rpm]$ uname -a
Linux saulute.vtu.lt 2.4.20 #2 SMP Mon Feb 17 23:35:24 EET 2003 i686 unknown
[s2 at saulute rpm]$ rpm -qf /etc/wine/config
wine-cvs-unstripped-021503-1

   i got wine-rpm from the web: wine.dataparty.no . page says wine need
glibc 2.2.5.

[s2 at saulute rpm]$ rpm -qf /sbin/ldconfig
glibc-2.2.4-13

  and this machine it seems to be set-up to run with version 2.2.4 of glibc.
</prehistory>

  1st q.: is it bad to run RPMed WINE over "glibc 2.2.4" ???
  after i did following stuff:

[s2 at saulute soft]$ cd AutoCAD\ 2002/
[s2 at saulute AutoCAD 2002]$ ls -Al | grep -i exe
-rw-r--r--    1 s2       ftp         36929 Feb 22  2001 ACTODAYMGR.EXE
-rw-r--r--    1 s2       ftp         36864 Feb 22  2001 AUTORUN.EXE
-rw-r--r--    1 s2       ftp         34816 Apr 26  2000 SETUP.EXE
[s2 at saulute AutoCAD 2002]$ wine SETUP.EXE

  so.. next i am getting first nice blue window of installer being started,
followed by immediate quit. looking around the wine's output i see some
strange messages about MSI, MSIINST.EXE, etc.. next:

[s2 at saulute AutoCAD 2002]$ ls -Al | grep -i msi
-rw-------    1 s2       ftp       2198528 Feb 23  2001 ACAD.MSI
drwx------    2 s2       ftp          4096 Sep 23 20:58 MSI
[s2 at saulute AutoCAD 2002]$ ls -Al MSI
total 2932
-rw-r--r--    1 s2       ftp       1489152 Jan 26  2000 INSTMSI.EXE
-rw-r--r--    1 s2       ftp       1499904 Jan 26  2000 INSTMSIW.EXE

  setting wine to behave like win98 and run MSInstaller install:

[s2 at saulute AutoCAD 2002]$ cat ~/.wine/config | grep ^\"Windows\"
"Windows" = "c:\\windows"
"Windows" = "win98"
[s2 at saulute AutoCAD 2002]$ wine MSI/INSTMSI.EXE

  getting immediate quit.
  looking at the web. http://www.winehq.org/pipermai
l/wine-devel/2000-November/000581.html tells me:

* Sorry about that, I thought it was clear. Running instmsi.exe from a
* microsoft-free system results in an error: "This installation package
* could not be opened.  Contact the application vendor to verify that this
* is a valid Windows Installer package."
*
* NOTE: I just discovered that replacing ole32.dll with native version fixes
* the problem. I will look into it further.

  do we have native "ole32.dll" ? no, we have CLEAN installation of wine.
ok.. installing DCOM98:

[s2 at saulute AutoCAD 2002]$ wine /usr/c/dcom98.exe

  wow, got running, i see some dialogs. installation is complete.
  editing own config:

[s2 at saulute AutoCAD 2002]$ cat ~/.wine/config | grep -B3 ole32
[DllOverrides]
; some dlls you may want to change
"oleaut32"     = "builtin, native"
;"ole32"        = "builtin, native"
"ole32"        = "native"
--
;[AppDefaults\\iexplore.exe\\DllOverrides]
;"shlwapi" = "native"
;"rpcrt4" = "native"
;"ole32" = "native"

[s2 at saulute AutoCAD 2002]$ wine MSI/INSTMSI.EXE

  that one went OK too, now.
  yah-dah-dah.. :)

[s2 at saulute AutoCAD 2002]$ wine SETUP.EXE

  all starts ok. main window of installer asks to press Next or Cancel.
pressing Next gives some disk-work and suddenly some window pops up, saying
something like a: "installation isn't complete. are you sure you want to
exit?" with a two buttons beside: "Resume" and "Exit Setup". pressing first
gets me to the starting point, while pressing second one leads to exit of
the process.

  noticed one thing in a log:

ReadFontTbl: unknown token "\keepn"
ReadFontTbl: unknown token "\widctlpar"
ReadFontTbl: unknown token "\outlinelevel0"
ReadFontTbl: unknown token "\adjustright"
wine: Unhandled exception, starting debugger...
Warning: L"/usr/bin/winedbg.exe" not accessible from a configured DOS drive
Warning: L"/usr/bin/winedbg" not accessible from a configured DOS drive
Warning: L"/usr/bin/winedbg 28.exe" not accessible from a configured DOS
drive
Warning: L"/usr/bin/winedbg 28" not accessible from a configured DOS drive
Warning: L"/usr/bin/winedbg 28 68.exe" not accessible from a configured DOS
drive
Warning: L"/usr/bin/winedbg 28 68" not accessible from a configured DOS
drive
err:seh:start_debugger Couldn't start debugger ("/usr/bin/winedbg 28 68")
(2)
Read the Wine Developers Guide on how to set up winedbg or another debugger
fixme:ntdll:NtOpenThreadToken (0xfffffffe,0x00000008,0x00000001,0x41e62e9c):
stub
fixme:ntdll:NtQueryInformationToken (0xcafe,8,0x41e62e90,4,0x41e62e94): stub

  2nd q.: why am i getting this line?
  Warning: L"/usr/bin/winedbg" not accessible from a configured DOS drive

  3rd q.: should i map /usr/bin to an additional wine-drive-letter?

  next, i am checking my own wine-environment..:

[s2 at saulute c]$ ~/wine/winecheck
<skipped>
--------------------- checking system devices used by
Wine ---------------------
014. Checking sound device /dev/dsp...                      CRITICAL
(/dev/dsp is not readable for you).
- ADVICE: If your user account is supposed to be able to access
it properly, use chmod as root to fix it ("man chmod").
015. Checking audio mixer device /dev/mixer...              CRITICAL
(/dev/mixer is not readable for you).
- ADVICE: If your user account is supposed to be able to access
it properly, use chmod as root to fix it ("man chmod").
016. Checking MIDI sequencer device /dev/sequencer...       BAD
(/dev/sequencer is not readable for you).
- ADVICE: If your user account is supposed to be able to access
it properly, use chmod as root to fix it ("man chmod").
<skipped>
18 tests. 0 suspicious, 1 bad, 2 critical, 0 failed.
Wine configuration correctness score: 68.64%

  it seems, sound device is the only source of failed tests. it is disabled
in bios, and i would rather think it is absent.

  so, i set up /usr/bin as additional win-drive-letter and started wine to
get usefull trace (as is told in wine's KB):

[s2 at saulute AutoCAD 2002]$ wine warn+all,+relay,+text,+string SETUP.EXE

  :)
  i'd like not to post 300 MBytes of resulting log here :)
  here is an excerpt from it:

[s2 at saulute c]$ cat /home/s2/wine/ac2k2\ setupo\ bugas  | grep -i exc -C10
0000000b:Call ntdll.RtlLeaveCriticalSection(2453ccc0) ret=244f4eff
0000000b:Ret  ntdll.RtlLeaveCriticalSection() retval=00000000 ret=244f4eff
0000000b:Call kernel32.lstrlenA(24528880 "") ret=244ef8de
0000000b:Ret  kernel32.lstrlenA() retval=00000000 ret=244ef8de
0000000b:Call kernel32.lstrlenA(41a2a900 "acad.mnu") ret=244ebb98
0000000b:Ret  kernel32.lstrlenA() retval=00000008 ret=244ebb98
0000000b:Call kernel32.GetFileAttributesA(41a29fd4 "C:\\Program
Files\\AutoCAD 2002\\Support\\acad.mnu") ret=244eb7bf
trace:string:lstrcpynA (0x406ce8c4, "/usr/c", 1024)
warn:dosfs:DOSFS_FindUnixName L"Program Files\\AutoCAD
2002\\Support\\acad.mnu" not found in '/usr/c'
0000000b:Ret  kernel32.GetFileAttributesA() retval=ffffffff ret=244eb7bf
wine: Unhandled exception, starting debugger...
trace:string:lstrcpynA (0x405bda78, "/usr/bin", 1024)
0000000b:Call ntdll.RtlEnterCriticalSection(40d20918) ret=244d4203
0000000b:Ret  ntdll.RtlEnterCriticalSection() retval=00000000 ret=244d4203
0000000b:Call ntdll.RtlLeaveCriticalSection(40d20918) ret=244d4293
0000000b:Ret  ntdll.RtlLeaveCriticalSection() retval=00000000 ret=244d4293
0000000b:Call ntdll.RtlEnterCriticalSection(40d20918) ret=244d4203
0000000b:Ret  ntdll.RtlEnterCriticalSection() retval=00000000 ret=244d4203
0000000b:Call ntdll.RtlLeaveCriticalSection(40d20918) ret=244d4293
0000000b:Ret  ntdll.RtlLeaveCriticalSection() retval=00000000 ret=244d4293
0000000b:Call ntdll.RtlEnterCriticalSection(2453ccc0) ret=244f4d6a


  4th q.: what tasks i should accomplish to keep going forward?
  thanks for your attention.




More information about the wine-users mailing list