[Mesa-dev] OSMesa/libGL (was: Build failure since May 6)

tom fogal tfogal at alumni.unh.edu
Mon May 10 18:54:24 PDT 2010


Dan Nicholson <dbn.lists at gmail.com> writes:
> On Mon, May 10, 2010 at 10:08 AM, Kevin H. Hobbs <hobbsk at ohiou.edu> wrote:
> > All I really want is Mesa with OSMesa from the development
> > repository as the "reference" library for my VTK and ParaView
> > nightly test builds.
>
> ./configure --with-driver=xlib ? That will link libOSMesa to libGL,
> but that's what configs/linux-x86-64 is already doing (I think). If
> that's not working for you, please let me know. I tried to make this
> work correctly in the past, but personally use the dri drivers.

Doesn't look like it's happening at present:

  tf at shigeru lib $ ls
  libMesaGL.so    libMesaGL.so.1.5.070500  libOSMesa.so.7      pkgconfig
  libMesaGL.so.1  libOSMesa.so             libOSMesa.so.7.5.0
  tf at shigeru lib $ nm -AC *.so | grep OSMesaMakeCurr
  libOSMesa.so:0000000000011d99 T OSMesaMakeCurrent
  tf at shigeru lib $ ldd libMesaGL.so.1.5.070500
          linux-vdso.so.1 =>  (0x00007fffffffe000)
          libX11.so.6 => /usr/lib/libX11.so.6 (0x00007f7c12283000)
          libXext.so.6 => /usr/lib/libXext.so.6 (0x00007f7c12072000)
          libm.so.6 => /lib/libm.so.6 (0x00007f7c11dee000)
          libpthread.so.0 => /lib/libpthread.so.0 (0x00007f7c11bd2000)
          libc.so.6 => /lib/libc.so.6 (0x00007f7c1187f000)
          libxcb-xlib.so.0 => /usr/lib/libxcb-xlib.so.0 (0x00007f7c1167d000)
          libxcb.so.1 => /usr/lib/libxcb.so.1 (0x00007f7c11461000)
          libdl.so.2 => /lib/libdl.so.2 (0x00007f7c1125d000)
          libXau.so.6 => /usr/lib/libXau.so.6 (0x00007f7c1105a000)
          /lib64/ld-linux-x86-64.so.2 (0x00007f7c12beb000)
          libXdmcp.so.6 => /usr/lib/libXdmcp.so.6 (0x00007f7c10e55000)

"MesaGL" is just Mesa's "GL"; we rename it to avoid ambiguity.  Our
configure line is:

    ./configure \
      CC="${C_COMPILER}" \
      CXX="${CXX_COMPILER}" \
      CFLAGS="${CFLAGS} ${AIX_MESA_CFLAGS} -DUSE_MGL_NAMESPACE"     \
      CXXFLAGS="${CXXFLAGS} -DUSE_MGL_NAMESPACE" \
      --prefix=${PF}               \
      --without-demos              \
      --disable-gallium            \
      --with-driver=xlib           \
      --enable-gl-osmesa           \
      --disable-glw                \
      --disable-glu                \
      --disable-egl

I tried both Mesa 7.5 and Mesa 7.8.1.

-tom


More information about the mesa-dev mailing list