Help Building Wine 1.6 via MacPorts

Questions about Wine on macOS.
Locked
Chemistry_Ken
Newbie
Newbie
Posts: 3
Joined: Tue Jul 23, 2013 9:52 pm

Help Building Wine 1.6 via MacPorts

Post by Chemistry_Ken »

I'm trying to build Wine 1.6 using the following Howto:
http://simx.me/technonova/tips/using_ex ... files.html

and the following Portfile (linked on the WineHQ website):
http://trac.macports.org/browser/trunk/ ... l/Portfile

The trouble is, when I try to use the Portindex command, the train comes off the rails:

Code: Select all

$Portindex local_repository
Creating software index in local_repository
Warning: Group file could not be located.
Failed to parse file x11/wine-devel/Portfile: invalid command name "supported_archs"
When I comment out the "supported_archs" line, I get the invalid command name error for compiler.blacklist. I am wondering if I am missing some sort of package. I spent a bit of time trying to figure out what, but quickly found myself spinning my wheels. Any ideas here? Thanks for any help!!!
Chemistry_Ken
Newbie
Newbie
Posts: 3
Joined: Tue Jul 23, 2013 9:52 pm

Re: Help Building Wine 1.6 via MacPorts

Post by Chemistry_Ken »

So I thought I would take a step back and just try to install 1.2, which is apparently what MacPorts is pointing to online:

Code: Select all

bash-3.2$ sudo port install wine-devel
Error: Requested variants "" do not match original selection "+darwin_10".
Please use the same variants again, perform 'port clean wine-devel' or specify the force option (-f).
Error: Status 1 encountered during processing.
Before reporting a bug, first run the command again with the -d flag to get complete output.
bash-3.2$ sudo port clean wine-devel
--->  Cleaning wine-devel
bash-3.2$ sudo port install wine-devel
Error: Unable to open port: can't read "build.cmd": Failed to locate 'make' in path: '/opt/local/bin:/opt/local/sbin:/bin:/sbin:/usr/bin:/usr/sbin' or at its MacPorts configuration time location, did you move it?
Error: Unable to execute port: upgrade fontconfig failed
Before reporting a bug, first run the command again with the -d flag to get complete output.
bash-3.2$ 
So I'm still stuck. Really getting the feeling I must have forgotten to install a package or something. Thanks for your help with this!
Chemistry_Ken
Newbie
Newbie
Posts: 3
Joined: Tue Jul 23, 2013 9:52 pm

Re: Help Building Wine 1.6 via MacPorts

Post by Chemistry_Ken »

Should I maybe dig into a MacPorts forum? That thought just occurred to me now. Thanks.
Maexel
Level 3
Level 3
Posts: 71
Joined: Fri Dec 07, 2012 11:08 am

Re: Help Building Wine 1.6 via MacPorts

Post by Maexel »

Hi Chemistry_Ken,

which OS version is running on your Mac? On Leopard (10.5.x), you can't install wine-devel due to cmake. On my old MacBook Pro with OS Leopard running, I wasn't able to upgrade to a newer wine-devel version due to this cmake issue.
I think the conflict is somewhere between older versions of Xcode and cmake. With Xcode version 4.6.3, which is although only running on OS Mountain Lion and OS Lion, there won't be a conflict if the command line tools have been installed.

Would be great to get some clarity about this issue and if older OS than Lion can't upgrade anymore to the latest wine-devel version.

Cheers mate,
Maexel
lzh1104
Newbie
Newbie
Posts: 2
Joined: Wed Jul 31, 2013 10:35 pm

Re: Help Building Wine 1.6 via MacPorts

Post by lzh1104 »

need x11
pixilla
Newbie
Newbie
Posts: 3
Joined: Wed Aug 28, 2013 1:38 pm

Re: Help Building Wine 1.6 via MacPorts

Post by pixilla »

Chemistry_Ken: Do you have the xCode command line tools installed?

Regarding installing current wine on pre-Lion:

Code: Select all

$ sw_vers -productVersion ; port echo installed and name:^wine
10.6.8
wine                           @1.6_0 
wine-devel                     @1.7.0_0 
Locked