Wine fails to run Autocad correctly!

Questions about Wine on Linux
Locked
garymcrobertpdx
Level 2
Level 2
Posts: 13
Joined: Fri Jul 18, 2014 6:03 pm

Wine fails to run Autocad correctly!

Post by garymcrobertpdx »

When I execute Autocad it appears to load correctly until I get
an error message Fail to get ComCntrController!

If I click the OK button Autocad appears to work. Until I attempt
to open a file or save a file. Then it hangs as the disk thrashes away
forever.

I have tried many Wine configuration with no success.

I have made several reinstalls of Wine 1.6.2 with out solving
the problem with Autocad which in the past worked fine.
I have also tried Wine 1.7.23 This is even worse it crashes
on execution.

I have completely removed all Wine & Autocad files from the
file system before doing reinstalls. this made no difference.

I need to have Autocad working soon. If not I will return it
back to an old Windows laptop even if it majority sucks, at
least it will work!
User avatar
dimesio
Moderator
Moderator
Posts: 13209
Joined: Tue Mar 25, 2008 10:30 pm

Re: Wine fails to run Autocad correctly!

Post by dimesio »

You say you've reinstalled Wine, but have you tried reinstalling Autocad to a clean wineprefix in 1.7.23? If not, try that. If it still doesn't work, and it used to work in an older version of Wine, you should run a regression test and file a bug.
garymcrobertpdx
Level 2
Level 2
Posts: 13
Joined: Fri Jul 18, 2014 6:03 pm

Re: Wine fails to run Autocad correctly!

Post by garymcrobertpdx »

Thanks for the suggestion. Yes did that too with out success. But
I can try it again just to be sure.

Not wild about burning hours to figure out how to do a regression
test and file a bug.

It looks like it’s back to Windows, I have to get some work done.
garymcrobertpdx
Level 2
Level 2
Posts: 13
Joined: Fri Jul 18, 2014 6:03 pm

Re: Wine fails to run Autocad correctly!

Post by garymcrobertpdx »

One idea, is there a means to download the older version
of Wine that did work with Autocad?
User avatar
dimesio
Moderator
Moderator
Posts: 13209
Joined: Tue Mar 25, 2008 10:30 pm

Re: Wine fails to run Autocad correctly!

Post by dimesio »

Source tarballs for all versions of Wine are available from http://mirrors.ibiblio.org/wine/source/. You can also build any version of Wine from git.
garymcrobertpdx
Level 2
Level 2
Posts: 13
Joined: Fri Jul 18, 2014 6:03 pm

Re: Wine fails to run Autocad correctly!

Post by garymcrobertpdx »

Thanks again! I tried looking at git documentation but found it rather opaque.
Is there a quick start tutorial on using git for this purpose.
User avatar
dimesio
Moderator
Moderator
Posts: 13209
Joined: Tue Mar 25, 2008 10:30 pm

Re: Wine fails to run Autocad correctly!

Post by dimesio »

Install git from your distro repository.

Clone the wine-git repository with

Code: Select all

git clone git://source.winehq.org/git/wine.git ~/wine-git
When it's finished downloading, cd to the wine-git directory.

At this point you can build the latest version of Wine with ./configure and make, same as you would with an extracted tarball.

To build a specific version of Wine, do

Code: Select all

git reset --hard wine-version
(substitute the actual version number for version), then build as usual.

To update your local tree, do

Code: Select all

git fetch ; git rebase origin
garymcrobertpdx
Level 2
Level 2
Posts: 13
Joined: Fri Jul 18, 2014 6:03 pm

Re: Wine fails to run Autocad correctly!

Post by garymcrobertpdx »

one@thing:~/wine-git$ git reset --hard wine-1.6.1
Checking out files: 100% (3420/3420), done.
HEAD is now at c47f6b0 Release 1.6.1.

OK I got to the point where I use ./configure But appears I am lacking some
development libraries and perhaps other files.

one@thing:~/wine-git$ ./configure
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking whether make sets $(MAKE)... yes
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking for g++... no
checking for c++... no
checking for gpp... no
checking for aCC... no
checking for CC... no
checking for cxx... no
checking for cc++... no
checking for cl.exe... no
checking for FCC... no
checking for KCC... no
checking for RCC... no
checking for xlC_r... no
checking for xlC... no
checking whether we are using the GNU C++ compiler... no
checking whether g++ accepts -g... no
checking for cpp... cpp
checking whether gcc -m32 works... no
configure: error: Cannot build a 32-bit program, you need to install 32-bit development libraries.
User avatar
dimesio
Moderator
Moderator
Posts: 13209
Joined: Tue Mar 25, 2008 10:30 pm

Re: Wine fails to run Autocad correctly!

Post by dimesio »

Some of the sections are outdated, but this might get you started figuring out which packages you need to install: http://wiki.winehq.org/WineOn64bit.
garymcrobertpdx
Level 2
Level 2
Posts: 13
Joined: Fri Jul 18, 2014 6:03 pm

Re: Wine fails to run Autocad correctly!

Post by garymcrobertpdx »

I used the manually link method for the development libraries needed by Wine
______________________________________________________________________
sudo apt-add-repository ppa:ehoover/compholio
sudo apt-get update
sudo apt-get install ia32-libs-dev
sudo apt-get install libosmesa6:i386 libosmesa-dev libjpeg-turbo8-dev:i386
_______________________________________________________________________

Much closer to working but apearently I need a compiler

one@thing:~/wine-git$ ./configure
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking whether make sets $(MAKE)... yes
checking for gcc... no
checking for cc... no
checking for cl.exe... no
configure: error: in `/home/one/wine-git':
configure: error: no acceptable C compiler found in $PATH
garymcrobertpdx
Level 2
Level 2
Posts: 13
Joined: Fri Jul 18, 2014 6:03 pm

Re: Wine fails to run Autocad correctly!

Post by garymcrobertpdx »

Installed the only C compiler available from the software center
./configure seems to be happy with it. But now complains about
the 32-bit development libraries. I have Installed this but something
must be missing?

one@thing:~/wine-git$ ./configure
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking whether make sets $(MAKE)... yes
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking for cpp... cpp
checking whether gcc -m32 works... no
configure: error: Cannot build a 32-bit program, you need to install 32-bit development libraries.
User avatar
dimesio
Moderator
Moderator
Posts: 13209
Joined: Tue Mar 25, 2008 10:30 pm

Re: Wine fails to run Autocad correctly!

Post by dimesio »

Ask your distro which packages to install. I'm on openSUSE, so I can't really help you with that.
garymcrobertpdx
Level 2
Level 2
Posts: 13
Joined: Fri Jul 18, 2014 6:03 pm

Re: Wine fails to run Autocad correctly!

Post by garymcrobertpdx »

Sorry to be so thick I'm a newbie here. How do I ask my distro which packages to install?
User avatar
dimesio
Moderator
Moderator
Posts: 13209
Joined: Tue Mar 25, 2008 10:30 pm

Re: Wine fails to run Autocad correctly!

Post by dimesio »

Ask on your distro's support forum.
Locked