building xgl
Jim Stapleton
stapleton.41 at gmail.com
Sun Jun 4 18:17:21 PDT 2006
shoot, so close-
I got to the last step:
============================================================
cvs -z3 -d :pserver:anoncvs at cvs.freedesktop.org:/cvs/xorg co -r
xgl-0-0-1 xserver
cd xserver/xorg
sed -i '' -E 's/@APP_MAN_SUFFIX@/man/g' doc/Makefile.am
CFLAGS="-I/usr/X11R6/include -I/usr/local/include" \
XLIB_CFLAGS="-I/usr/X11R6/include" \
XLIB_LIBS="-lX11 -L/usr/X11R6/lib" \
GL_CFLAGS="-I/usr/X11R6/include" \
GL_LIBS="-lGL -L/usr/X11R6/lib" \
DRIPROTO_CFLAGS="-I/usr/X11R6/include/X11/dri" \
DRIPROTO_LIBS="-L/usr/X11R6/lib" \
XSERVERLIBS_CFLAGS="-I/usr/X11R6/include" \
XSERVERLIBS_LIBS=" -lxkbfile -lXxf86misc -lXxf86vm -lXaw -lXmu -lXt \
-lXpm -lXext -lX11 -L/usr/X11R6/lib" \
XSERVERCFLAGS_CFLAGS="-I/usr/X11R6/include/extensions" \
XSERVERCFLAGS_LIBS="-lxkbfile -lXfont -lXau -lfontenc -L/usr/X11R6/lib" \
XORGCONFIG_DEP_CFLAGS="-I/usr/X11R6/include" \
XORGCONFIG_DEP_LIBS="-lxkbfile -lX11 -L/usr/X11R6/lib" \
XORGCFG_DEP_CFLAGS="-I/usr/X11R6/include" \
XORGCFG_DEP_LIBS="-lxkbui -lxkbfile -lXxf86misc -lXxf86vm -lXaw -lXmu -lXt \
-lXpm -lXext -lX11 -L/usr/X11R6/lib" \
XGLMODULES_CFLAGS="-I/usr/X11R6/include -I/usr/local/include" \
XGLMODULES_LIBS="-lglitz -lXfont -lfreetype -lfontconfig -lfntstubs -lXrender \
-lXrandr -lXau -lxkbfile -L/usr/X11R6/lib -L/usr/local/lib" \
XGLXMODULES_CFLAGS="-I/usr/X11R6/include -I/usr/local/include" \
XGLXMODULES_LIBS="-lglitz-glx -ldrm -lXfont -lfontconfig -lfreetype
-L/usr/X11R6/lib -L/usr/local/lib" \
FREETYPE_CFLAGS="-I/usr/local/include" \
FREETYPE_LIBS="-lfreetype -L/usr/local/lib" \
./autogen.sh --enable-xgl --disable-xorg --disable-xprint --enable-glx \
--enable-dri --with-mesa-source=/opt/SRC/Mesa \
--with-release-snap=1 --disable-dmx --disable-xvfb \
--disable-xnest --enable-xglx --enable-xkb \
--disable-kdriveserver --prefix=/opt/fdo --disable-builddocs && \
make && make install
============================================================
and it bailed on me with this error:
============================================================
/usr/local/gnu-autotools/share/aclocal/xmms.m4:62: warning:
underquoted definition of AM_PATH_XMMS
/usr/local/gnu-autotools/share/aclocal/wxwin.m4:36: warning:
underquoted definition of AM_OPTIONS_WXCONFIG
/usr/local/gnu-autotools/share/aclocal/wxwin.m4:59: warning:
underquoted definition of AM_PATH_WXCONFIG
/usr/local/gnu-autotools/share/aclocal/speex.m4:10: warning:
underquoted definition of XIPH_PATH_SPEEX
/usr/local/gnu-autotools/share/aclocal/smpeg.m4:13: warning:
underquoted definition of AM_PATH_SMPEG
/usr/local/gnu-autotools/share/aclocal/pilot-link.m4:1: warning:
underquoted definition of AC_PILOT_LINK_HOOK
/usr/local/gnu-autotools/share/aclocal/linc.m4:1: warning: underquoted
definition of AM_PATH_LINC
/usr/local/gnu-autotools/share/aclocal/libmikmod.m4:11: warning:
underquoted definition of AM_PATH_LIBMIKMOD
/usr/local/gnu-autotools/share/aclocal/libfame.m4:6: warning:
underquoted definition of AM_PATH_LIBFAME
/usr/local/gnu-autotools/share/aclocal/libart.m4:11: warning:
underquoted definition of AM_PATH_LIBART
/usr/local/gnu-autotools/share/aclocal/libIDL.m4:6: warning:
underquoted definition of AM_PATH_LIBIDL
/usr/local/gnu-autotools/share/aclocal/imlib.m4:9: warning:
underquoted definition of AM_PATH_IMLIB
/usr/local/gnu-autotools/share/aclocal/imlib.m4:167: warning:
underquoted definition of AM_PATH_GDK_IMLIB
/usr/local/gnu-autotools/share/aclocal/gtk.m4:7: warning: underquoted
definition of AM_PATH_GTK
/usr/local/gnu-autotools/share/aclocal/glib.m4:8: warning: underquoted
definition of AM_PATH_GLIB
/usr/local/gnu-autotools/share/aclocal/audiofile.m4:12: warning:
underquoted definition of AM_PATH_AUDIOFILE
/usr/local/gnu-autotools/share/aclocal/ao.m4:9: warning: underquoted
definition of XIPH_PATH_AO
/usr/local/gnu-autotools/share/aclocal/aalib.m4:12: warning:
underquoted definition of AM_PATH_AALIB
/usr/local/gnu-autotools/share/aclocal/ORBit.m4:4: warning:
underquoted definition of AM_PATH_ORBIT
autoreconf: running: /usr/local/gnu-autotools/bin/autoconf
configure.ac:464: error: possibly undefined macro: XTRANS_CONNECTION_FLAGS
If this token and others are legitimate, please use m4_pattern_allow.
See the Autoconf documentation.
autoreconf: /usr/local/gnu-autotools/bin/autoconf failed with exit status: 1
============================================================
or this error, if I removed the slashes that were outside of quotes,
at the end of the lines:
============================================================
/usr/local/gnu-autotools/share/aclocal/libfame.m4:6: warning:
underquoted definition of AM_PATH_LIBFAME
/usr/local/gnu-autotools/share/aclocal/libart.m4:11: warning:
underquoted definition of AM_PATH_LIBART
/usr/local/gnu-autotools/share/aclocal/libIDL.m4:6: warning:
underquoted definition of AM_PATH_LIBIDL
/usr/local/gnu-autotools/share/aclocal/imlib.m4:9: warning:
underquoted definition of AM_PATH_IMLIB
/usr/local/gnu-autotools/share/aclocal/imlib.m4:167: warning:
underquoted definition of AM_PATH_GDK_IMLIB
/usr/local/gnu-autotools/share/aclocal/gtk.m4:7: warning: underquoted
definition of AM_PATH_GTK
/usr/local/gnu-autotools/share/aclocal/glib.m4:8: warning: underquoted
definition of AM_PATH_GLIB
/usr/local/gnu-autotools/share/aclocal/audiofile.m4:12: warning:
underquoted definition of AM_PATH_AUDIOFILE
/usr/local/gnu-autotools/share/aclocal/ao.m4:9: warning: underquoted
definition of XIPH_PATH_AO
/usr/local/gnu-autotools/share/aclocal/aalib.m4:12: warning:
underquoted definition of AM_PATH_AALIB
/usr/local/gnu-autotools/share/aclocal/ORBit.m4:4: warning:
underquoted definition of AM_PATH_ORBIT
autoreconf: running: /usr/local/gnu-autotools/bin/autoconf
autoreconf: running: /usr/local/gnu-autotools/bin/autoheader
autoreconf: running: automake --add-missing --copy --no-force
configure.ac: installing `./install-sh'
configure.ac: installing `./missing'
GL/glx/Makefile.am: installing `./depcomp'
Xprint/Makefile.am: installing `./compile'
hw/dmx/doc/Makefile.am:24: BUILD_LINUXDOC does not appear in AM_CONDITIONAL
hw/dmx/doc/Makefile.am:27: BUILD_PDFDOC does not appear in AM_CONDITIONAL
hw/xfree86/doc/sgml/Makefile.am:24: BUILD_LINUXDOC does not appear in
AM_CONDITIONAL
hw/xfree86/doc/sgml/Makefile.am:27: BUILD_PDFDOC does not appear in
AM_CONDITIONAL
autoreconf: automake failed with exit status: 1
============================================================
Any suggestions, or ideas as to which group to ask for solutions? I
can't find any autoconf docs for the "m4 pattern allow" thing.
I managed to get everything up to this working... *sigh*
-Jim Stapleton
More information about the freebsd-questions
mailing list