LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 03-22-2004, 01:14 AM   #1
Em3rald
LQ Newbie
 
Registered: Mar 2004
Distribution: Mandrake Community 10.0
Posts: 21

Rep: Reputation: 15
Angry How to get WINE to install and work???


Grr. I know Linux is supposed to be wonderful and all, but sometimes I want to bash my head against the wall. Here's the skinny on my setup:

Me = nearly total NewB
Distro = Mandrake Community 10.0
Machine = Athlon 1.33 w/ 256MB PC2100; hda = 20GB NTFS w/ Windows2K; hdb1 = 50GB NTFS (files only); hdb2 = 10GB Linux EX2

I downloaded the brand new WINE for Mandrake (RPM), and (oops) didn't follow instructions quite right - I double-clicked while in KDE (all installation procedures indicate going from console). Dunno if that's the source of the problem, but regardless I am in a pickle.

Problems:
1) Cannot RPM -e the original package. It says that it's not installed. Is this because I used KDE and double-clicked the RPM file?
1b) if I try to re-install it over itself, it says that the package is already installed.
2) Cannot find the wine-yyyymmdd/documentation/samples folder which contains the config file that I am supposed to edit.
3) When I try to run any programs (such as Notepad), while in console, it tells me all kinds of problems with the directory structure, and with the config file. I would just download a config file if I could find one, but I am not even totally convinced that this would solve my problem.

Goal:
To have a working version of WINE so that I can run a couple of programs which I used frequently in Windows. My ultimate goal is to enable Linux to be my complete computing solution so that I can remove EVERY LAST TINY BIT of Microsoft junk from my computer. I am tired of the recurring problems and security issues with Windows, but more than that I think the Microsoft business model is unethical. However, this is not the time for this debate (laugh). Suffice it to say that I want to become well-versed enough in Linux to make Windows useless.
 
Old 03-22-2004, 02:00 AM   #2
xgreen
Member
 
Registered: Aug 2003
Distribution: Slackware,Arch
Posts: 389

Rep: Reputation: 30
http://winehq.org/site/howto
 
Old 03-22-2004, 02:52 AM   #3
Em3rald
LQ Newbie
 
Registered: Mar 2004
Distribution: Mandrake Community 10.0
Posts: 21

Original Poster
Rep: Reputation: 15
{laugh} ... you think I didn't look there? Heh heh. I suppose I should have mentioned that I have indeed tried the installation method they outlined on that page, and that it has done nothing more than confound me further. As I mentioned before, I cannot find the wine-20040304/documentation/samples folder from which I am to copy the config file from.

Indeed, when I run Notepad as they outlined, it returns to me an error stating that the afore mentioned config file has not been correctly configured (go figure). As well, it indicates to me that the [/root/.wine] folder does not exist, and yet this folder is not mentioned at all in the 'how to'.

Thanks for the help, but I'm gonna need some more input. I am strongly considering scrapping this Linux installation and starting over on a reformatted drive. This time with a little foreknowledge.
 
Old 03-22-2004, 09:39 AM   #4
xgreen
Member
 
Registered: Aug 2003
Distribution: Slackware,Arch
Posts: 389

Rep: Reputation: 30
do you have these folder inside your home directory?

wine/c_drive
.wine/c_drive/Windows
.wine/c_drive/Windows/Fonts
.wine/c_drive/Windows/Start Menu/Programs
.wine/c_drive/Windows/System
.wine/c_drive/Windows/System32
.wine/c_drive/Windows/Temp
.wine/c_drive/Program Files
.wine/c_drive/Program Files/Common Files
 
Old 03-22-2004, 10:27 AM   #5
rocketman3245
LQ Newbie
 
Registered: Mar 2004
Distribution: kubuntu
Posts: 12

Rep: Reputation: 0
I had the same problem. How I uninstalled it was to dubble click on an older rpm of wine and it asked me if i want to uninstall the old one on my compute. I said yes and it installed the older vertion then went to rpm drake and removed it there.
 
Old 03-22-2004, 12:53 PM   #6
vr6stress
Member
 
Registered: Jan 2004
Location: Utah
Posts: 54

Rep: Reputation: 15
i ran into this same exact problem on mdk10

missing xmessage and didn't have the .wine stuff...


how do i overcome this?
 
Old 03-22-2004, 04:49 PM   #7
Em3rald
LQ Newbie
 
Registered: Mar 2004
Distribution: Mandrake Community 10.0
Posts: 21

Original Poster
Rep: Reputation: 15
Quote:
Originally posted by nazmin
do you have these folder inside your home directory?

