Hello, I try to install Mesa When I do ./configure then it gives the error ./configure: line 4522: syntax error near unexpected token `[2.4.2]' ./configure: line 4522: `LT_PREREQ([2.4.2])' I checked goole, most of them said it's the problem of the version of my libtool So I updated the libtool to 2.4.2 (the lastest version) but it still gives the same problem.
This looks similar to https://bugs.freedesktop.org/show_bug.cgi?id=37117 (a bug for libdrm) but I don't know what the problem is.
Does this happen if you build from git or from release tarball?
git sha1: 1569b3e536da9337a28a16d0cc6ed07043bf094b To reproduce this "bug": mesa> ./autogen.sh ... src/egl/drivers/dri2/Makefile.am:37: error: Libtool library used but 'LIBTOOL' is undefined ... autoreconf: automake failed with exit status: 1 mesa> ./configure ... ./configure: line 5129: syntax error near unexpected token `2.2' ./configure: line 5129: `LT_PREREQ(2.2)' To fix this "bug" I commented these problematic lines and installed all required packages. To fix "autogen.sh" error I installed "Libtool": > git clean -xfd > ./autogen.sh > ./configure And everything works fine. Maybe is just an environment problem. Can you check if this solves your problem?
i got the same error messages on ubuntu 14.04. The solution for me was to install libtool package via apt.
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.