LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices

Reply
 
Search this Thread
Old 02-19-2005, 12:10 PM   #1
crapper
Member
 
Registered: Jul 2004
Posts: 48

Rep: Reputation: 15
installing Wine


Newbie having trouble installing wine ?

Keep getting this error:

make[1]: *** [winetest/__install__] Error 2
make[1]: Leaving directory `/home/fat/wine/programs'
make: *** [programs/__install__] Error 2
root@fatboy:/home/fat/wine # wine
wine: error while loading shared libraries: libwine.so.1: cannot open shared object file: No such file or directory
root@fatboy:/home/fat/wine #

How do I fix this, what am I doing wrong !
 
Old 02-19-2005, 01:13 PM   #2
darkleaf
Senior Member
 
Registered: Jun 2004
Location: the Netherlands
Distribution: debian SID
Posts: 2,170

Rep: Reputation: 45
Why don't you use apt to install it, that's much easier.
"apt-get update"
"apt-get install wine winesetuptk"
Run winesetuptk and then you can use wine.
 
Old 02-19-2005, 01:14 PM   #3
darkleaf
Senior Member
 
Registered: Jun 2004
Location: the Netherlands
Distribution: debian SID
Posts: 2,170

Rep: Reputation: 45
And the error you're getting is because you don't have libwine installed. If you use apt all dependencies will be installed.
 
Old 02-19-2005, 01:59 PM   #4
crapper
Member
 
Registered: Jul 2004
Posts: 48

Original Poster
Rep: Reputation: 15
Thanks for the reply, just for to give you some more info im using Ubunto "Debian based"

Anyway i ran the update command and the wine one and i got the below.

root@fatboy:/home/fat # apt-get update
Reading Package Lists... Done
root@fatboy:/home/fat # apt-get install wine winesetuptk
Reading Package Lists... Done
Building Dependency Tree... Done
Package wine is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
E: Package wine has no installation candidate

Im guessing its not using the web to search the Debian package lists and is just reading from a index the system put on the HDD from install ??
 
Old 02-19-2005, 02:03 PM   #5
darkleaf
Senior Member
 
Registered: Jun 2004
Location: the Netherlands
Distribution: debian SID
Posts: 2,170

Rep: Reputation: 45
You can check if it's searching the web by viewing your /etc/apt/sources.list file. Could also be because ubuntu uses different names. Try "apt-cache search wine" and see if that helps.
 
Old 02-19-2005, 02:36 PM   #6
crapper
Member
 
Registered: Jul 2004
Posts: 48

Original Poster
Rep: Reputation: 15
Thanks for the reply i checked the sources in the apt file and uncommented

deb http://archive.ubuntu.com/ubuntu warty main restricted
deb-src http://archive.ubuntu.com/ubuntu warty main restricted

as it said within the file then ran update but it still wont show wine via the cache command or just apt-get install wine, do i need to add the official debian archive servers in there and if so what are the addresses.
 
Old 02-19-2005, 03:08 PM   #7
darkleaf
Senior Member
 
Registered: Jun 2004
Location: the Netherlands
Distribution: debian SID
Posts: 2,170

Rep: Reputation: 45
Be careful with that since it might break your system. Maybe if you run "apt-setup" it will have a list of those servers.
Quote:
#deb http://http.us.debian.org/debian stable main contrib non-free
deb http://http.us.debian.org/debian testing main contrib non-free deb http://http.us.debian.org/debian unstable main contrib non-free

deb http://security.debian.org/ woody/updates main contrib non-free
This are the debian servers I use most often.
 
Old 02-19-2005, 04:01 PM   #8
Dead Parrot
Senior Member
 
Registered: Mar 2004
Distribution: Debian GNU/kFreeBSD
Posts: 1,597

Rep: Reputation: 46
Try this instead:
Code:
deb http://archive.ubuntu.com/ubuntu warty main restricted universe multiverse
You can get lots of Debian packages for Ubuntu from "universe" and they mainly work OK, although they are not officially supported by Ubuntu developers. The bug reports for "universe" packages are sent straight to Debian maintainers from Ubuntu.
 
Old 02-19-2005, 04:21 PM   #9
crapper
Member
 
Registered: Jul 2004
Posts: 48

Original Poster
Rep: Reputation: 15
Those worked and now i have wine/winesetuptk installed, i ran the "wine" from a root console and it said i needed to do it from a normal user one but when i do i get the below.

wine: creating configuration directory '/home/fat/.wine'...
wine: could not exec wineserver
wine: wineprefixcreate failed while creating '/home/fat/.wine'.
 
Old 02-19-2005, 04:37 PM   #10
Dead Parrot
Senior Member
 
Registered: Mar 2004
Distribution: Debian GNU/kFreeBSD
Posts: 1,597

Rep: Reputation: 46
I don't have much experience on running wine but I think wine-utils is very much part of the wine package, so perhaps you should install that also. Then run "winesetup" as normal user to set up wine.
 
Old 02-19-2005, 04:43 PM   #11
crapper
Member
 
Registered: Jul 2004
Posts: 48

Original Poster
Rep: Reputation: 15
That worked i got wine to setup finaly but one error still exists when i type wine from a console

wine: could not exec wineserver
 
Old 02-19-2005, 05:33 PM   #12
Dead Parrot
Senior Member
 
Registered: Mar 2004
Distribution: Debian GNU/kFreeBSD
Posts: 1,597

Rep: Reputation: 46
As I said, I'm not very familiar with wine but, just out of the general interest, I installed wine to my Ubuntu (hoary, not warty) partition and there seems to be a file called "wineserver" in /usr/lib/wine/. It may be a bug that wine cannot find this file although it should. Well, you can try to fix this by symlinking "wineserver" to some directory in your path. For instance, you can try something this:
Code:
sudo ln -s /usr/lib/wine/wineserver /usr/bin
I haven't really tested this -- I first need to find some simple windows program I could install on Linux in order to test if my wine installation works.
 
Old 02-19-2005, 06:06 PM   #13
crapper
Member
 
Registered: Jul 2004
Posts: 48

Original Poster
Rep: Reputation: 15
Im planning to try it on WIn32 irc myself and i have used it though wine in the past just for a laugh, i will give the command you posted a try and let you know if it works or not.
 
Old 02-19-2005, 06:09 PM   #14
crapper
Member
 
Registered: Jul 2004
Posts: 48

Original Poster
Rep: Reputation: 15
Yes! it worked, thank you!

ps, you know anything about scanners lol
 
Old 02-19-2005, 06:52 PM   #15
Dead Parrot
Senior Member
 
Registered: Mar 2004
Distribution: Debian GNU/kFreeBSD
Posts: 1,597

Rep: Reputation: 46
Heh, heh. I downloaded some small Windows programs from this address: http://keir.net/software.html and they seem to work just fine on the Ubuntu & Wine setup. I managed to break my scanner about two years ago (that is, before I seriously switched from Windows to Linux) so I cannot help you there, pal.
 
  


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
Installing Wine ipodlinux Linux - Software 1 11-26-2005 04:24 AM
wine: installing win apps. using wine on mandrake10 dexmax Linux - Newbie 2 09-05-2005 04:40 PM
installing wine jdbloom Linux - Software 1 12-26-2004 03:11 PM
Installing Wine david_harvard Linux - Newbie 1 06-02-2004 11:37 PM
installing wine Nick5449 Linux - Newbie 3 06-28-2003 04:18 PM


All times are GMT -5. The time now is 08:33 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration