Launchpad has imported 10 comments from the remote bug at
http://bugs.winehq.org/show_bug.cgi?id=31904.

If you reply to an imported comment from within Launchpad, your comment
will be sent to the remote bug automatically. Read more about
Launchpad's inter-bugtracker facilities at
https://help.launchpad.net/InterBugTracking.

------------------------------------------------------------------------
On 2012-10-07T10:08:14+00:00 Olelukoie wrote:

When I run configure script for latest wine 1.5.x releases it always
reports that it can not find OSMesa but I have it installed correctly.

Looking for a solution I've found several versions of patch that fixes
this. For example this is the Gentoo version:

http://sources.gentoo.org/cgi-bin/viewvc.cgi/gentoo-x86/app-
emulation/wine/files/wine-1.5.10-osmesa-check.patch

and this is Fedora version:

http://pkgs.fedoraproject.org/cgit/wine.git/tree/wine-1.5.10-osmesa-
check.patch?h=f17

I've tested Fedora version of the patch and it works well for me (I'm
using mageia linux).

Reply at:
https://bugs.launchpad.net/ubuntu/+source/mesa/+bug/1066599/comments/0

------------------------------------------------------------------------
On 2012-10-07T10:49:27+00:00 Hverbeet wrote:

No. If OSMesa built with shared glapi depends on libGL, it's broken.
This is supposed to be fixed in current versions of Mesa. (See also
http://lists.freedesktop.org/archives/mesa-
dev/2012-September/028019.html)

Reply at:
https://bugs.launchpad.net/ubuntu/+source/mesa/+bug/1066599/comments/1

------------------------------------------------------------------------
On 2012-10-07T14:39:07+00:00 Olelukoie wrote:

I insist on fixing this issue in wine's configure as it's needed for
building (backporting) current wine devel versions (1.5.x) on current
stable linux distributions that ship mesa 8.0.

And please notice that there are two different problems:
- test for glAccum that is not part of OSmesa library (it is much better to 
test for something that belongs to OSmesa and is not part of the OpenGL 
standard);
- possible requirement of glapi library to correctly link (if glapi is a shared 
library then it should be explicitly used in link commands as the current linux 
distro policies are to get rid of *.la files completely).

Reply at:
https://bugs.launchpad.net/ubuntu/+source/mesa/+bug/1066599/comments/2

------------------------------------------------------------------------
On 2012-10-07T14:45:45+00:00 Hverbeet wrote:

This can't be fixed in Wine, configure fails because OSMesa is *broken*.
You say you tested those patches, but I doubt you actually have an
application that uses the functionality in question.

Reply at:
https://bugs.launchpad.net/ubuntu/+source/mesa/+bug/1066599/comments/3

------------------------------------------------------------------------
On 2012-10-07T15:07:25+00:00 Gyebro69 wrote:

(In reply to comment #3)
> You say you tested those patches, but I doubt you actually have an 
> application that
> uses the functionality in question.

It seems at least Civilization III: Complete (Steam version) tries to make some 
use of it. Wine prints the following error when the game is loading to the main 
menu. This is with Wine compiled without OSMesa support:
>err:dib:dibdrv_wine_get_wgl_driver OSMesa not compiled in, no OpenGL bitmap 
>support

I tried the Fedora version of the patch, but it didn't make it better. The 
error message changed to
>err:dib:init_opengl Failed to load OSMesa: /lib/libOSMesa.so.8: undefined 
>symbol: _glapi_Dispatch
when Wine was compiled with that patch.

Reply at:
https://bugs.launchpad.net/ubuntu/+source/mesa/+bug/1066599/comments/4

------------------------------------------------------------------------
On 2012-10-07T15:10:30+00:00 Olelukoie wrote:

The only "app" (really game) that I can test is Civilization 3 (see
http://bugs.winehq.org/show_bug.cgi?id=30669 ). I've tested it on openSUSE 12.1
with mesa 8 and latest wine builds and it works if I install osmesa package.

If you wish I can test it once again on my current installation of Mageia 2
(that ships mesa 8 too) and my own builds of current wine git snapshots and
report the results.

Reply at:
https://bugs.launchpad.net/ubuntu/+source/mesa/+bug/1066599/comments/5

------------------------------------------------------------------------
On 2012-10-07T15:19:24+00:00 Olelukoie wrote:

Oh sorry, openSUSE 12.1 comes with even older mesa 7 and it also
provides osmesa and it is required for Civ3.

Reply at:
https://bugs.launchpad.net/ubuntu/+source/mesa/+bug/1066599/comments/6

------------------------------------------------------------------------
On 2012-10-07T17:55:57+00:00 Olelukoie wrote:

Well... I've made some more testing and found that libosmesa is not
really needed for Civ3 to work. At least it's not needed with current
wine 1.5.14+.

So if you do not want to change the configure script you can close this
bug with any resolution you like.

Reply at:
https://bugs.launchpad.net/ubuntu/+source/mesa/+bug/1066599/comments/7

------------------------------------------------------------------------
On 2012-10-08T08:53:24+00:00 Alexandre Julliard wrote:

The configure script is correct, we can't use shared glapi OSMesa.

Reply at:
https://bugs.launchpad.net/ubuntu/+source/mesa/+bug/1066599/comments/8

------------------------------------------------------------------------
On 2012-10-09T17:56:11+00:00 Austin English wrote:

(In reply to comment #1)
> No. If OSMesa built with shared glapi depends on libGL, it's broken. This is
> supposed to be fixed in current versions of Mesa. (See also
> http://lists.freedesktop.org/archives/mesa-dev/2012-September/028019.html)

UPSTREAM then.

Reply at:
https://bugs.launchpad.net/ubuntu/+source/mesa/+bug/1066599/comments/9


** Changed in: wine
       Status: Unknown => Won't Fix

** Changed in: wine
   Importance: Unknown => Medium

** Bug watch added: Wine Bugzilla #30669
   http://bugs.winehq.org/show_bug.cgi?id=30669

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1066599

Title:
  Wine is unable to detect OSMesa correctly when compiling from source

To manage notifications about this bug go to:
https://bugs.launchpad.net/mesa/+bug/1066599/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to