[MacPorts] #41427: wine cannot run in terminal, mac os x
#41427: wine cannot run in terminal, mac os x ----------------------+-------------------------------- Reporter: kenmux@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.1 Keywords: | Port: ----------------------+-------------------------------- i'm a newer to macport. just before trying macport, i installed and used wine.app directly. i found it not very well, so i uninstalled it. then, i try to use macport to run wine. when i install it successfully, i found that, i just cannot run it in terminal by typing 'wine' and enter!!! the hint is: '-bash: /Applications/Wine.app/Contents/Resources/bin/wine: No such file or directory' but, i can run 'wine' in bash 3.4, in the x11, also, i can run 'winecfg' in terminal. so, what should i do? any good ideas? please help me! -- Ticket URL: <https://trac.macports.org/ticket/41427> MacPorts <http://www.macports.org/> Ports system for OS X
#41427: wine cannot run in terminal, mac os x -----------------------+-------------------------------- Reporter: kenmux@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.1 Resolution: | Keywords: Port: | -----------------------+-------------------------------- Changes (by ryandesign@…): * cc: ryandesign@… (added) Comment: This is not a MacPorts problem. (/Applications/Wine.app is not installed by MacPorts.) It's a problem with your terminal. The first thing I'd try is to quit the Terminal application and re-open it. Does that help or change the error message at all? If not, please show me the output of: {{{ echo $PATH }}} -- Ticket URL: <https://trac.macports.org/ticket/41427#comment:1> MacPorts <http://www.macports.org/> Ports system for OS X
#41427: wine cannot run in terminal, mac os x -----------------------+-------------------------------- Reporter: kenmux@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.1 Resolution: | Keywords: Port: | -----------------------+-------------------------------- Comment (by kenmux@…): thanks for you to help me, the $PATH as follows: Last login: Tue Nov 19 09:32:43 on ttys000 ivviii:~ kenmux$ echo $PATH /opt/local/bin:/opt/local/sbin:/opt/local/bin:/opt/local/sbin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/opt/X11/bin:/Users/kenmux/Softwares/Eclipse/usr /android-ndk ivviii:~ kenmux$ winecfg Dynamic session lookup supported but failed: launchd did not provide a socket path, verify that org.freedesktop.dbus-session.plist is loaded! ivviii:~ kenmux$ wine --help -bash: /Applications/Wine.app/Contents/Resources/bin/wine: No such file or directory ivviii:~ kenmux$ last time i forgot to clean the trash, so this time it did it, but just not work... -- Ticket URL: <https://trac.macports.org/ticket/41427#comment:2> MacPorts <http://www.macports.org/> Ports system for OS X
#41427: wine cannot run in terminal, mac os x -----------------------+-------------------------------- Reporter: kenmux@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.1 Resolution: | Keywords: Port: | -----------------------+-------------------------------- Comment (by kenmux@…): urr, i know why... when i check terminal alias, then.... ivviii:~ kenmux$ alias alias wine='/Applications/Wine.app/Contents/Resources/bin/wine' ivviii:~ kenmux$ just as you known, if you installed wine.app, it'll do this: alias wine='/Applications/Wine.app/Contents/Resources/bin/wine' so this was a simple thing: change alias!!! ivviii:~ kenmux$ alias wine='/opt/local/bin/wine' ivviii:~ kenmux$ wine --help Usage: wine PROGRAM [ARGUMENTS...] Run the specified program wine --help Display this help and exit wine --version Output version information and exit ivviii:~ kenmux$ ryandesign@macports.org, thanks, alougth... you let me check the settings of my mac, it's correct! -- Ticket URL: <https://trac.macports.org/ticket/41427#comment:3> MacPorts <http://www.macports.org/> Ports system for OS X
#41427: wine cannot run in terminal, mac os x -----------------------+-------------------------------- Reporter: kenmux@… | Owner: macports-tickets@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.2.1 Resolution: invalid | Keywords: Port: | -----------------------+-------------------------------- Changes (by ryandesign@…): * status: new => closed * resolution: => invalid Comment: Ok, glad you got it working. -- Ticket URL: <https://trac.macports.org/ticket/41427#comment:4> MacPorts <http://www.macports.org/> Ports system for OS X
participants (1)
-
MacPorts