Wine 1.5.5 installation problem

Questions about Wine on macOS.
Locked
veov
Newbie
Newbie
Posts: 2
Joined: Wed Nov 21, 2012 8:07 pm

Wine 1.5.5 installation problem

Post by veov »

One more question- how can I update Wine 1.4.1 to 1.5.5 or later version)
I downloaded wine 1.5.5 - but by trying to install with the file "wineinstall" from the "tools" folder - it says I'm running it from the wrong folder).
What is the way to make it work?

I have Mac OS X Lion 10.7.5
doh123
Level 8
Level 8
Posts: 1227
Joined: Tue Jul 14, 2009 1:21 pm

Re: Wine 1.5.5 installation problem

Post by doh123 »

veov wrote:One more question- how can I update Wine 1.4.1 to 1.5.5 or later version)
I downloaded wine 1.5.5 - but by trying to install with the file "wineinstall" from the "tools" folder - it says I'm running it from the wrong folder).
What is the way to make it work?

I have Mac OS X Lion 10.7.5
Downloads here for OSX are just source code, meaning you need to compile it all yourself and run it command line like normal. How you update it depends how you got it on the first place.
Maexel
Level 3
Level 3
Posts: 71
Joined: Fri Dec 07, 2012 11:08 am

Re: Wine 1.5.5 installation problem

Post by Maexel »

Hi,

You can get help from this site, if you want to compile wine from source the wine-git way:

1) http://wiki.winehq.org/GitWine (--> Chapter 3 'Setting up your git repository' to Chapter 3.2)

2) To do that, I would suggests that you get git (if you haven't got git installed the command 'git' will not work) over
MacPorts: In Terminal: sudo port install git-core (if you already have MacPorts installed of course)
Let it be builded and all its dependencies. After that you can get the wine-git repository: Step 1)
3) Then build wine from inside the downloaded repository: In Terminal: cd /PATH_TO_DOWNLOADED_REPOSITORY
./confige (set Prefix if prefered: WINEPREFIX=/ENTER_YOUR_PATH_TO_FOLDER_WHERE_YOU_WANT_WINE_TO_BE_BUILD CPPFLAGS='-I/usr/X11/include -I/opt/local/include' LIBS='-lGL -lGLU' LDFLAGS='- L/usr/X11/lib -L/opt/local/lib'
make && sudo make install
(see: http://wiki.winehq.org/MacOSX/Building (Chapter: Build Wine git version, the MacPorts way))
4) Now try to run wine: If it is working OK! :D else you might need to set your environment right.
In Terminal: export PATH=/PATH_TO_WHERE_WINE_HAS_BEEN_BUILT/bin:$PATH
export DYLD_FALLBACK_LIBRARY_PATH=/usr/X11/lib
You need to set the environment everytime again, when you close the Terminal window (alternatively build a program with Apple-Script-Editor --> http://www.davidbaumgold.com/tutorials/wine-mac/ --> Chapter: 'Making a Dock Icon)

Hope this will work for you...

Cheers mate,
Marc
Maexel
Level 3
Level 3
Posts: 71
Joined: Fri Dec 07, 2012 11:08 am

Re: Wine 1.5.5 installation problem

Post by Maexel »

Maexel wrote:
3) Then build wine from inside the downloaded repository: In Terminal: cd /PATH_TO_DOWNLOADED_REPOSITORY
./confige (set Prefix if prefered: WINEPREFIX=/ENTER_YOUR_PATH_TO_FOLDER_WHERE_YOU_WANT_WINE_TO_BE_BUILD CPPFLAGS='-I/usr/X11/include -I/opt/local/include' LIBS='-lGL -lGLU' LDFLAGS='- L/usr/X11/lib -L/opt/local/lib'
make && sudo make install
Correct WINEPREFIX with PREFIX=... Sry, my bad ;)
Maexel
Level 3
Level 3
Posts: 71
Joined: Fri Dec 07, 2012 11:08 am

Re: Wine 1.5.5 installation problem

Post by Maexel »

Alternatively, you can install wine 1.5.18 over MacPorts. To do so enter in Terminal:
sudo port install wine-devel (you need to enter your password) to get it installed.

If you haven't builded any dependencies over MacPort, it will take you about 3 to 4 hours till wine is compiled and builded.

Cheers mate,
Maexel
genius7
Newbie
Newbie
Posts: 3
Joined: Sun Apr 06, 2014 12:57 am

Re: Wine 1.5.5 installation problem

Post by genius7 »

Hi Maexel,

I know this thread is a bit old but when I'm trying to the step 3, I get this error: "checking whether the C compiler works... no
configure: error: in `/Users/Peter/downloads/wine-1.5.8':
configure: error: C compiler cannot create executables
See `config.log' for more details"

Any suggestions?
doh123
Level 8
Level 8
Posts: 1227
Joined: Tue Jul 14, 2009 1:21 pm

Re: Wine 1.5.5 installation problem

Post by doh123 »

genius7 wrote:Hi Maexel,

I know this thread is a bit old but when I'm trying to the step 3, I get this error: "checking whether the C compiler works... no
configure: error: in `/Users/Peter/downloads/wine-1.5.8':
configure: error: C compiler cannot create executables
See `config.log' for more details"

Any suggestions?
you need to install XCode, and inside XCode the command line compiling tools.
genius7
Newbie
Newbie
Posts: 3
Joined: Sun Apr 06, 2014 12:57 am

Re: Wine 1.5.5 installation problem

Post by genius7 »

thank you but I have installed Xcode and the command line tools as well. Any other suggestions?
Locked