WineHQ
Wine Forums

Board index » WineHQ » Wine Help » Linux




 Page 1 of 1 [ 7 posts ] 



 
Author Message
 Post Posted: Wed Nov 21, 2012 7:38 am 
Offline
Newbie
Newbie

Joined: Fri Jan 06, 2012 5:11 am
Posts: 4
I'm having a problem compiling Wine 64-bit. I'm using wine 1.5.17 source code from git. I'm running
Code:
./configure --enable-win64
and I keep getting this error at the end:
Code:
configure: libOSMesa development files not found (or too old), OpenGL rendering in bitmaps won't be supported.

This didn't use to appear before. I don't know what has changed on my system. I have libosmesa6-dev installed.
Looking through config.log, this shows up:
Code:
configure:9041: checking for -lOSMesa
configure:9066: gcc -o conftest -g -O2    conftest.c -lOSMesa   -lSM -lICE -lXext -lX11 -lm   >&5
/tmp/ccZhfkZe.o: In function `main':
/home/aidfarh/wine_git_build/64_new/conftest.c:172: undefined reference to `glAccum'
collect2: error: ld returned 1 exit status

Full config.log is attached

My system spec:
CPU/GPU: AMD A6-3500 with Radeon HD 6530D
OS: Kubuntu 12.10 64-bit

Any help will be appreciated. Please tell me if you need further info. Thanks in advanced.


Attachments:
File comment: config.log
config.log.zip [43.96 KiB]
Downloaded 75 times
Top 
 Post Posted: Wed Mar 06, 2013 3:00 pm 
Offline
Level 1
Level 1

Joined: Wed Mar 06, 2013 2:57 pm
Posts: 5
same error when trying to build 32 bit wine using chroot method on ubuntu 12.10 (wine trunk, latest release 1.5.25).
help from wine devs would be really appreciated. ubuntu is one of the most popular distros, wine not compiling on it is rather disappointing.


Top 
 Post Posted: Wed Mar 06, 2013 4:16 pm 
Offline
Moderator
Moderator
User avatar

Joined: Tue Mar 25, 2008 10:30 pm
Posts: 11381
Make sure you have the 32 bit libOSMesa development files installed. If you do, and Wine still can't find it, check the configure log to see where Wine is looking for it--you may have to make a symlink.


Top 
 Post Posted: Thu Mar 07, 2013 4:22 am 
Offline
Level 1
Level 1

Joined: Wed Mar 06, 2013 2:57 pm
Posts: 5
its all there, everything installed and in proper places.

yesterday after digging little deeper (like config.log duh!) i found error about missing glAccum symbol in libosmesa test. i checked libosmesa.so for exported symbol and surely it is not there. some more reading made me think that libosmesa used to contain glAccum but later it was split from libGL or something like that. dont remember any more what made me think that.. so i did nasty hack in configure script to make it compile.
replaced:
Code:
LIBS="-lOSMesa $X_LIBS $X_PRE_LIBS $XLIB -lm $X_EXTRA_LIBS $LIBS"

with:
Code:
LIBS="-lOSMesa -lGLU -lGL $X_LIBS $X_PRE_LIBS $XLIB -lm $X_EXTRA_LIBS $LIBS"

before first instance of:
Code:
if test "x$ac_cv_lib_soname_OSMesa" = "x"; then :

inserted:
Code:
ac_cv_lib_soname_OSMesa=libOSMesa.so


no idea why script failed to pick up libOSMesa.so name, but it was a new error after linking with gl libs. after that project could be compiled. i am not sure this solution is correct either, someone who knows more about these things should verify.


Top 
 Post Posted: Wed May 22, 2013 7:53 am 
Offline
Newbie
Newbie

Joined: Fri Nov 09, 2012 5:09 am
Posts: 3
rndbit, thank you. That helps me. But is it good way to solve problem? Where is wine developers answer? -_-


Top 
 Post Posted: Wed May 22, 2013 7:54 am 
Offline
Newbie
Newbie

Joined: Fri Nov 09, 2012 5:09 am
Posts: 3
Hmmm...where is my post?


Top 
 Post Posted: Tue Jun 11, 2013 7:02 am 
Offline
Level 1
Level 1

Joined: Tue Feb 14, 2012 5:45 am
Posts: 7
Hmm, something new in this topic? Is a correct way to compile current version of wine?

I read that mesa can't be built with shared glapi option.


Top 
Display posts from previous:  Sort by  
 
 Page 1 of 1 [ 7 posts ] 




Board index » WineHQ » Wine Help » Linux


Who is online

Users browsing this forum: No registered users and 8 guests

 
 

 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to: