<div dir="ltr">Hello,<div><br><div>I am trying to install MESA on VMware player running Ubuntu 10.04_32bit, as I want to run Imagination POWERVR SDK- OGLES demo's binaries on it.</div><div><br></div><div>Unfortunately, I got the following error when running the OGLESHelloAPI executable:</div>
<div><div>ar@ubuntu:/opt/Imagination2/PowerVR/GraphicsSDK/SDK_3.0/Examples/Beginner/01_HelloAPI/OGLES/Build/Linux_x86_32/ReleaseRaw$ ./OGLESHelloAPI </div><div>Error: eglChooseConfig() failed.</div></div><div><br></div><div>
I have installed mesa-utils, but it doesn't solve the issue.</div><div>So, after seeing: <a href="http://cgit.freedesktop.org/mesa/mesa/commit/?id=27915708ed4519cc5606e81fb789e8427501f355">http://cgit.freedesktop.org/mesa/mesa/commit/?id=27915708ed4519cc5606e81fb789e8427501f355</a></div>
<div><br></div><div>I have followed the advice in <a href="http://ubuntuforums.org/showthread.php?t=1922549">http://ubuntuforums.org/showthread.php?t=1922549</a> and did:</div><div><br></div><div>cd && mkdir vmware && sudo apt-get install git-core
automake libtool libpthread-stubs0-dev xserver-xorg-dev
x11proto-xinerama-dev && sudo apt-get build-dep libgl1-mesa-dri
libxcb-glx0-dev && export TOP=$PWD && git clone
git://<a href="http://anongit.freedesktop.org/git/mesa/mesa">anongit.freedesktop.org/git/mesa/mesa</a> && git clone
git://<a href="http://anongit.freedesktop.org/git/mesa/vmwgfx">anongit.freedesktop.org/git/mesa/vmwgfx</a> && git clone
git://<a href="http://anongit.freedesktop.org/git/mesa/drm">anongit.freedesktop.org/git/mesa/drm</a> && git clone
git://<a href="http://anongit.freedesktop.org/git/xorg/driver/xf86-video-vmware">anongit.freedesktop.org/git/xorg/driver/xf86-video-vmware</a>
&& cd $TOP/drm && ./autogen.sh --prefix=/usr
--enable-vmwgfx-experimental-api --libdir=/usr/lib64 && make
&& sudo make install && cd $TOP/mesa &&
<b>./autogen.sh --prefix=/usr --libdir=/usr/lib64
--with-gallium-drivers=svga --with-dri-drivers= --enable-xa</b> &&
make && sudo make install && cd $TOP/xf86-video-vmware
&& ./autogen.sh --prefix=/usr --libdir=/usr/lib64 &&
make && sudo make install && sudo rm /lib/modules/`uname
-r`/kernel/drivers/gpu/drm/vmwgfx.ko* && cd $TOP/vmwgfx
&& make && sudo make install && sudo cp
00-vmwgfx.rules /etc/udev/rules.d && sudo depmod -a &&
sudo modprobe vmwgfx</div><div><br></div><div>I have followed this instructions step by step and fail at :</div><div>./autogen.sh --prefix=/usr --libdir=/usr/lib64 --with-gallium-drivers=svga --with-dri-drivers= --enable-xa</div>
<div><br></div><div>The error:</div><div><div>checking for makedepend... /usr/bin/makedepend</div><div>checking for bison... no</div><div>checking for byacc... no</div><div>checking for yacc... no</div><div><b>configure: error: yacc not found - unable to compile glcpp-parse.y</b></div>
</div><div><br></div><div>Can you please advice regarding the resolution/workaround for this error?</div></div><div><br></div><div>Thank you,</div><div>Assya.</div></div>