LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
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 04-05-2003, 12:49 AM   #1
IcoNyx
Member
 
Registered: Mar 2003
Location: Nevada
Distribution: Anything but Ubuntu... don't ask.
Posts: 145

Rep: Reputation: 15
Angry wine installation issues


I dont understand this blasted manuual!
what is the easiest way to install wine?
is there ANY self installers?
Why is it so complicated?
I am an exwindows user and if I find out I cant play my old win32 games I'll scrap linux for good!

1st, the manual referrs to a "tools/wineinstall" WHERE IS IT?!?
2nd, what should these lines in /etc/wine/wine.conf look like if I have the c: as /mnt/archive/:

;; Each section has the following format:
;; [Drive X]
;; "Path"="xxx" (Unix path for drive root)
;; "Type"="xxx" (supported types are 'floppy', 'hd', 'cdrom' and 'network')
;; "Label"="xxx" (drive label, at most 11 characters)
;; "Serial"="xxx" (serial number, 8 characters hexadecimal number)
;; "Filesystem"="xxx" (supported types are 'msdos'/'dos'/'fat', 'win95'/'vfat', 'unix')
 
Old 04-05-2003, 03:23 AM   #2
Electro
LQ Guru
 
Registered: Jan 2002
Posts: 6,042

Rep: Reputation: Disabled
The manual doesn't say anything about copying or installing the kernel source code.After you install or copy the kernel source code, open up the console and type su or login as root. Then type:
./configure --enable-opengl <<-- Before applying this option, make sure you have opengl installed
make
make install

