unable to run wine

Open forum for end-user questions about Wine. Before asking questions, check out the Wiki as a first step.
Forum Rules
Locked
Trevorofmolino
Level 2
Level 2
Posts: 16
Joined: Sun Apr 27, 2008 3:40 pm

unable to run wine

Post by Trevorofmolino »

Installed and configured wine. When I try to run wine in hoome or in usr/local/bin I get
bash: wine: command not found
I put a cd into the cdrom and tried to run the setup.exe this is what I got
[trevor@trevor bin]$ wine d:\mnt\cdrom\setup.exe
bash: wine: command not found
I checked the directory of usr/local/bin and this is whats in it
[trevor@trevor bin]$ ls
function_grep.pl uninstaller wineboot winedbg winemine wmc
msiexec widl winebrowser winedump winepath wrc
notepad wine winebuild winefile wineprefixcreate
progman wine-kthread winecfg wineg++ wineserver
regedit wine-preloader wineconsole winegcc wineshelllink
regsvr32 wine-pthread winecpp winemaker winhelp
according to the users guide going to the directory wine executable is located in should work. Anyone have any ideas to try?
vitamin
Moderator
Moderator
Posts: 6605
Joined: Sat Feb 23, 2008 2:29 pm

Re: unable to run wine

Post by vitamin »

Trevorofmolino wrote:Installed and configured wine. When I try to run wine in hoome or in usr/local/bin I get
bash: wine: command not found
I put a cd into the cdrom and tried to run the setup.exe this is what I got
[trevor@trevor bin]$ wine d:\mnt\cdrom\setup.exe
bash: wine: command not found
I checked the directory of usr/local/bin and this is whats in it
[trevor@trevor bin]$ ls
function_grep.pl uninstaller wineboot winedbg winemine wmc
msiexec widl winebrowser winedump winepath wrc
notepad wine winebuild winefile wineprefixcreate
progman wine-kthread winecfg wineg++ wineserver
regedit wine-preloader wineconsole winegcc wineshelllink
regsvr32 wine-pthread winecpp winemaker winhelp
according to the users guide going to the directory wine executable is located in should work. Anyone have any ideas to try?
What "echo $PATH" say?
James McKenzie

unable to run wine

Post by James McKenzie »

Trevorofmolino wrote:
Installed and configured wine. When I try to run wine in hoome or in usr/local/bin I get
bash: wine: command not found
I put a cd into the cdrom and tried to run the setup.exe this is what I got
[trevor@trevor bin]$ wine d:\mnt\cdrom\setup.exe
bash: wine: command not found
I checked the directory of usr/local/bin and this is whats in it
[trevor@trevor bin]$ ls
function_grep.pl uninstaller wineboot winedbg winemine wmc
msiexec widl winebrowser winedump winepath wrc
notepad wine winebuild winefile wineprefixcreate
progman wine-kthread winecfg wineg++ wineserver
regedit wine-preloader wineconsole winegcc wineshelllink
regsvr32 wine-pthread winecpp winemaker winhelp
according to the users guide going to the directory wine executable is located in should work. Anyone have any ideas to try?

cd /usr/bin
ls -l wine

What does this say?

James McKenzie
Trevorofmolino
Level 2
Level 2
Posts: 16
Joined: Sun Apr 27, 2008 3:40 pm

Post by Trevorofmolino »

[trevor@trevor ~]$ echo $PATH
/bin:/usr/bin:/sbin:/usr/sbin:/usr/X11R6/bin:/opt/bin:/opt/java/bin:/opt/java/jre/bin:/opt/kde/bin:/opt/mozilla/bin:/opt/qt/bin

cd usr/bin
ls -l wine shows
ls: cannot access wine: No such file or directory
but cd usr/local/bin shows
[trevor@trevor bin]$ ls -l wine
-rwxr-xr-x 1 root root 13500 2008-05-28 15:43 wine
James McKenzie

unable to run wine

Post by James McKenzie »

