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.

darkleaf

02-19-2005 01:14 PM

And the error you're getting is because you don't have libwine installed. If you use apt all dependencies will be installed.

crapper

02-19-2005 01:59 PM

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 ??

darkleaf

02-19-2005 02:03 PM

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.

crapper

02-19-2005 02:36 PM

Thanks for the reply i checked the sources in the apt file and uncommented

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.

darkleaf

02-19-2005 03:08 PM

Be careful with that since it might break your system. Maybe if you run "apt-setup" it will have a list of those servers.

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.

crapper

02-19-2005 04:21 PM

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.

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.

crapper

02-19-2005 04:43 PM

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

Dead Parrot

02-19-2005 05:33 PM

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.

crapper

02-19-2005 06:06 PM

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.

crapper

02-19-2005 06:09 PM

Yes! it worked, thank you!

ps, you know anything about scanners lol

Dead Parrot

02-19-2005 06:52 PM

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.