mac thinks wine is in opt/local/bin
-
- Level 2
- Posts: 11
- Joined: Tue Aug 09, 2011 12:55 pm
mac thinks wine is in opt/local/bin
even though the command which wine returns usr/local/bin/wine
I have already deleted all the wine related files from opt/local/bin so there must be a file somewhere else telling the computer to look there when i type wine. Where is it?
I have already deleted all the wine related files from opt/local/bin so there must be a file somewhere else telling the computer to look there when i type wine. Where is it?
-
- Moderator
- Posts: 1153
- Joined: Wed Apr 27, 2011 11:01 pm
mac thinks wine is in opt/local/bin
On Tue, Aug 9, 2011 at 1:24 PM, basketcase3 <[email protected]> wrote:
ls -l /usr/local/bin/wine
return?
What does the command:even though the command which wine returns usr/local/bin/wine
I have already deleted all the wine related files from opt/local/bin so there must be a file somewhere else telling the computer to
look there when i type wine. Where is it?
ls -l /usr/local/bin/wine
return?
more info would help...
why it is in /usr/local ... did you do a build by hand? /opt/local is where Macports puts everything. How exactly did you get Wine and how are oyu changing things? Its not going to run somewhere differently than the "which" command shows, because that pulls from the same path... unless your running in different terminal sessions that have different $PATH.
why it is in /usr/local ... did you do a build by hand? /opt/local is where Macports puts everything. How exactly did you get Wine and how are oyu changing things? Its not going to run somewhere differently than the "which" command shows, because that pulls from the same path... unless your running in different terminal sessions that have different $PATH.
-
- Moderator
- Posts: 1153
- Joined: Wed Apr 27, 2011 11:01 pm
mac thinks wine is in opt/local/bin
On Tue, Aug 9, 2011 at 1:56 PM, doh123 <[email protected]> wrote:
It is possible what is in /usr/local/bin is only a symlink to /opt/local/bin
Also, if /opt/local/bin is not in the PATH and before /usr/local/inb
then which wine will not find wine installed there.
You do have a valid point though, how did Wine get in /usr/local/bin
and is there? Is it a symbolic-link to wine somewhere else or is this
an actual executible program.
Questions that need to answered have been asked:
What is at /usr/local/bin/wine (ls -l wine and file wine are two
commands that you can use)?
What is at /opt/local ?
We can provide help if needed, but if your MacPorts installation is
broken you may have to go to them for help.
Thank you.
James
doh123:more info would help...
why it is in /usr/local ... did you do a build by hand? /opt/local is where Macports puts everything. How exactly did you get
Wine and how are oyu changing things? Its not going to run somewhere differently than the "which" command shows,
because that pulls from the same path... unless your running in different terminal sessions that have different $PATH.
It is possible what is in /usr/local/bin is only a symlink to /opt/local/bin
Also, if /opt/local/bin is not in the PATH and before /usr/local/inb
then which wine will not find wine installed there.
You do have a valid point though, how did Wine get in /usr/local/bin
and is there? Is it a symbolic-link to wine somewhere else or is this
an actual executible program.
Questions that need to answered have been asked:
What is at /usr/local/bin/wine (ls -l wine and file wine are two
commands that you can use)?
What is at /opt/local ?
We can provide help if needed, but if your MacPorts installation is
broken you may have to go to them for help.
Thank you.
James
-
- Level 2
- Posts: 11
- Joined: Tue Aug 09, 2011 12:55 pm
how did you uninstall it? You have to trash the whole /opt/local folder.basketcase3 wrote:I did have a macports installation that I uninstalled. I'm not sure what makes the computer think it's still there.
What OS version are you running? older versions get the path messed up easily. Have you tried removing /opt/local and rebooting?
-
- Moderator
- Posts: 1153
- Joined: Wed Apr 27, 2011 11:01 pm
mac thinks wine is in opt/local/bin
On 8/9/11 2:43 PM, basketcase3 wrote:
The 'proper' way is to use the purge function of MacPorts.
James
How did you uninstall it?I did have a macports installation that I uninstalled. I'm not sure what makes the computer think it's still there.
The 'proper' way is to use the purge function of MacPorts.
James
-
- Moderator
- Posts: 1153
- Joined: Wed Apr 27, 2011 11:01 pm
mac thinks wine is in opt/local/bin
On 8/9/11 8:10 PM, doh123 wrote:
However, if the only 'port' you installed is Wine, then removing
/opt/local/ and then logging out and back in should remove whatever
MacPorts added to the login shell scripts.
If that does not work, reboot.
James
Not just to remove Wine. MacPorts uses the purge function to do that.basketcase3 wrote:how did you uninstall it? You have to trash the whole /opt/local folder.I did have a macports installation that I uninstalled. I'm not sure what makes the computer think it's still there.
However, if the only 'port' you installed is Wine, then removing
/opt/local/ and then logging out and back in should remove whatever
MacPorts added to the login shell scripts.
If that does not work, reboot.
James