wine/c_drive
.wine/c_drive/Windows
.wine/c_drive/Windows/Fonts
.wine/c_drive/Windows/Start Menu/Programs
.wine/c_drive/Windows/System
.wine/c_drive/Windows/System32
.wine/c_drive/Windows/Temp
.wine/c_drive/Program Files
.wine/c_drive/Program Files/Common Files
Of course! I did in fact follow the procedure outlined on the install page as indicated above. Hell, I went one step further! I created the same directories in [/root] on the off chance the above were supposed to be there. I went ANOTHER step after that, I created the folders 2 ways, one as nested, the other as just naming them exactly as above (the resulting folder names were identical, only they weren't nested).

Again, I believe the problem might be partially rooted (pardon the pun) in the fact that the config file does not exist, and I cannot find the folder in which it is to reside, as indicated on the afore mentioned how to page.

I think I am going to try someone elses method to install an older version, then uninstall.
 
Old 03-23-2004, 01:11 AM   #8
Em3rald
LQ Newbie
 
Registered: Mar 2004
Distribution: Mandrake Community 10.0
Posts: 21

Original Poster
Rep: Reputation: 15
Problem fixed! Here is the quick solution

Turns out it installed okay, just that it didn't create all the folders and files in the right places. Could be the fault of the RPM file with Mandrake Community 10.0

The solution:

A program called winesetuptk - a toolkit which very quickly and painlessly auto-configures WINE to run correctly under the existing configurations, whether a config file exists or not.

You can get it from ...

http://sourceforge.net/project/showf...?group_id=6241

the specific file link is ...

http://prdownloads.sourceforge.net/w...6.rpm?download

This RPM installs a program in your [./usr/bin] directory called wineconfigtk. Under KDE, just doubleclick it and get ready for instant gratification!!!
 
Old 03-23-2004, 08:47 AM   #9
vr6stress
Member
 
Registered: Jan 2004
Location: Utah
Posts: 54

Rep: Reputation: 15
let me ask this, i uninstalled wine, and installed from the a source (current) and everything went great, except for a little misunderstanding in the config file which i straighted out (yeah for a noob)...but now when i run notepad it just drops to the next line and does nothing....no errors or anything...

will this toolkit thing still work for me, or do i have some other problem?
 
Old 06-11-2004, 11:08 AM   #10
Avatar
Member
 
Registered: May 2001
Location: Canada
Distribution: old ones
Posts: 555

Rep: Reputation: 33
Same problem But I'm running Mandrake 9.2

I installed from the RPM. The ~/.wine directory (ies) were not created and I can't find the so-called "installation" directory (even the find command didn't find it.)

Where did the rpm put this directory. According to the installation instructions, I'm supposed to be using it.

thx

EDIT: also, since I dont' have a config file, I'm supposed to copy one from {wine installation directory}/documentation/samples/config but of course, I can't find it.

HELP!!!

Last edited by Avatar; 06-11-2004 at 11:52 AM.
 
Old 06-11-2004, 06:48 PM   #11
Jimbo99
Member
 
Registered: Nov 2003
Distribution: Ubuntu 7.04
Posts: 241

Rep: Reputation: 31
First, go out and install apt-get.

Second install Synaptic.

Third rebuild the rpm database

Fourth use Synaptic to uninstall it.

RPM sucks the big witches ti**y without some other tool managing what's happening. And I mean it sucks.
 
Old 06-11-2004, 06:49 PM   #12
Jimbo99
Member
 
Registered: Nov 2003
Distribution: Ubuntu 7.04
Posts: 241

Rep: Reputation: 31
At the terminal prompt in your home directory type

cd .wine
 
Old 06-14-2004, 02:47 PM   #13
Avatar
Member
 
Registered: May 2001
Location: Canada
Distribution: old ones
Posts: 555

Rep: Reputation: 33
Em3rald

With regards to your RPM package installing pains. This has nothing to do with wine, but I was in your shoes at one time and totally confounded on how my package was "not installed" and then "already installed" all the time. !!!!

To REMOVE a package, you have to type "rpm -e <packagename>" where <packagename> is the original name of the package minus the .i586.rpm part. Example if I installed a RPM called "OpenOffice.org-libs-1.1-0.rc4.2mdk.i586.rpm" then to remove it I type "rpm -e OpenOffice.org-libs-1.1-0.rc4.2mdk"

If you don't know the name of the original rpm file you can find the exact packagename like this (for above example)

"rpm -qa | grep OpenOffice" returns
OpenOffice.org-1.1-0.rc4.2mdk
OpenOffice.org-l10n-en-1.1-0.rc4.2mdk
OpenOffice.org-libs-1.1-0.rc4.2mdk

you type the whole package name. If you miss a part, you get the "Package "whatever" is not installed" error. Hope this helps.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Wine - Diablo II LOD TCP/IP doesn't work +where is my wine.conf brainlesspinkey Linux - Games 7 08-26-2007 08:10 AM
How does Wine work and how do I MAKE it work? TheMusicGuy Linux - Newbie 7 03-10-2004 07:16 PM
SuSE problems; Mouse doesn't work, Wine won't install, WM won't install... Konig Linux - Distributions 1 01-21-2004 11:05 PM
Wine doesn't work?? tricky_linux Linux - Software 3 11-02-2003 10:20 PM
How do I get WINE to work? kleptophobiac Slackware 1 08-07-2003 04:43 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 09:29 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration