problem compiling wine 1.5.11

This forum is dedicated to advanced help and support :

Ask here your questions about advanced usage of Mageia. For example you may post here all your questions about network and automated installs, complex server configurations, kernel tuning, creating your own Mageia mirrors, and all tasks likely to be touchy even for skilled users.

problem compiling wine 1.5.11

Postby rifter » Aug 29th, '12, 19:32

I am on Mageia 2 64 bit with the latest updates. I need to get wine 1.5.11 going to be able to run some applications. It is present in cauldron, but installing those binaries would not be a good idea. So I have tried both compiling from source from winehq and from the cauldron srpm with no success.
Using
sudo urpmi --buildrequires /home/rifter/downloads/wine/source/srpm/wine-1.5.11-1.mga3.src.rpm
I get a complaint that it needs osmesa-devel which I cannot see in the release repository.
When I take the source from winehq and do the ./configure I am stuck currently on this error:
--
configure: error: X 32-bit development files not found. Wine will be built
without X support, which probably isn't what you want. You will need
to install 32-bit development packages of Xlib/Xfree86 at the very least.
Use the --without-x option if you really want this.
--
But I have lib64xorg-x11-devel and libxorg-x11-devel installed as well as the static versions, so I don't see why it is not finding them.
I did see this bug:
https://bugs.mageia.org/show_bug.cgi?id=5319
but I am not quite sure what they are getting at. It does turn out that the x11 libraries I mentioned depend on the freeglut ones for some reason.
any help with either method would be greatly appreciated. Thanks.
rifter
 
Posts: 15
Joined: Jul 9th, '11, 17:54

Re: problem compiling wine 1.5.11

Postby rifter » Aug 30th, '12, 05:07

I finally found that in cauldron there is a package that gives the right dependency osmesa-devel (or is supposed to):
mesa-8.1.0-0.git20120802.6.mga3.tainted.src.rpm
When I try to build it after installing the buildrequires I get:
"Requested 'libdrm_intel >= 2.4.37' but version of libdrm is 2.4.33"
I'm concerned that I am going to be breaking more stuff just going down this trail. The people in #mageia, rather than being able to tell me what package would give me the x11 development files so the above ./configure would work, suggested the srpm road and that's where it is leading.
Meanwhile, in reference to wine saying that I don't have the development files, I have the following in my packages:
Code: Select all
[rifter@localhost wine-1.5.11]$ rpm -qa | grep -Ei "x11|xorg" | grep -i devel
lib64x11_6-devel-1.4.99.1-4.mga2
lib64xorg-x11-devel-7.6-6.mga2
lib64x11_6-static-devel-1.4.99.1-4.mga2
x11-server-devel-1.11.4-2.mga2
libxorg-x11-static-devel-7.6-6.mga2
lib64xorg-x11-static-devel-7.6-6.mga2
x11-proto-devel-7.6-17.mga2
libxorg-x11-devel-7.6-6.mga2
x11-xtrans-devel-1.2.6-1.mga1
[rifter@localhost wine-1.5.11]$


I don't get why it is so much harder to find packages that give development headers on mageia, but it is, at least for me. If you can help me find teh right thing, I would appreciate it.
Last edited by doktor5000 on Aug 30th, '12, 22:02, edited 1 time in total.
Reason: added code tags, to improve on clarity
rifter
 
Posts: 15
Joined: Jul 9th, '11, 17:54

Re: problem compiling wine 1.5.11

Postby rifter » Aug 30th, '12, 05:19

