SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I install wine with this as regular user:
darksaurian@inferno:/usr/local/wine-1.1.40$ ./tools/wineinstall
Then to uninstall I do this as root:
root@inferno:/usr/local/wine-1.1.40# make uninstall
Now if I try to install again it say this:
Code:
darksaurian@inferno:/usr/local/wine-1.1.40$ ./tools/wineinstall
Wine Installer v1.0
Warning !! wine binary (still) found, which may indicate
a (conflicting) previous installation.
You might want to abort and uninstall Wine first.
(If you previously tried to install from source manually,
run 'make uninstall' from the wine root directory)
We need to install Wine as the root user. Do you want us to build Wine,
'su root' and install Wine? Enter 'no' to build Wine without installing:
(yes/no)
Why it say conflicting previous installation? "make uninstall" not work?
Your better off making your own slackware packages. You can use Alien Bob's wine slackbuild or just use his precompiled packages available here.
install fontforge first http://connie.slackware.com/~alien/s...lds/fontforge/
Yeah that's what I want to do next time is Slackbuild but I think I need to get previous wine off my system or maybe mess up Slackbuild. But I not know where all wine files are and it look like "make uninstall" not work.
I think it the "which" command. I try this at command prompt:
`which wine 2>/dev/null`
And nothing happen. I think it return true. I think I try to figure out what "which" command does and maybe figure out where it finding previous wine installation?
What? So command is "wine 2" and then standard output redirected to /dev/null?
This make no sense. I have no wine anymore. I type "wine" or "wine 2" and computer say no such thing as wine. But ./tools/wineinstall script try that and it return true and it say I have previously installed wine.
Distribution: slackware64 13.37 and -current, Dragonfly BSD
Posts: 1,810
Rep:
The command is redirecting stderr (device 2) to the bit bucket (/dev/null). You can try just running "which wine" to see what which finds. It then checks if anything is returned from "wine --version". You can try running :
Code:
if [ -x `which wine 2>/dev/null` ] && [ -n "`wine --version 2>/dev/null`" ]; then echo Wine Installed;fi
to prove to yourself what's happening.
If you want to delve into this look up redirection. Here's a quick reference - just the first one I found.
If you are determined to run this script - why not just comment out the test and run it anyway? Just insert # at the start of each line between if and fi, This will force wine to build every time.
No, I don't want to run the script. I want to install the new wine slackbuild. But I want to completely remove old wine from my system. I don't understand why that script thinks I still have wine.
Apparently this tells the script that I have previous version of wine on my system:
if [ -x `which wine 2>/dev/null` ] && [ -n "`wine --version 2>/dev/null`" ];
But I don't understand that line so I don't know what to delete.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.