In the first step you may need to provide an option that tells configure where the linux kernel is located (usually it is in /usr/src/linux-#######/).

There is documentation on how to setup wine. Half-life Linux How to for example has a good examples on different compile options.

After you have compiled and installed Wine, it has an example config file. Type man wine.conf at the console. It will tell the path to the example file.
 
Old 04-05-2003, 04:17 AM   #3
speedracer05
Member
 
Registered: Jul 2002
Location: San Diego
Distribution: RH 8
Posts: 33

Rep: Reputation: 15
If you are using the rpm's that shipped with redhat 8, I would uninstall them first, then install wine from source. To get rid of wine:

rpm -e wine-devel
rpm -e wine

Now follow these instructions:

Install Wine from source

Before you install Wine make sure there is no previous Wine installation on your system.
Many Linux distributions come with a Wine package, but this is usually a very old and sometimes broken version, so it is better to uninstall the old version and install a newer one.


Download:

You can download the latest WINE version here:
http://www.ibiblio.org/pub/Linux/ALPHA/wine/development

Installation
Extract the downloaded file: tar zxvf Wine-20030219.tar.gz
This will create a new directory, enter this directory.
Now type ./tools/wineinstall
Wine will now be installed

The configuration of WINE
in order to run Wine needs some files and directories.
First you must create a virtual ('fake') windows drive
The following directories mut exist in your $HOME directory:
.wine
.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

After this copy the following files from wine-20030219/documentation/samples to $HOME/.wine/Windows:
system.ini and win.ini
All applications will be installed on this fake Windows drive.

Wine also needs a configuration file. Copy the file config from wine-20030219/documentation/samples to $HOME/.wine.


The Wine configuration file

The config file is pretty self explanatory, just take a look at it. The only thing you probably have to change is the mountpoint of the cdrom drive.
You can get more information by typing man wine.conf

Wine should work for you now. If you have any other questions, checkout http://frankscorner.org/.
 
Old 04-05-2003, 12:52 PM   #4
IcoNyx
Member
 
Registered: Mar 2003
Location: Nevada
Distribution: Anything but Ubuntu... don't ask.
Posts: 145

Original Poster
Rep: Reputation: 15
Itried the above and in command line the responce to /tools/wineinstall is "no such file or directory", when I go into the tools directore and type wineinstall, the reply is command not found.
if I simply double click on the file in the GUI, it replys "couldnt find the program wineinstall

now what?
 
Old 04-05-2003, 05:35 PM   #5
speedracer05
Member
 
Registered: Jul 2002
Location: San Diego
Distribution: RH 8
Posts: 33

Rep: Reputation: 15
Did you download the source?

http://www.ibiblio.org/pub/Linux/ALPHA/wine/development

(Wine-20030318.tar.gz)

Now extract the file:

tar zxvf Wine-20030218.tar.gz

cd wine-20030218

now run ./tools/wineinstall (don't forget the "." - /tools/wineinstall won't work)

Follow the install instructions then test an .exe.
 
Old 04-05-2003, 07:16 PM   #6
IcoNyx
Member
 
Registered: Mar 2003
Location: Nevada
Distribution: Anything but Ubuntu... don't ask.
Posts: 145

Original Poster
Rep: Reputation: 15
Yeah I did get the source, BUT I also forgot the "." but it still did not work, it said something about could not find 20030318 or its dependancy, so I am backing up and will be reinstalling all My OSs tonight... thank god for imageing tools!

the main reason I want wine to work so bad is I am running multi OSs:

windows 98 (gameing)
windows 2k (data recovery software)
Windows XPhome (for the wife)
Windows XPpro (for lan parties)
Novel (for network imaging)

Linux could replace them all IF wine worked. I decided to go to linux because I am so tired of windows propritary issues and I (being Knee deep in Microsoft) am ready for some REAL stability. I just hope this is a user error and not a Linux glitch, if it is, I will forget the A+ certification, and move to MAC!
 
Old 04-05-2003, 08:50 PM   #7
speedracer05
Member
 
Registered: Jul 2002
Location: San Diego
Distribution: RH 8
Posts: 33

Rep: Reputation: 15
Not sure why you would have a dependancy issue, try chowning your wine directory:

chown -R youruser.youruser wine-20030218

cd wine-20030218

./tools/wineinstall

Using Wine will take a lot of time and effort. If you are having issues installing from source, you could try the codeweaver rpm:

http://www.codeweavers.com/technology/wine/download.php

I haven't tried it, but this may make your life a little easier.

They have a database for application compatibility with Wine:

http://appdb.codeweavers.com/

Also, in the future, when you get wine installed, you are going to need dll's - this URL will come in handy:

http://www.dll-files.com

Don't give up on linux yet, it just takes time.

Last edited by speedracer05; 04-06-2003 at 12:43 AM.
 
Old 04-06-2003, 09:21 AM   #8
mhearn
LQ Guru
 
Registered: Nov 2002
Location: Durham, England
Distribution: Fedora Core 4
Posts: 1,565

Rep: Reputation: 47
If you want to play games, buy WineX, that will set stuff up easily.

Wine is still alpha software. Many apps do not work completely correctly. However, if you still want to use it, eliminate all Wine RPMs from your system. Then checkout wine from cvs:

export CVSROOT=server:cvs@cvs.winehq.com:/home/wine
cvs login
(the password is "cvs")
cvs co wine
cd wine
./tools/wineinstall
(when it asks you if you want to reuse an existing windows install, say no, you want it to build you a fake windows drive)

notepad
(notepad should appear, or rather, our half-assed clone of it

Wine is now installed. Now try installing the programs using "wine setup.exe" or whatever. Most Direct3D games will not work. You have been warned - WineX is more reliable for D3D games.
 
  


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 installation; Can't find ~/.wine/config mrmcctt Linux - Software 5 10-11-2005 07:33 PM
WINE issues: configuration, installation, etc D10|\/|3|)3$ Linux - Software 5 01-24-2005 08:47 AM
Wine Issues rejeK Linux - Software 7 12-20-2004 04:41 PM
Issues with wine feuer Linux - Newbie 19 05-11-2004 04:30 PM
help me please (wine issues) crettis Linux - Newbie 3 10-16-2003 01:45 PM


All times are GMT -5. The time now is 02:14 AM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration