[Mesa-dev] configure: error: yacc not found - unable to compile glcpp-parse.y - Please advice

AssyaR assya.raskin at gmail.com
Sun Oct 28 02:01:03 PDT 2012


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.

Unfortunately, I got the following error when running the OGLESHelloAPI
ar at ubuntu:/opt/Imagination2/PowerVR/GraphicsSDK/SDK_3.0/Examples/Beginner/01_HelloAPI/OGLES/Build/Linux_x86_32/ReleaseRaw$
Error: eglChooseConfig() failed.

I have installed mesa-utils, but it doesn't solve the issue.
So, after seeing:

I have followed the advice in
http://ubuntuforums.org/showthread.php?t=1922549 and did:

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://anongit.freedesktop.org/git/mesa/mesa && git clone git://
anongit.freedesktop.org/git/mesa/vmwgfx && git clone git://
anongit.freedesktop.org/git/mesa/drm && git clone git://
anongit.freedesktop.org/git/xorg/driver/xf86-video-vmware && cd $TOP/drm &&
./autogen.sh --prefix=/usr --enable-vmwgfx-experimental-api
--libdir=/usr/lib64 && make && sudo make install && cd $TOP/mesa &&
--prefix=/usr --libdir=/usr/lib64 --with-gallium-drivers=svga
--with-dri-drivers= --enable-xa* && 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

I have followed this instructions step by step and fail at :
./autogen.sh --prefix=/usr --libdir=/usr/lib64 --with-gallium-drivers=svga
--with-dri-drivers= --enable-xa

The error:
checking for makedepend... /usr/bin/makedepend
checking for bison... no
checking for byacc... no
checking for yacc... no
*configure: error: yacc not found - unable to compile glcpp-parse.y*

Can you please advice regarding the resolution/workaround for this error?

Thank you,
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/mesa-dev/attachments/20121028/0c0fab41/attachment-0001.html>

More information about the mesa-dev mailing list