Wine build errors in Slackware 11.0
I'm having difficulty installing Wine 0.9.28 from source.
So far I've found this info: On the slackware site, a quote from Current ChangeLog for Intel: Quote:
Quote:
that would end support for 2.4 kernels. I don't mind going to 2.6 kernels, but I'd rather not mess with glibc...does this mean no Wine? More accurately, no _new_ Wine? A quick web search indicates that there are segfaults on some packages as well. Any pointers? Thanks, --Lawrence |
Have you tried the Wine packages of Alien Bob?
It is 0.9.25, but you might be able to build 0.9.28 from his ./build directory. |
I didn't think that this was going to be a problem because we have NPTL and TLS. They just aren't directly in /lib.
Right? I'm interested to know more about this. I thought that as long as they are properly set up it doesn't really matter where they are. I know we have NPTL and TLS because if you ldd any binary it links to one of them. There must be something else going on? |
I didn't get any such output when I just now built it to test... Seems to be happy as a clam.. The only warning I got was with regards to a missing FontForge package after configure. After make, it just said "build complete."
try this to see if it get's rid of that error. Code:
LDFLAGS="-L/lib/tls" \ Try using the prefix option and leave out the LDFLAGS. That shouldn't have anything to do with it. Perhaps you were using configure without any arguements and because it was set for /usr/local, it didn't pick up on anything in /lib... Don't know. Just guessing. Builds and runs fine over here tho on Slack 11 |
Thanks for the wine pkg link. The package runs but with:
err:seh:raise_exception Unhandled exception code c0000005 flags 0 addr 0x6000c04b I should have looked a bit further... http://bugs.winehq.org/show_bug.cgi?id=6209 with a comment from 9/15/06 shows this same problem and lists the solution as a 2.6 kernel and 2.6 headders to build wine properly. But doesn't this seems a bit circular? If the wine version needs a glibc update, and I compile a 2.6 kernel with 2.6 headders insted of the 2.4 as in the distribution, using the shipped lower version of glibc instead...that sounds like I'd be right back where I started minus some time, but plus a 2.6 kernel. Interesting. It's possible the NPTL and TLS problem listed is local to wine..i.e. wine doesn't find them _unless_ the are in /lib. The idea of re-doing glibc is what motivated me to post. I'll hunt some more. And study Alien Bob's build script...but probably not till the day after Christmas...oh, by the way, Merry Christmas --Lawrence {edit} Just saw jong357's post..I'll try that thanks. |
I'm building on a 2.6.18.6 kernel with 2.6.18 kernel headers... Didn't think of that... :-) I can tell you it works fine going that route. One more program that needs updated progs to build... I'll be glad when the 2.4 stuff goes for good. For your guy's sake, not mine... :D
|
Hmmm..
I think it means that your glibc needs to be compiled with a 2.6 kernel. In which case you probably haven't installed the 2.6.17.13 headers from /extra. Glibc in Slackware 11 is compiled with both the 2.4 and 2.6 headers if you can believe it. So if you're running a 2.6 kernel it will use NPTL when necessary. If you're using the 2.4 kernel it will use TLS. I'm willing to bet you're having a problem because you don't have those 2.6.17.13 headers installed along with the 2.4 headers. EDIT: You'll have to be running a 2.6 kernel as well. EDIT2: I think this post was completely redundant and unnecessary now that I've read the thread a few times over. I won't delete it though just in case... but sorry if I'm just blowing wind... :) |
Sorry for the long delay in posting results of the suggestions
I was given. After some thought I decided to go to the 2.6 kernel sources for 2.6.19.1 and ALSA 1.0.14rc1 with Wine 0.9.28 Wine built without errors, and has run the apps I've tried on it. It appears glibc is not an issue with the two 2.6 kernels I tried. The Slack Distro package for 2.6.18 built Wine well, but I have an ALSA problem with my hardware that bumped me up to 2.6.19.1 and ALSA 1.0.14rc1:confused: Oh well, I'd have posted sooner but there was learning the 2.6 config and chasing an ethernet problem to get back online, and Christmas and New Year and a biological bug that put me in bed for a time---I think if I'd have had a dog he'd have chewed my keyboard like a leather bone.:) It's OT, but the app I wanted wine for is a musical notation editor called Mozart...and it runs fine but can't quite connect to ALSA yet...But even so, I'm really happy with the 2.6.19.1 Kernel, and my ethernet card's not throwing errors, and with the preempt kernel, jack X-runs are gone. All in all, for me, a useful exercise. Thanks again for the help. --Lawrence |
Hi!
Lawrence, I've just got the same thing. The same wine message... I'm quite 'newbie' with kernel. I've configured kernel many times but I'm afraid of the update from 2.4x to 2.6x. Please help me with detailed instructions, or a web page address where it is detailed. Thanks, Oliver |
Hi schrodingerscat,
The build requirements for Wine 0.9.28 from http://www.winehq.com/ include 2.6 kernel and headers. Note that jong357 had success with 2.6.18.6 kernel with 2.6.18 kernel headers. Ambition got the better of me. I downloaded the 2.6.19.1 sources from kernel.org. But to get sound, I had to enable sound in the kernel but *not* configure in alsa, Then after installing the new kernel, build alsa 1.0.14rc1 and install it. I needed a couple of build iterations and trips to the web to figure it out, but this combination worked for me. I think the module + other problems I had were because of my particular hardware and my personality...you should have a better time even with the 2.6.19.1 kernel. But presently, in this version you will need to do those alsa gyrations. If you can, keep it simple. Check out the stickies on the Slackware forum http://www.linuxquestions.org/questi...d.php?t=174447 and http://www.linuxquestions.org/questi...d.php?t=402003 and http://www.linuxquestions.org/questi...d.php?t=127095 Consider that the easiest way to get to 2.6.xx is to use the 2.6.17.13 kernel and headers pkgs in /extra that come with the distribution. These may work fine for you. I also note that The LAU list opinion seems to be that 2.6.18.xx is a good stable choice. If you decide against the pkgs, download a full source tree from kernel.org and pay attention to the issues in the links above. If you use the Slackware packages remember you must load the modules manually and that the install though simpler should be preceded by re-naming your /boot files and editing /sbin/lilo so you have a backup kernel, and possibly making an initrd(see the slack 11 release notes) Going much further on kernel building should be another thread..my real concern in posting here was glibc compatibility between the kernel versions, but I hope this helps. Frankly glibc is still on my mind, but the change logs say that the toolchain is being upgraded...so i'll wait and see... --Lawrence |
Just for the sake of clarity, this is what I am running:
Code:
mingdao@silas:~/kernel/linux-2.6.19$ cat .config Code:
mingdao@silas:~/kernel/linux-2.6.19$ ls -l /var/log/packages/alsa* Code:
mingdao@silas:~/kernel/linux-2.6.19$ cat /etc/slackware-version Code:
mingdao@silas:~/kernel/linux-2.6.19$ uname -a Might be your configurations. |
This alsa troubleshooting page describes my problem in the last entry at the bottom of the page.
http://alsa2.opensrc.org/TroubleShooting&redirect=noyep After configuring with the alsa module in the 2.6.19.1 source. Alsa throws this: alsamixer: function snd_ctl_open failed for default: No such device And, of course, no sound. |
What is your motherboard?
Soundchip? Code:
mingdao@silas:~$ /sbin/lspci | grep -i multimedia |
I found this shell script useful for gathering
data on my the sound setup http://alsa.opensrc.org/Aadebug As an example of its output here's my working configuration Quote:
I have invented some :) The chipsets are listed above. [edit2] Sorry, I forgot this: Quote:
built and installed manually from my software test directory not pkgs. /var/log/packages/alsa dosen't show them it shows the original set from 2.4.33.3 kernel & alsa 1.0.11 that I started with : Quote:
|
glibc 2.3.6
Edit in: 14:15, 22 February 2007.
Problem solved. Please delete this message. Thank you. |
All times are GMT -5. The time now is 07:04 PM. |