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

Andreas Boll andreas.boll.dev at gmail.com
Mon Oct 29 03:37:14 PDT 2012


2012/10/28 AssyaR <assya.raskin at gmail.com>:
> Hello,
>
> 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
> executable:
> ar at ubuntu:/opt/Imagination2/PowerVR/GraphicsSDK/SDK_3.0/Examples/Beginner/01_HelloAPI/OGLES/Build/Linux_x86_32/ReleaseRaw$
> ./OGLESHelloAPI
> Error: eglChooseConfig() failed.
>
> I have installed mesa-utils, but it doesn't solve the issue.
> So, after seeing:
> http://cgit.freedesktop.org/mesa/mesa/commit/?id=27915708ed4519cc5606e81fb789e8427501f355
>
> 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 &&
> ./autogen.sh --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?
>

You have to make sure that bison and flex are installed.
This should fix your build error:

sudo apt-get install bison flex

> Thank you,
> Assya.
>
> _______________________________________________
> mesa-dev mailing list
> mesa-dev at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/mesa-dev
>


More information about the mesa-dev mailing list