okay I did
urpmq -y x11|grep devel | xargs sudo urpmi
and now I have the following:
Code: Select all
[rifter@localhost wine-1.5.11]$ rpm -qa | grep -Ei "x11|xorg" | grep -i devel
x11-driver-input-wacom-devel-0.13.0-1.mga2
lib64x11_6-devel-1.4.99.1-4.mga2
lib64xorg-x11-devel-7.6-6.mga2
x11-proto-devel-debug-7.6-17.mga2
libx11_6-devel-1.4.99.1-4.mga2
lib64x11_6-static-devel-1.4.99.1-4.mga2
x11-server-devel-1.11.4-2.mga2
libxorg-x11-static-devel-7.6-6.mga2
lib64xorg-x11-static-devel-7.6-6.mga2
x11-driver-input-synaptics-devel-1.5.0-4.mga2
x11-proto-devel-7.6-17.mga2
x11-xtrans-devel-debug-1.2.6-1.mga1
libxorg-x11-devel-7.6-6.mga2
libx11_6-static-devel-1.4.99.1-4.mga2
x11-xtrans-devel-1.2.6-1.mga1
x11-driver-input-evdev-devel-2.7.0-1.mga2
[rifter@localhost wine-1.5.11]$

now wine is no longer complaining about x11, it wants freetype dev files. Will update after trying that.
Last edited by doktor5000 on Aug 30th, '12, 22:02, edited 1 time in total.
Reason: added code tags, to improve on clarity
rifter
 
Posts: 15
Joined: Jul 9th, '11, 17:54

Re: problem compiling wine 1.5.11

Postby rifter » Aug 30th, '12, 05:48

installed
Code: Select all
[rifter@localhost wine-1.5.11]$ rpm -qa | grep -i freetype | grep -i devel
lib64freetype6-devel-2.4.9-1.mga2.tainted
libfreetype2-devel-1.3.1-40.mga2
lib64freetype6-static-devel-2.4.9-1.mga2.tainted
lib64freetype2-devel-1.3.1-40.mga2
[rifter@localhost wine-1.5.11]$

That didn't get me anywhere, so I am trying with
./configure --without-freetype
I am worried that will not work well because the fonts won't be built if I do that, but I can see no other freetype2 packages that can be installed.
I don't get this because I know 1.5.11 was compiled for cauldron.
Last edited by doktor5000 on Aug 30th, '12, 22:02, edited 1 time in total.
Reason: added code tags, to improve on clarity
rifter
 
Posts: 15
Joined: Jul 9th, '11, 17:54

Re: problem compiling wine 1.5.11

Postby rifter » Aug 30th, '12, 05:49

Code: Select all
configure: WARNING: prelink not found, base address of core dlls won't be set correctly.

configure: WARNING: libxrender 32-bit development files not found, XRender won't be supported.

configure: WARNING: No OpenGL library found on this system.
OpenGL and Direct3D won't be supported.

configure: WARNING: libxml2 32-bit development files not found (or too old), XML won't be supported.

configure: WARNING: libxslt 32-bit development files not found, xslt won't be supported.

configure: WARNING: OpenSSL 32-bit development files not found, SSL won't be supported.

configure: WARNING: libjpeg 32-bit development files not found, JPEG won't be supported.

configure: WARNING: libpng 32-bit development files not found, PNG won't be supported.

configure: WARNING: No sound system was found. Windows applications will be silent.


---
looks like I need some more files.
moving forward.
Last edited by doktor5000 on Aug 30th, '12, 22:03, edited 1 time in total.
Reason: added code tags, to improve on clarity
rifter
 
Posts: 15
Joined: Jul 9th, '11, 17:54

Re: problem compiling wine 1.5.11

Postby rifter » Aug 30th, '12, 05:51

actually I am missing more than that. this is the paste of what I am missing:
http://pastebin.com/et4vKCzR
rifter
 
Posts: 15
Joined: Jul 9th, '11, 17:54

Re: problem compiling wine 1.5.11

Postby rifter » Aug 30th, '12, 06:35

for some reason there seem to be no opengl packages available and that is one of the things I need. With no OpenGl, that's pretty much a show stopper. I guess I am going to have to wait until Mageia catches up.
Packages like Wine need to be on the latest versions. Otherwise they are not going to work right. Other distros understand this and deal with it.
I don't think I can wait till 2013 to get a working wine. It's sad because I really like Mageia and the performance I have gained from it.
rifter
 
Posts: 15
Joined: Jul 9th, '11, 17:54

Re: problem compiling wine 1.5.11

Postby rifter » Aug 30th, '12, 06:58

incidentally:
Code: Select all
[rifter@localhost ~]$ urpmq --list-media
Core Release (distrib1)
Core Release Debug (distrib2)
Core Updates (distrib3)
Core Updates Debug (distrib4)
Core Updates Testing (distrib5)
Core Updates Testing Debug (distrib6)
Core Backports (distrib7)
Core Backports Debug (distrib8)
Core Backports Testing (distrib9)
Core Backports Testing Debug (distrib10)
Nonfree Release (distrib11)
Nonfree Release Debug (distrib12)
Nonfree Updates (distrib13)
Nonfree Updates Debug (distrib14)
Nonfree Updates Testing (distrib15)
Nonfree Updates Testing Debug (distrib16)
Nonfree Backports (distrib17)
Nonfree Backports Debug (distrib18)
Nonfree Backports Testing (distrib19)
Nonfree Backports Testing Debug (distrib20)
Tainted Release (distrib21)
Tainted Release Debug (distrib22)
Tainted Updates (distrib23)
Tainted Updates Debug (distrib24)
Tainted Updates Testing (distrib25)
Tainted Updates Testing Debug (distrib26)
Tainted Backports (distrib27)
Tainted Backports Debug (distrib28)
Tainted Backports Testing (distrib29)
Tainted Backports Testing Debug (distrib30)
Core 32bit Release (distrib31)
Core 32bit Release Debug (distrib32)
Core 32bit Updates (distrib33)
Core 32bit Updates Debug (distrib34)
Core 32bit Updates Testing (distrib35)
Core 32bit Updates Testing Debug (distrib36)
Core 32bit Backports (distrib37)
Core 32bit Backports Debug (distrib38)
Core 32bit Backports Testing (distrib39)
Core 32bit Backports Testing Debug (distrib40)
[rifter@localhost ~]$
rifter
 
Posts: 15
Joined: Jul 9th, '11, 17:54

Re: problem compiling wine 1.5.11

Postby isadora » Aug 30th, '12, 07:08

Rifter, would you please be so kind to place terminal-output between code-tags, like i did for you in your last reply.
Thanks in advance and a good day!!! ;)
..........bird from paradise..........

Perfection is achieved, not when there is nothing more to add, but when there is nothing left to take away.
—Antoine de Saint-Exupéry
User avatar
isadora
 
Posts: 2763
Joined: Mar 25th, '11, 16:03
Location: Netherlands

Re: problem compiling wine 1.5.11

Postby tom_ » Aug 30th, '12, 10:41

rifter wrote:Packages like Wine need to be on the latest versions.


I agree!! This means you'd like to be the wine mantainer for mageia? :)

https://wiki.mageia.org/en/Becoming_a_Mageia_Packager
tom_
 
Posts: 423
Joined: Sep 3rd, '11, 12:26
Location: Porto Ercole, Italy

Re: problem compiling wine 1.5.11

Postby Ken-Bergen » Aug 30th, '12, 10:52

rifter wrote:incidentally:
Code: Select all
[rifter@localhost ~]$ urpmq --list-media
Which is meaningless, the out put of
Code: Select all
urpmq --list-media active
would be of more help.
Ken
Ken-Bergen
 
Posts: 1019
Joined: Mar 30th, '11, 02:45
Location: Chilliwack, BC, Canada

Re: problem compiling wine 1.5.11

Postby doktor5000 » Aug 30th, '12, 22:05

Just install the buildrequires for the Mageia 2 wine src.rpm via urpmi --buildrequires and continue from that. It's not that easy to compile the latest, as you have seen this would pull in newer versions of many libraries then there are for Mageia 2 available. So you would need to rebuild all of those from cauldron src.rpms beforehand and install them ...
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 18018
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany


Return to Advanced support

Who is online

Users browsing this forum: No registered users and 1 guest