Trevorofmolino wrote:
[trevor@trevor ~]$ echo $PATH
/bin:/usr/bin:/sbin:/usr/sbin:/usr/X11R6/bin:/opt/bin:/opt/java/bin:/opt/java/jre/bin:/opt/kde/bin:/opt/mozilla/bin:/opt/qt/bin

cd usr/bin
ls -l wine shows
ls: cannot access wine: No such file or directory
but cd usr/local/bin shows
[trevor@trevor bin]$ ls -l wine
-rwxr-xr-x 1 root root 13500 2008-05-28 15:43 wine

At this point you have two choices:

1. Put /usr/local/bin in your PATH statement in /etc/profile
2. Soft link between /usr/bin/wine and /usr/local/bin/wine

If you don't know how to do either, Google is your friend.

James McKenzie
Trevorofmolino
Level 2
Level 2
Posts: 16
Joined: Sun Apr 27, 2008 3:40 pm

Post by Trevorofmolino »

tried to do a soft patch and thisis what hapened
[trevor@trevor ~]$ ls -s /usr/local/bin wine
ls: cannot access wine: No such file or directory
/usr/local/bin:
total 4120
8 function_grep.pl 28 wine-pthread 64 winegcc
4 msiexec 4 wineboot 64 winemaker
4 notepad 4 winebrowser 4 winemine
4 progman 216 winebuild 4 winepath
4 regedit 4 winecfg 4 wineprefixcreate
4 regsvr32 4 wineconsole 2144 wineserver
4 uninstaller 0 winecpp 8 wineshelllink
544 widl 4 winedbg 4 winhelp
16 wine 304 winedump 96 wmc
68 wine-kthread 4 winefile 464 wrc
32 wine-preloader 0 wineg++
[trevor@trevor ~]$ ls -s /usr/bin/wine /usr/local/bin/wine
ls: cannot access /usr/bin/wine: No such file or directory
16 /usr/local/bin/wine
put /usr/local/bin in the path statement in /etc/profile and this is the result
bash: wine: command not found
this is the path statement revised

# /etc/profile
#

export PATH="/bin:/usr/bin:/sbin:/usr/sbin:/usr/X11R6/bin:/opt/bin:/usr/local/bin"
If I can get wine recognized like I can see it everything will work.
Pavel Troller

unable to run wine

Post by Pavel Troller »

Hi Trevor,
tried to do a soft patch and thisis what hapened
[trevor@trevor ~]$ ls -s /usr/local/bin wine
ls: cannot access wine: No such file or directory
/usr/local/bin:
total 4120
8 function_grep.pl 28 wine-pthread 64 winegcc
4 msiexec 4 wineboot 64 winemaker
4 notepad 4 winebrowser 4 winemine
4 progman 216 winebuild 4 winepath
4 regedit 4 winecfg 4 wineprefixcreate
4 regsvr32 4 wineconsole 2144 wineserver
4 uninstaller 0 winecpp 8 wineshelllink
544 widl 4 winedbg 4 winhelp
16 wine 304 winedump 96 wmc
68 wine-kthread 4 winefile 464 wrc
32 wine-preloader 0 wineg++
[trevor@trevor ~]$ ls -s /usr/bin/wine /usr/local/bin/wine
Please try this:
ln -s /usr/local/bin/wine /usr/bin/wine
ls: cannot access /usr/bin/wine: No such file or directory
16 /usr/local/bin/wine
put /usr/local/bin in the path statement in /etc/profile and this is the result
bash: wine: command not found
Did you relogin after the modification of /etc/profile ??
It seems that the mod is OK, but it needs to be reexecuted to be effective.
this is the path statement revised

# /etc/profile
#

export PATH="/bin:/usr/bin:/sbin:/usr/sbin:/usr/X11R6/bin:/opt/bin:/usr/local/bin"
If I can get wine recognized like I can see it everything will work.
With regards, Pavel Troller
Trevorofmolino
Level 2
Level 2
Posts: 16
Joined: Sun Apr 27, 2008 3:40 pm

Post by Trevorofmolino »

No I did not relog back in, but now I did and it seems to be working (FIXED) thanks.
Locked