[Mesa-users] problems building osmesa

burlen burlen.loring at gmail.com
Tue Apr 16 15:29:33 PDT 2013


Hi,

I finally got it to build. there were a couple of issues: needed to 
install autoconf, automake, and libtool. This is my fault for not being 
very familiar with mesa's build process and/or autotools. On the other 
hand since the build depends on autoconf, automake and libtool maybe the 
configure step could error out if those aren't found? I would have found 
that helpful.

the following is what worked

autoreconf -fi && ./configure --prefix=/home/bloring/apps/Mesa-9.1.1 
--enable-shared --disable-static --enable-texture-float --enable-osmesa 
--with-osmesa-bits=32 --disable-gallium-llvm --disable-dri --disable-egl 
--disable-glx --with-gallium-drivers= --with-dri-drivers=


On 04/16/2013 01:10 PM, burlen wrote:
> Hi All,
>
> I've had some problems building OSMesa on both Fedora 17 and Ubuntu 
> 12.04. Both systems the same exact thing comes up, configure looks 
> fine, running make goes into what looks like an infinite loop. 
> configuring again, and again and again...never compiles anything. I 
> assume I'm hitting this because I'm using some rare combination of 
> configure options, here they are:
>
> ./configure --prefix=/work/PV/apps/Mesa-9.0.3 --enable-shared 
> --disable-static --enable-texture-float --enable-osmesa 
> --with-osmesa-bits=32 --disable-gallium-llvm --disable-dri 
> --disable-egl --with-gallium-drivers=swrast
>
> Does that look right? What's the easiest way to build standalone OSMesa?
>
> between each configure in the infinite loop a complaint about missing 
> aclocal(below). In response I installed autoconf and and then 
> automake, yet more errors follow and it looks as through it's 
> attempting to regenerate all the make files. That's not what I 
> expected, and I didn't expect to have to use autoconf at all, is it 
> now required?
>
> Burlen
>
>
> CDPATH="${ZSH_VERSION+.}:" && cd . && /bin/bash 
> /work/PV/Mesa-9.0.3/bin/missing --run aclocal-1.11 -I m4
> /work/PV/Mesa-9.0.3/bin/missing: line 52: aclocal-1.11: command not found
> WARNING: `aclocal-1.11' is missing on your system.  You should only 
> need it if
>          you modified `acinclude.m4' or `configure.ac'.  You might want
>          to install the `Automake' and `Perl' packages.  Grab them from
>          any GNU archive site.
>  cd . && /bin/bash /work/PV/Mesa-9.0.3/bin/missing --run automake-1.11 
> --foreign
> /work/PV/Mesa-9.0.3/bin/missing: line 52: automake-1.11: command not 
> found
> WARNING: `automake-1.11' is missing on your system.  You should only 
> need it if
>          you modified `Makefile.am', `acinclude.m4' or `configure.ac'.
>          You might want to install the `Automake' and `Perl' packages.
>          Grab them from any GNU archive site.
> CDPATH="${ZSH_VERSION+.}:" && cd . && /bin/bash 
> /work/PV/Mesa-9.0.3/bin/missing --run autoconf
> /work/PV/Mesa-9.0.3/bin/missing: line 52: autoconf: command not found
> WARNING: `autoconf' is missing on your system.  You should only need 
> it if
>          you modified `configure.ac'.  You might want to install the
>          `Autoconf' and `GNU m4' packages.  Grab them from any GNU
>          archive site.
> /bin/bash ./config.status --recheck
>
>
>
>



More information about the mesa-users mailing list