[Mesa-users] Build fails if I don't have bison and flex installed

Mladen Pejaković pejakm at gmail.com
Wed May 18 04:59:04 PDT 2011


Build fails if I don't have bison and flex installed, however, configure  
passes all checks:


[13:53:14] mladen at demon ~/Programi/PKGBUILDs/xorg/mesa-git
$ makepkg
==> Утврђујем последњу git ревизију...
   -> Нађена верзија: 20110518
==> Правим пакет: mesa 20110518-1 (сре, 18. мај 2011.  13:54:10 CEST)
==> Проверавам радне зависности...
==> Проверавам зависности градње...
==> Добављам изворе...
   -> Нађох LICENSE
==> Проверавам исправност фајлова извора путем md5sums...
     LICENSE ... Успех
==> Распакујем изворе...
==> Уклањам постојећу /pkg фасциклу...
==> Покрећем build()
==> Connecting to git.freedesktop.org GIT server....
Already up-to-date.
==> The local files are updated.
==> GIT checkout done or server timeout
==> Starting make...
==> Cleaning the previous build directory...
==> Creating temporary directory...
==> ...done!
==> Entering build directory...
==> Starting configure...
autoreconf: Entering directory `.'
autoreconf: configure.ac: not using Gettext
autoreconf: running: aclocal
/usr/share/aclocal/progsreiserfs.m4:13: warning: underquoted definition of  
AC_CHECK_LIBREISERFS
/usr/share/aclocal/progsreiserfs.m4:13:   run info '(automake)Extending  
aclocal'
/usr/share/aclocal/progsreiserfs.m4:13:   or see  
http://sources.redhat.com/automake/automake.html#Extending-aclocal
autoreconf: configure.ac: tracing
autoreconf: configure.ac: not using Libtool
autoreconf: running: /usr/bin/autoconf
autoreconf: configure.ac: not using Autoheader
autoreconf: configure.ac: not using Automake
autoreconf: Leaving directory `.'
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking how to run the C preprocessor... gcc -E
checking for gcc... (cached) gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to accept ISO C89... (cached) none needed
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking for gmake... no
checking for make... make
checking for python2... python2
checking for makedepend... /usr/bin/makedepend
checking for sed... /bin/sed
checking for a BSD-compatible install... /bin/install -c
checking if compiling with clang... no
checking whether gcc version is sufficient... yes
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking whether gcc supports -fvisibility=hidden... yes
checking whether g++ supports -fvisibility=hidden... yes
configure: WARNING: Floating-point textures enabled.
configure: WARNING: Please consult docs/patents.txt with your lawyer  
before building Mesa.
checking whether to enable assembly... yes, x86_64
checking for gcc option to produce PIC... -fPIC
checking for dlopen... no
checking for dlopen in -ldl... yes
checking for posix_memalign... yes
checking pkg-config files for X11 are available... yes
checking for X11... yes
checking for GLPROTO... yes
checking for LIBDRM... yes
checking for DRI2PROTO... yes
checking for XF86VIDMODE... yes
checking for DRIGL... yes
checking for LIBDRM_RADEON... yes
checking expat.h usability... yes
checking expat.h presence... yes
checking for expat.h... yes
checking for XML_ParserCreate in -lexpat... yes
checking for LIBUDEV... yes
checking for XCB_DRI2... yes
checking for xcb_dri2_connect_alignment_pad in -lxcb-dri2... no
checking for GLW... yes
checking for llvm-config... no
configure: creating ./config.status
config.status: creating configs/autoconf
config.status: executing configs commands

         prefix:          /usr
         exec_prefix:     ${prefix}
         libdir:          ${exec_prefix}/lib
         includedir:      ${prefix}/include

         OpenGL:          yes (ES1: yes ES2: yes)
         OpenVG:          no

         Driver:          dri
         OSMesa:          no
         DRI drivers:     r600
         DRI driver dir:  /usr/lib/xorg/modules/dri
         Use XCB:         yes
         Shared dricore:  yes

         GLU:             yes
         GLw:             yes (Motif: no)
         glut:            no

         EGL:             yes
         EGL platforms:   x11 drm
         EGL drivers:     builtin:egl_glx builtin:egl_dri2 egl_gallium
         EGL Gallium STs: $(GL_LIB)

         llvm:            no

         Gallium:         yes
         Gallium dirs:    auxiliary drivers state_trackers
         Target dirs:      egl dri-r600 dri-swrast
         Winsys dirs:     sw sw/xlib sw/dri i915/sw r600/drm
         Driver dirs:     softpipe failover galahad trace rbug noop  
