Few Questions
Few Questions
First of all, I am very mac illiterate as I have been using windows all my life. I am enquiring to see about getting some help on the whole wine thing. I have been looking at the wiki and FAQs but Im lost. I installed wine from sourceforge but when I go to click wineinstall in the tools folder, this is what I get:
Last login: Sun Sep 18 21:31:41 on ttys000
/Users/christiankirby/Downloads/wine-1.3.13/tools/wineinstall ; exit;
Christian-Kirbys-MacBook-Pro:~ christiankirby$ /Users/christiankirby/Downloads/wine-1.3.13/tools/wineinstall ; exit;
Wine Installer v1.0
You're running this from the wrong directory.
Change to the Wine source's main directory and try again.
logout
[Process completed]
If anyone can help me on how to compile or whatever else it is I may need, it would be appreciated. Can either email me at [email protected] or send me a private message, thank you.
Last login: Sun Sep 18 21:31:41 on ttys000
/Users/christiankirby/Downloads/wine-1.3.13/tools/wineinstall ; exit;
Christian-Kirbys-MacBook-Pro:~ christiankirby$ /Users/christiankirby/Downloads/wine-1.3.13/tools/wineinstall ; exit;
Wine Installer v1.0
You're running this from the wrong directory.
Change to the Wine source's main directory and try again.
logout
[Process completed]
If anyone can help me on how to compile or whatever else it is I may need, it would be appreciated. Can either email me at [email protected] or send me a private message, thank you.
-
- Moderator
- Posts: 1153
- Joined: Wed Apr 27, 2011 11:01 pm
Few Questions
On 9/18/11 6:38 PM, Neial5546 wrote:
recommend using either MacPorts, Fink or osxwinebuilder (Google for it)
to install the dependencies and Wine itself.
Before installing ANY program in Wine I highly recommend visiting the
Applications Database. Some of the hints do work with the Mac.
James
Installing Wine on a Mac requires installing Linux/UNIX dependencies. IFirst of all, I am very mac illiterate as I have been using windows all my life. I am enquiring to see about getting some help on the whole wine thing. I have been looking at the wiki and FAQs but Im lost. I installed wine from sourceforge but when I go to click wineinstall in the tools folder, this is what I get:
recommend using either MacPorts, Fink or osxwinebuilder (Google for it)
to install the dependencies and Wine itself.
Before installing ANY program in Wine I highly recommend visiting the
Applications Database. Some of the hints do work with the Mac.
James
Unless you want to use a Third Pary App that uses Wine(http://wiki.winehq.org/ThirdPartyApplications), yes you'll have to compile Wine yourself and use it all command line.Neial5546 wrote:I got MacPorts yesterday, since Im on OSX, I guess Im going to have to compile my own wine since there isnt a distribution for mac OSX, so the question is, how do I compile and install wine?
This is easy on Macports though, you just open up Terminal and type...
port install wine-devel
to get the latest development version installed... it handles getting everything you need, downloading them, and compiling them... so you just let it go.
And then also, I typed in the command $ port search wine and this is what I got:
Last login: Mon Sep 19 00:24:41 on ttys000
Christian-Kirbys-MacBook-Pro:~ christiankirby$ port search wine
mystonline-wine @2010 (games, x11)
Myst Online: URU Live Again
wine @1.2.3 (x11)
Wine Is Not an Emulator
wine-crossover @10.0.3 (x11)
Wine Is Not an Emulator (1.3.9 with CodeWeavers modifications for CrossOver)
wine-crossover-games @10.0.0 (x11)
Wine Is Not an Emulator (1.3.9 with CodeWeavers modifications for CrossOver
Games)
wine-devel @1.3.28 (x11)
Wine Is Not an Emulator
winetricks @20110629 (x11)
downloads and installs various redistributable runtime libraries
Found 6 ports.
Christian-Kirbys-MacBook-Pro:~ christiankirby$
What I am trying to figure out next, from the wiki is how do I install it?
Last login: Mon Sep 19 00:24:41 on ttys000
Christian-Kirbys-MacBook-Pro:~ christiankirby$ port search wine
mystonline-wine @2010 (games, x11)
Myst Online: URU Live Again
wine @1.2.3 (x11)
Wine Is Not an Emulator
wine-crossover @10.0.3 (x11)
Wine Is Not an Emulator (1.3.9 with CodeWeavers modifications for CrossOver)
wine-crossover-games @10.0.0 (x11)
Wine Is Not an Emulator (1.3.9 with CodeWeavers modifications for CrossOver
Games)
wine-devel @1.3.28 (x11)
Wine Is Not an Emulator
winetricks @20110629 (x11)
downloads and installs various redistributable runtime libraries
Found 6 ports.
Christian-Kirbys-MacBook-Pro:~ christiankirby$
What I am trying to figure out next, from the wiki is how do I install it?
-
- Moderator
- Posts: 1153
- Joined: Wed Apr 27, 2011 11:01 pm
Few Questions
On Sun, Sep 18, 2011 at 9:30 PM, Neial5546 <[email protected]> wrote:
port install wine-devel
This will install the wine-devel version on your system and configure
your system so Wine can be used.
James
Do what doh123 said to do:And then also, I typed in the command $ port search wine and this is what I got:
Last login: Mon Sep 19 00:24:41 on ttys000
Christian-Kirbys-MacBook-Pro:~ christiankirby$ port search wine
mystonline-wine @2010 (games, x11)
Myst Online: URU Live Again
wine @1.2.3 (x11)
Wine Is Not an Emulator
wine-crossover @10.0.3 (x11)
Wine Is Not an Emulator (1.3.9 with CodeWeavers modifications for CrossOver)
wine-crossover-games @10.0.0 (x11)
Wine Is Not an Emulator (1.3.9 with CodeWeavers modifications for CrossOver
Games)
wine-devel @1.3.28 (x11)
Wine Is Not an Emulator
winetricks @20110629 (x11)
downloads and installs various redistributable runtime libraries
Found 6 ports.
Christian-Kirbys-MacBook-Pro:~ christiankirby$
What I am trying to figure out next, from the wiki is how do I install it?
port install wine-devel
This will install the wine-devel version on your system and configure
your system so Wine can be used.
James
Now a new problem has developed, I typed in what you guys said, and this is what I got:
Last login: Mon Sep 19 00:46:17 on ttys000
Christian-Kirbys-MacBook-Pro:~ christiankirby$ port install wine-devel
Error: Insufficient privileges to write to MacPorts install prefix.
Christian-Kirbys-MacBook-Pro:~ christiankirby$ port install wine-devel
Error: Insufficient privileges to write to MacPorts install prefix.
Christian-Kirbys-MacBook-Pro:~ christiankirby$ port search wine
mystonline-wine @2010 (games, x11)
Myst Online: URU Live Again
wine @1.2.3 (x11)
Wine Is Not an Emulator
wine-crossover @10.0.3 (x11)
Wine Is Not an Emulator (1.3.9 with CodeWeavers modifications for CrossOver)
wine-crossover-games @10.0.0 (x11)
Wine Is Not an Emulator (1.3.9 with CodeWeavers modifications for CrossOver
Games)
wine-devel @1.3.28 (x11)
Wine Is Not an Emulator
winetricks @20110629 (x11)
downloads and installs various redistributable runtime libraries
Found 6 ports.
Christian-Kirbys-MacBook-Pro:~ christiankirby$ port install wine-devel
Error: Insufficient privileges to write to MacPorts install prefix.
Christian-Kirbys-MacBook-Pro:~ christiankirby$
Last login: Mon Sep 19 00:46:17 on ttys000
Christian-Kirbys-MacBook-Pro:~ christiankirby$ port install wine-devel
Error: Insufficient privileges to write to MacPorts install prefix.
Christian-Kirbys-MacBook-Pro:~ christiankirby$ port install wine-devel
Error: Insufficient privileges to write to MacPorts install prefix.
Christian-Kirbys-MacBook-Pro:~ christiankirby$ port search wine
mystonline-wine @2010 (games, x11)
Myst Online: URU Live Again
wine @1.2.3 (x11)
Wine Is Not an Emulator
wine-crossover @10.0.3 (x11)
Wine Is Not an Emulator (1.3.9 with CodeWeavers modifications for CrossOver)
wine-crossover-games @10.0.0 (x11)
Wine Is Not an Emulator (1.3.9 with CodeWeavers modifications for CrossOver
Games)
wine-devel @1.3.28 (x11)
Wine Is Not an Emulator
winetricks @20110629 (x11)
downloads and installs various redistributable runtime libraries
Found 6 ports.
Christian-Kirbys-MacBook-Pro:~ christiankirby$ port install wine-devel
Error: Insufficient privileges to write to MacPorts install prefix.
Christian-Kirbys-MacBook-Pro:~ christiankirby$
Few Questions
On Sep 19, 2011, at 10:15 AM, Neial5546 wrote:
sudo port install wine-devel
Now (after you enter your password at the prompt) you'll be able to install Wine.
Chip
That's because you need to run this particular command as root. And to do that, you tack a 'sudo' on the beginning of the command, like so:Christian-Kirbys-MacBook-Pro:~ christiankirby$ port install wine-devel
Error: Insufficient privileges to write to MacPorts install prefix.
sudo port install wine-devel
Now (after you enter your password at the prompt) you'll be able to install Wine.
Chip
As to your question, Macports has to access and download source code from many places, including sourceforge, so it can build it... so yes you need to let it download.
also
current Macports does not need to be run as root, and some things break if you sudo it, so something might be wrong with your installation.
This is beyond the help of this message board since its not a Wine issue.. but...
do a...
sudo port selfupdate
and make sure its all up to date.
Are you on an admin user account... or the same account that installed Macports? its install location (/opt/local) might be off limits to your current user.
you can do this command with a sudo to fix the folder if its messed up...
sudo chmod -R 777 /opt/local
because its supposed to be full read/write
also
current Macports does not need to be run as root, and some things break if you sudo it, so something might be wrong with your installation.
This is beyond the help of this message board since its not a Wine issue.. but...
do a...
sudo port selfupdate
and make sure its all up to date.
Are you on an admin user account... or the same account that installed Macports? its install location (/opt/local) might be off limits to your current user.
you can do this command with a sudo to fix the folder if its messed up...
sudo chmod -R 777 /opt/local
because its supposed to be full read/write
Few Questions
Do NOT run that. That recursively grants rwx permissions to *every* user on the system for *everything* in that directory. Bad idea. The only time 777 should be granted is on temp directories in conjunction with a sticky bit of some sort.sudo chmod -R 777 /opt/local
Just prefix any "port" subcommands with sudo and you'll be safe. -r
http://wiki.winehq.org/FAQ#head-f351523 ... 8da63be66fNeial5546 wrote:Ok, wine has been installed. Now the next question, how do I install the windows program I'm trying to install?
-
- Moderator
- Posts: 1153
- Joined: Wed Apr 27, 2011 11:01 pm
Few Questions
On 9/19/11 6:11 PM, Neial5546 wrote:
You will have to install from terminal.
James
You should not get this option from the Mac Menu.Got that. Now the problem is, I right click it, it does not give me the option to open with wine. I use the terminal and it opens just fine and now Im trying to download the game. Hope this works
You will have to install from terminal.
James
Re: Few Questions
/opt/local does not exist normally.. its only Macports and nothing else... nothing has been installed in it yet, so its just Macports executables and config files which are already supposed to be all users.ryan woodsmall wrote:Do NOT run that. That recursively grants rwx permissions to *every* user on the system for *everything* in that directory. Bad idea. The only time 777 should be granted is on temp directories in conjunction with a sticky bit of some sort.sudo chmod -R 777 /opt/local
Just prefix any "port" subcommands with sudo and you'll be safe. -r
Macports is designed to not be run with sudo anymore... and just like running Wine with sudo, you can really mess things up, and some ports won't even install if you sudo it.
Few Questions
Nope. http://guide.macports.org/chunked/using.htmlMacports is designed to not be run with sudo anymore...
Re: Few Questions
You can have your own opinions on the 777 issue... I wouldn't base it on out-dated documentation, but I'll stick with what actually works. If you want more info thats up to date, read through change logs, not old documentation thats kept up as poorly as Wine's.ryan woodsmall wrote:Nope. http://guide.macports.org/chunked/using.htmlMacports is designed to not be run with sudo anymore...
-
- Moderator
- Posts: 1153
- Joined: Wed Apr 27, 2011 11:01 pm
Few Questions
On Tue, Sep 20, 2011 at 10:38 AM, doh123 <[email protected]> wrote:
access on any operating system without good reason. In this case it
may be possible to get away with rw-rw-r-s which will assign the
current user read/write permissions.
James
I would, as a security expert, never set a directory or file to fullryan woodsmall wrote:You can have your own opinions on the 777 issue... I wouldn't base it on out-dated documentation, but I'll stick with whatNope. http://guide.macports.org/chunked/using.htmlMacports is designed to not be run with sudo anymore...
actually works. If you want more info thats up to date, read through change logs, not old documentation thats kept up as
poorly as Wine's.
access on any operating system without good reason. In this case it
may be possible to get away with rw-rw-r-s which will assign the
current user read/write permissions.
James
Few Questions
I base my opinion on the fact that 777 permissions are dangerous even on single-user systems. Wine is not a sandbox, anything you grant 777 to is opening up a hole big enough to drive a truck in. Couple that with the fact MacPorts can be used to install things like web servers, application servers, etc., and you're asking for trouble.You can have your own opinions on the 777 issue...
I am a professional sysadmin. I've cleaned up far too many webserver hacks because people don't care enough to bother setting sane permissions and ownership on blog installs. It would be one thing to recursively chown the MacPorts /opt/local directory to your user/group to make installs easier; it's another thing entirely to give everyone and their dog permission to write to any file or directory, including binaries.
I could present hypotheticals but I won't. Wine and 777 permissions on system-level directories is not safe. This should be obvious.