LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Wine Problem! (https://www.linuxquestions.org/questions/linux-software-2/wine-problem-795394/)

t3st 03-14-2010 06:34 PM

Wine Problem!
 
Hey everyone,

I installed Slackware 13.0 64bit on my system and wine comes as default.

All files are there but wine stil does not work.

bash-3.1$ winecfg
/usr/bin/winecfg: line 29: /usr/bin/wine: No such file or directory
/usr/bin/winecfg: line 29: /usr/bin/wine: Success

I looked around and this problem has been reported by other people as well but none are solved.

Any suggestions ?

raju.mopidevi 03-14-2010 06:57 PM

Quote:

no file or directory ?
checkout whether it has proper path or not !
Code:

$whereis wine

raju.mopidevi 03-14-2010 06:59 PM

Similar problem was found in LQ, seems to be solved . see this thread

t3st 03-14-2010 07:39 PM

bash-3.1# whereis wine
wine: /usr/bin/wine /usr/lib/wine /usr/X11R6/bin/wine /usr/bin/X11/wine /usr/X11/bin/wine /usr/include/wine /usr/share/wine /usr/man/man1/wine.1.gz /usr/share/man/man1/wine.1.gz /usr/X11/man/man1/wine.1.gz

I read that post and it is not solved.

nimnull22 03-14-2010 07:48 PM

May be just uninstall it and install again?

t3st 03-15-2010 08:38 AM

WHat do you mean by uninstall ? remove all wine related stuff ? I do not see where this can come handy since installing official tgz for package just extracts the necessary files to various locations.

pixellany 03-15-2010 09:02 AM

Quote:

Originally Posted by nimnull22 (Post 3898319)
May be just uninstall it and install again?

That sounds like a Windows solution....Have you had experience fixing WINE (or any Linux) issues in this way?

t3st 03-15-2010 01:15 PM

since everything in Linux is a file, we can not talk about an installation process here. In windows there is is registry and other etc but there is no such crap in linux.Only file copy oeprations to locations.

raju.mopidevi 03-15-2010 01:20 PM

manually set your wine path.
go to your home folder
$vi .bashrc
WINE=/usr/lib/wine
export PATH=$WINE:$PATH

t3st 03-15-2010 02:11 PM

bash-3.1$ WINE=/usr/lib/wine
bash-3.1$ export PATH=$WINE:$PATH
bash-3.1$ wine
bash: /usr/bin/wine: No such file or directory
bash-3.1$ winecfg
/usr/bin/winecfg: line 29: /usr/bin/wine: No such file or directory
/usr/bin/winecfg: line 29: /usr/bin/wine: Success


No luck :/

pixellany 03-15-2010 02:15 PM

So---where IS wine installed?

If it is on your computer, this will find it:

Code:

find / -name "wine*"
run this as root--or with sudo

raju.mopidevi 03-15-2010 02:44 PM

@t3st ; you are relaying on default installation. If it has problems then
Make a fresh installation of latest wine.

t3st 03-15-2010 02:46 PM

bash-3.1$ find / -name "wine*"
/usr/share/wine
/usr/share/wine/wine.inf
/usr/share/texmf/doc/help/Catalogue/entries/winedt.html
/usr/share/texmf/doc/help/Catalogue/entries/winemtex.html
/usr/share/pixmaps/wine.xpm
/usr/share/apps/katepart/syntax/winehq.xml
/usr/share/apps/kappfinder/apps/System/wine.desktop
/usr/share/applications/winecfg.desktop
/usr/share/applications/wine.desktop
/usr/share/icons/oxygen/48x48/apps/wine.png
/usr/share/icons/oxygen/scalable/apps/wine.svgz
/usr/share/icons/oxygen/64x64/apps/wine.png
/usr/share/icons/oxygen/128x128/apps/wine.png
/usr/share/icons/oxygen/16x16/apps/wine.png
/usr/share/icons/oxygen/32x32/apps/wine.png
/usr/share/icons/oxygen/22x22/apps/wine.png
/usr/share/icons/mono/scalable/apps/wine.svgz
/usr/doc/wine-1.1.39
/usr/doc/wine-1.1.39/wine.SlackBuild
/usr/bin/wineprefixcreate
/usr/bin/winemine
/usr/bin/wine
/usr/bin/winefile
/usr/bin/wineg++
/usr/bin/winepath
/usr/bin/winegcc
/usr/bin/winemaker
/usr/bin/wineboot
/usr/bin/winecfg
/usr/bin/winedump
/usr/bin/wineserver
/usr/bin/winedbg
/usr/bin/wine-preloader
/usr/bin/wineconsole
/usr/bin/winebuild
/usr/bin/winecpp
/usr/lib/wine
/usr/lib/wine/wineps.drv.so
/usr/lib/wine/winealsa.drv.so
/usr/lib/wine/wineoss.drv.so
/usr/lib/wine/winemine.exe.so
/usr/lib/wine/wineps16.drv16.so
/usr/lib/wine/winecfg.exe.so
/usr/lib/wine/winejack.drv.so
/usr/lib/wine/winepath.exe.so
/usr/lib/wine/winefile.exe.so
/usr/lib/wine/winevdm.exe.so
/usr/lib/wine/wined3d.dll.so
/usr/lib/wine/winejoystick.drv.so
/usr/lib/wine/winemapi.dll.so
/usr/lib/wine/winenas.drv.so
/usr/lib/wine/winebrowser.exe.so
/usr/lib/wine/winedbg.exe.so
/usr/lib/wine/winex11.drv.so
/usr/lib/wine/winedevice.exe.so
/usr/lib/wine/wineesd.drv.so
/usr/lib/wine/wineboot.exe.so
/usr/lib/wine/winemenubuilder.exe.so
/usr/lib/wine/winecoreaudio.drv.so
/usr/lib/wine/wineaudioio.drv.so
/usr/lib/wine/wineconsole.exe.so
/usr/lib/wine/fakedlls/wineesd.drv
/usr/lib/wine/fakedlls/wineconsole.exe
/usr/lib/wine/fakedlls/winenas.drv
/usr/lib/wine/fakedlls/winedbg.exe
/usr/lib/wine/fakedlls/winejoystick.drv
/usr/lib/wine/fakedlls/wined3d.dll
/usr/lib/wine/fakedlls/winevdm.exe
/usr/lib/wine/fakedlls/wineps16.drv16
/usr/lib/wine/fakedlls/winedevice.exe
/usr/lib/wine/fakedlls/winemenubuilder.exe
/usr/lib/wine/fakedlls/winebrowser.exe
/usr/lib/wine/fakedlls/wineps.drv
/usr/lib/wine/fakedlls/winex11.drv
/usr/lib/wine/fakedlls/winepath.exe
/usr/lib/wine/fakedlls/wineoss.drv
/usr/lib/wine/fakedlls/winecfg.exe
/usr/lib/wine/fakedlls/winejack.drv
/usr/lib/wine/fakedlls/winealsa.drv
/usr/lib/wine/fakedlls/winefile.exe
/usr/lib/wine/fakedlls/winemine.exe
/usr/lib/wine/fakedlls/winecoreaudio.drv
/usr/lib/wine/fakedlls/wineaudioio.drv
/usr/lib/wine/fakedlls/winemapi.dll
/usr/lib/wine/fakedlls/wineboot.exe


files are there with necessary permissions and they are copied from the latest release.

cov 03-15-2010 03:17 PM

/usr/bin/wine seems to be there.

Is it executable? what do you get when you type 'ls -l /usr/bin/wine'?

t3st 03-15-2010 03:25 PM

bash-3.1# ls -l /usr/bin/wine
-rwxr-xr-x 1 root root 6900 2010-03-15 01:33 /usr/bin/wine
bash-3.1# whoami
root
bash-3.1# wine
bash: /usr/bin/wine: No such file or directory

This is crazy :)


All times are GMT -5. The time now is 08:55 PM.