identity svga i915 i965 r600
         Trackers dirs:   glx dri egl

         Shared libs:     yes
         Static libs:     no

         CFLAGS:          -march=k8 -O2 -pipe -Wall -Wmissing-prototypes  
-std=c99 -ffast-math -fno-strict-aliasing -fPIC
         CXXFLAGS:        -march=k8 -O2 -pipe -Wall -fno-strict-aliasing  
-fPIC
         Macros:          -D_GNU_SOURCE -DPTHREADS -DTEXTURE_FLOAT_ENABLED  
-DHAVE_POSIX_MEMALIGN -DUSE_XCB -DGLX_USE_TLS -DPTHREADS  
-DUSE_EXTERNAL_DXTN_LIB=1 -DIN_DRI_DRIVER -DGLX_DIRECT_RENDERING  
-DGLX_INDIRECT_RENDERING -DHAVE_ALIAS -DHAVE_XCB_DRI2 -DHAVE_LIBUDEV  
-DXCB_DRI2_CONNECT_DEVICE_NAME_BROKEN -DUSE_X86_64_ASM

         PYTHON2:         python2

         Run 'make' to build Mesa

Making sources for autoconf
running /usr/bin/makedepend
mklib: Making Linux shared library:  libglapi.so.0.0.0
mklib: Installing libglapi.so.0.0.0 libglapi.so.0 libglapi.so in  
../../../lib
running /usr/bin/makedepend
mklib: Making Linux static library:  libglapi.a
ar: creating libglapi.a
running /usr/bin/makedepend
mklib: Making Linux shared library:  libGLESv1_CM.so.1.1.0
mklib: Installing libGLESv1_CM.so.1.1.0 libGLESv1_CM.so.1 libGLESv1_CM.so  
in ../../../lib
running /usr/bin/makedepend
mklib: Making Linux shared library:  libGLESv2.so.2.0.0
mklib: Installing libGLESv2.so.2.0.0 libGLESv2.so.2 libGLESv2.so in  
../../../lib
make[2]: flex: Command not found
make[2]: flex: Command not found
/bin/sh: bison: command not found
/bin/sh: bison: command not found
make[2]: *** No rule to make target `depend', needed by `default'.  Stop.
make[1]: *** [subdirs] Error 1
make: *** [default] Error 1
==> ГРЕШКА: До грешке је дошло у build(),
     Одустајем...

Configuration options are as follows:

   ./autogen.sh --prefix=/usr \
   --with-dri-driverdir=/usr/lib/xorg/modules/dri \
   --with-dri-drivers=r600 \
   --enable-shared-dricore \
   --with-state-trackers=glx,dri,egl \
   --with-egl-platforms=x11,drm \
   --with-driver=dri \
   --enable-gles1 \
   --enable-gles2 \
   --enable-shared-glapi \
   --enable-texture-float \
   --enable-xcb \
   --enable-glx-tls \
   --enable-egl \
   --disable-glut \
   --disable-gallium-r300 \
   --enable-gallium-r600 \
   --enable-gallium-swrast \
   --enable-gallium-egl \
   --disable-gallium-llvm \
   --disable-gallium-nouveau

Arch system, 64 bit.


More information about the mesa-users mailing list