xserver/xorg build problems

Stefan Dirsch sndirsch at suse.de
Mon Jul 18 17:28:40 EST 2005


On Sat, Jul 16, 2005 at 05:49:45PM -0700, Alan Coopersmith wrote:
> Adam Jackson wrote:
> >Assuming you want GL support, check out Mesa from CVS and tell autogen 
> >about it with --with-mesa-source=/path/to/source.  If you don't, then 
> >don't, and the build should disable GLX support.
> >
> >If you're not specifying a Mesa path and it still fails to build, that's a 
> >new failure, and I'd appreciate seeing the log for it.
> 
> I have to specify --disable-GL to make it build without Mesa installed.
> If I don't specify that it goes into glx and dies trying to build 
> g_disptab.c
> since it can't find GL/gl.h

Same for me.

> It looks like this patch makes it work by setting the automake conditional
> after checking for Mesa source:
> 
> --- xorg/configure.ac   16 Jul 2005 16:30:40 -0000      1.25
> +++ xorg/configure.ac   17 Jul 2005 00:49:12 -0000
> @@ -381,18 +381,18 @@
>  AM_CONDITIONAL(XCSECURITY, [test x$XCSECURITY = xyes])
>  if test "$XCSECURITY" = yes; then
>         AC_DEFINE(XCSECURITY,1,[Build Security extension])
>  fi
> 
> -AM_CONDITIONAL(GLX, test x$GLX = xyes)
>  if test "$GLX" = yes -a x$MESA_SOURCE != x; then
>         AC_DEFINE(GLXEXT,1,[Build GLX extension])
>  #      EXTENSION_LIBS="$EXTENSION_LIBS "'$(top_builddir)/GL/glx/libglx.la 
> $(top_builddir)/GL/mesa/libGLcore.la'
>         dnl EXTENSION_INCS="$EXTENSION_INCS "'-I$(top_srcdir)/glx'
>  else
>          GLX=no
>  fi
> +AM_CONDITIONAL(GLX, test x$GLX = xyes)
>  AC_SUBST([MESA_SOURCE])
> 
>  AM_CONDITIONAL(DRI, test x$DRI = xyes)
>  if test "$DRI" = yes; then
>         AC_DEFINE(XF86DRI,1,[Build DRI extension])

Thanks for applying the patch to CVS. It fixes the build problem for
me as well.

Stefan

Public Key available
------------------------------------------------------
Stefan Dirsch (Res. & Dev.)   SUSE LINUX Products GmbH
Tel: 0911-740 53 0            Maxfeldstraße 5
FAX: 0911-740 53 479          D-90409 Nürnberg
http://www.suse.de            Germany 
------------------------------------------------------


More information about the xorg-modular mailing list