[Mesa-dev] Problem building current git with osmesa and no gallium
kenneth at whitecape.org
Thu Mar 10 16:34:28 PST 2011
On Thursday, March 10, 2011 01:17:04 PM Alexander Neundorf wrote:
> I'm trying to build current git mesa with under Linux, 32bit, gcc 4.2.3
> with the following configure-call:
> ./configure --with-driver=osmesa --enable-static --disable-gallium
> --disable-egl --disable-glu
> This runs, but then the build fails:
> hammer:~/src/packages/Mesa-git$ make
> make: Entering directory `/home/alex/src/packages/Mesa-git/src'
> Making sources for autoconf
> gmake: Entering directory
> `/home/alex/src/packages/Mesa-git/src/mapi/glapi' gmake: Nothing to be
> done for `default'.
> gmake: Leaving directory
> `/home/alex/src/packages/Mesa-git/src/mapi/glapi' gmake: Entering
> directory `/home/alex/src/packages/Mesa-git/src/glsl' flex --nounistd
> -oglcpp/glcpp-lex.c glcpp/glcpp-lex.l
> glcpp/glcpp-lex.l:59: unrecognized %option: extra-type
> gmake: *** No rule to make target `depend', needed by `default'. Stop.
Sounds like you need a newer version of flex. A quick google search seems to
indicate that %option extra-type was added in 2.5.34 (December 2007). You
probably want the latest though.
> gmake: Leaving directory `/home/alex/src/packages/Mesa-git/src/glsl'
> make: *** [subdirs] Error 1
> make: Leaving directory `/home/alex/src/packages/Mesa-git/src'
> make: *** [default] Error 1
> While at it (sorry for newbie questions), do I need gallium (maybe swrast)
> when I want only osmesa rendering into a software buffer ?
I don't think OSMesa requires Gallium, but I've never used it.
More information about the mesa-dev