PDA

View Full Version : Problem during compiling Mesa demos



Rodnower
04-04-2010, 02:37 AM
Hello, I downloaded following RPM:
http://mirror.centos.org/centos/5.4/os/SRPMS/mesa-6.5.1-7.7.el5.src.rpm
and after extracting demos folder, try to compile with make command, but I get the following error:
Makefile:4: ../../configs/current: No such file or directory
make: *** No rule to make target `../../configs/current'. Stop.

Some one know what is wrong?

ZbuffeR
04-04-2010, 03:16 AM
Do something like ./configure before make ?

RTFM, but according to this, make alone should work. Probably less maintained than thge autoconf way :
http://www.mesa3d.org/install.html#unix-x11
http://www.mesa3d.org/autoconf.html

Rodnower
04-04-2010, 03:51 AM
Thank you for replay.
I follow the manual, and when I install libdrm package (after I successfully installer dri2proto), I get error:


intel_bufmgr_gem.c:1590: error: ‘drm_intel_bo_gem’ has no member named ‘reloc_target_bo’
make[3]: *** [intel_bufmgr_gem.lo] Error 1
make[3]: Leaving directory `/home/rodnower/Desktop/Mesa/libdrm-2.4.15/libdrm/intel'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/rodnower/Desktop/Mesa/libdrm-2.4.15/libdrm'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/home/rodnower/Desktop/Mesa/libdrm-2.4.15/libdrm'
make: *** [all-recursive] E)!


Do you know what this mean?

Rodnower
04-04-2010, 06:21 AM
Succeed!
I compiled Mesa-6.5 and demos together with it
Compiling libdrm-2.4.15 wasn't necessary