LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (http://www.linuxquestions.org/questions/linux-software-2/)
-   -   WINE 1.1.3 (Installation assistance requested) (http://www.linuxquestions.org/questions/linux-software-2/wine-1-1-3-installation-assistance-requested-667372/)

SKUTR14 09-03-2008 03:37 PM

WINE 1.1.3 (Installation assistance requested)
 
Alright, so something just hit me and I think it's been my problem this whole time. Wine 1.1.3 when I install it from winehq comes as just a bunch of files and folders. I assume this means that when they mean an unstable form of wine, they mean a version that you can't just install and start using it there. I assume that I have to compile it and set it all up manually. So, if anyone could provide me with help with this, here's how far I've gotten.

I'm on a user, no versions of wine have been installed on this one (I'm on a different user than my previous thing and for some reason wine only installed to one user) and I have the folder for wine 1.1.3 open. I'm still running it out of my downloads box for firefox (I haven't extracted the files to anywhere yet) and I'm running Fedora 9.

rabbit2345 09-03-2008 06:52 PM

if you're running fedora, then you can just get an rpm package for wine. i think that you downloaded the source code for wine instead of a pre-compiled package. pre-compiled packages are more convenient, and it works just like the source code install.

on the fedora website, it says that you can just run the command:

Code:

yum install wine
to install.

as i don't use fedora, i can't really test this for you, but a suse rpm should work just as well.

just a side note, if you can only find a debian package, you can convert it with alien:

Code:

yum install alien
(i guess)

there are some on the Internet too, but that should be the simplest way.

good luck,
rabbit2345 ^_^

oskar 09-03-2008 07:13 PM

If you want the latest version, and it is not provided by the repository, then get the rpm from winehq. I suggest you use the one in the repos though.
Applications-Add/Remove - search for wine, mark "install", click "apply"

SKUTR14 09-03-2008 08:52 PM

The only problem with using the command line is that it installs 1.0. World of Warcraft, from what I understand, only runs with 1.1.3 (wine) when it's upgraded to 2.4.3 (WoW). And, same goes for the repositories, I can't find one to install 1.1.3. If I did get the one from source code, which now that you've brought it up I think I did. Can anyone link me to step-by-step instructions to get it up into an optimal running situation for WoW? It would be very much appreciated.

{BBI}Nexus{BBI} 09-03-2008 09:02 PM

Extract the files, then enter the created folder (via commandline) then type: ./configure if that completes successfully type: make again if that is successfull switch to root and type: make install.

i92guboj 09-03-2008 09:13 PM

Quote:

Originally Posted by {BBI}Nexus{BBI} (Post 3268964)
Extract the files, then enter the created folder (via commandline) then type: ./configure if that completes successfully type: make again if that is successfull switch to root and type: make install.

Note that this will fill your whole system with files that will be completely unmanaged by your package manager, and can lead to problems due to path confussion, precedence, etc. etc. etc.

If you are going to do this, first uninstall any previously installed version of wine, and be sure to save your wine source dir, because when you install from source the only reliable way to uninstall most times is to save this tree so you can do this at a later stage:

Code:

make uninstall
I agree that the best way would be to use the rpm provided in the wine download site. But if you really need to update right now and there's no rpm then you are going to have to compile. You will probably need to install gcc and a bunch of devel packages, since most binary distros do not install these by default.

SKUTR14 09-04-2008 04:19 PM

Yeah, I can't find a gcc install. Could someone provide a link to a good gcc install? Please and thank you.

SKUTR14 09-04-2008 06:59 PM

Okay, check this ending thing I'm getting on the compiling stage of wine.

make[2]: Entering directory `/home/Salec/wine-1.1.3/dlls/user32/tests'
../../../tools/winegcc/winegcc -B../../../tools/winebuild -mconsole broadcast.o class.o clipboard.o combo.o cursoricon.o dce.o dde.o dialog.o edit.o generated.o input.o listbox.o menu.o monitor.o msg.o resource.o scroll.o static.o sysparams.o text.o win.o winstation.o wsprintf.o testlist.o resource.res -o user32_test.exe.so ../../../libs/port/libwine_port.a -luser32 -lgdi32 -ladvapi32 -lkernel32
menu.o: In function `WndProc':
/home/Salec/wine-1.1.3/dlls/user32/tests/menu.c:1772: undefined reference to `bMenuVisible'
/usr/bin/ld: menu.o: relocation R_386_GOTOFF against undefined symbol `bMenuVisible' can not be used when making a shared object
/usr/bin/ld: final link failed: Bad value
collect2: ld returned 1 exit status
winegcc: gcc failed
make[2]: *** [user32_test.exe.so] Error 2
make[2]: Leaving directory `/home/Salec/wine-1.1.3/dlls/user32/tests'
make[1]: *** [user32/tests] Error 2
make[1]: Leaving directory `/home/Salec/wine-1.1.3/dlls'
make: *** [dlls] Error 2

Anybody have any idea what to make of this? I went up to the last entry into a directory.

SKUTR14 09-04-2008 07:00 PM

Code:

make[2]: Entering directory `/home/Salec/wine-1.1.3/dlls/user32/tests'
../../../tools/winegcc/winegcc -B../../../tools/winebuild -mconsole  broadcast.o class.o clipboard.o combo.o cursoricon.o dce.o dde.o dialog.o edit.o generated.o input.o listbox.o menu.o monitor.o msg.o resource.o scroll.o static.o sysparams.o text.o win.o winstation.o wsprintf.o    testlist.o resource.res -o user32_test.exe.so ../../../libs/port/libwine_port.a -luser32 -lgdi32 -ladvapi32 -lkernel32 
menu.o: In function `WndProc':
/home/Salec/wine-1.1.3/dlls/user32/tests/menu.c:1772: undefined reference to `bMenuVisible'
/usr/bin/ld: menu.o: relocation R_386_GOTOFF against undefined symbol `bMenuVisible' can not be used when making a shared object
/usr/bin/ld: final link failed: Bad value
collect2: ld returned 1 exit status
winegcc: gcc failed
make[2]: *** [user32_test.exe.so] Error 2
make[2]: Leaving directory `/home/Salec/wine-1.1.3/dlls/user32/tests'
make[1]: *** [user32/tests] Error 2
make[1]: Leaving directory `/home/Salec/wine-1.1.3/dlls'
make: *** [dlls] Error 2

Sorry about the double... triple post. I just wanted to make it a little cleaner by doing the code box.

leedude 09-04-2008 07:45 PM

when i installed it, i got weird errors, some even segfaults of GCC.

fedora's stack limit is too small so you need to run:
Code:

ulimit -s unlimited
build is detailed here:
http://wiki.winehq.org/WineOn64bit#h...6d511bfcc2733e
I know it says it's for 64-bit, but it's quite generic.

also, Im having some WoW probs(random lockups) on my Fedora 9 Laptop. let me know how you get on.(it happens in 1.0 and 1.1.3 for me)

Ive got WoW running perfectly on my Fedora 7 desktop straight out of the box with no tinkering and using wine 1.0. weeeeeeeird.

useful:
http://forums.fedoraforum.org/forum/...d.php?t=169544
especially about the registry changes.


Lee.

oskar 09-05-2008 03:06 AM

Why!
Why when a new users asks how to install a .tar.gz file, and there is absolutely no indication that he really
wants to compile from source... why do you guys always guide them through the compiling process rather than telling
them to install it from the repos!


Maybe I missed a point here. For some reason I have to vertically scroll to alaska to read the posts around here.
So if there is no particular reason why you want to compile from source (I can't think of any) - then please follow
either rabbits or my post to install wine.

Also include line-breaks in your next post. (not your fault... the bbs messed something up here)

{BBI}Nexus{BBI} 09-05-2008 09:10 AM

Quote:

Originally Posted by oskar (Post 3270318)
Why!
Why when a new users asks how to install a .tar.gz file, and there is absolutely no indication that he really
wants to compile from source... why do you guys always guide them through the compiling process rather than telling
them to install it from the repos!

First off the user has been told by at least two people to use the repos (you being one of them), he has stated that the version in the repos is not the one he wants.

Secondly he can only use the version he wants by compiling and installing it, what do you suggest he do instead?


Quote:

Maybe I missed a point here.
Do you think!

Quote:

So if there is no particular reason why you want to compile from source (I can't think of any) - then please follow
either rabbits or my post to install wine.
You don't need to think of any particular reason it's not you who needs the assisstance.

I suggest you re-read the entire thread before lashing out.

SKUTR14 09-05-2008 05:39 PM

So... ran all those actions in terminal and when I got to running <CODE> make depend && make <CODE/> it gave me a fail reading.

Here's the error message

<CODE> /home/Salec/wine-1.1.3/dlls/user32/tests/menu.c:1772: undefined reference to `bMenuVisible'
/usr/bin/ld: menu.o: relocation R_386_GOTOFF against undefined symbol `bMenuVisible' can not be used when making a shared object
/usr/bin/ld: final link failed: Bad value
collect2: ld returned 1 exit status
winegcc: gcc failed
make[2]: *** [user32_test.exe.so] Error 2
make[2]: Leaving directory `/home/Salec/wine-1.1.3/dlls/user32/tests'
make[1]: *** [user32/tests] Error 2
make[1]: Leaving directory `/home/Salec/wine-1.1.3/dlls'
make: *** [dlls] Error 2 <CODE/>

Anybody care to decipher and/or offer a solution?

oskar 09-06-2008 01:16 AM

Wine has always worked very well with WOW. If there's a problem with the latest update, then don't install the latest update.

Alternatively, get a precompiled version or an src.rpm.

http://rpm.pbone.net/index.php3/stat....i586.rpm.html

leedude 09-06-2008 06:15 AM

Quote:

So... ran all those actions in terminal and when I got to running <CODE> make depend && make <CODE/> it gave me a fail reading.

Here's the error message

<CODE> /home/Salec/wine-1.1.3/dlls/user32/tests/menu.c:1772: undefined reference to `bMenuVisible'
/usr/bin/ld: menu.o: relocation R_386_GOTOFF against undefined symbol `bMenuVisible' can not be used when making a shared object
/usr/bin/ld: final link failed: Bad value
collect2: ld returned 1 exit status
winegcc: gcc failed
make[2]: *** [user32_test.exe.so] Error 2
make[2]: Leaving directory `/home/Salec/wine-1.1.3/dlls/user32/tests'
make[1]: *** [user32/tests] Error 2
make[1]: Leaving directory `/home/Salec/wine-1.1.3/dlls'
make: *** [dlls] Error 2 <CODE/>

Anybody care to decipher and/or offer a solution?
that's because some files are incomplete due to the error, and the make program doesn't know this.
after the ulimit command, you need completely re-make it:
do "make clean" to remove the stuff that's already compiled
and then "make depend && make".

this is exactly what happened to me.

Quote:

Wine has always worked very well with WOW. If there's a problem with the latest update, then don't install the latest update.
im dont think it's the latest update that caused mine not to work, it's probably more to do with the 'experimental' intel driver. im having other problems with non-wine things also, like bzflag not starting at all.
it's weird, cos armagetron(armacycles) advanced works fine. DRI is enabled. hmm....


All times are GMT -5. The time now is 05:41 PM.