X.org from git..
Yong-Jhen Hong
yongjhen at alqualonde.org
Tue Feb 13 03:35:02 UTC 2007
Daniel O'Connor wrote:
> Hi,
> I'm trying to build X.Org from git (7.2 modular) however I'm having trouble
> with auto* (I'm sure you're all shocked :) -
>
> This is on a FreeBSD 6.2 install (fresh install)..
>
> I used the git script from
> I had to create symlinks in utils/modular for auto* and libtool, ie..
> lrwxr-xr-x 1 root wheel 28 Feb 13 08:24 util/modular/autoheader -> /usr/local/bin/autoheader259
> lrwxr-xr-x 1 root wheel 25 Feb 13 08:24 util/modular/automake -> /usr/local/bin/automake19
> lrwxr-xr-x 1 root wheel 28 Feb 13 08:22 util/modular/autoreconf -> /usr/local/bin/autoreconf259
>
> Building lib module component libXau...
> autoreconf: Entering directory `.'
> autoreconf: configure.ac: not using Gettext
> autoreconf: running: aclocal -I /usr/X11R6/share/aclocal
> /usr/X11R6/share/aclocal/xmms.m4:17: warning: underquoted definition of XMMS_TEST_VERSIO
> N
> run info '(automake)Extending aclocal'
> or see http://sources.redhat.com/automake/automake.html#Extending-aclocal
> /usr/X11R6/share/aclocal/xmms.m4:62: warning: underquoted definition of AM_PATH_XMMS
> aclocal:configure.ac:41: warning: macro `AM_PROG_LIBTOOL' not found in library
> autoreconf: configure.ac: tracing
> autoreconf: configure.ac: not using Libtool
> autoreconf: running: /usr/local/bin/autoconf259
> configure.ac:40: error: possibly undefined macro: AC_LIBTOOL_WIN32_DLL
> If this token and others are legitimate, please use m4_pattern_allow.
> See the Autoconf documentation.
> configure.ac:41: error: possibly undefined macro: AM_PROG_LIBTOOL
> autoreconf: /usr/local/bin/autoconf259 failed with exit status: 1
> ***** autogen failed on lib/libXau
>
> The AC_LIBTOOL_WIN32_DLL thing happens quite often.
>
> Has anyone got it to build successfully? If so, any hints? :)
>
> Thanks.
>
In my experience, I have these done in order to build from freedesktop
git repository:
1. install ports devel/gnu-autoconf and devel/gnu-automake
2. have ${LOCALBASE}/gnu-autotools/bin in PATH
3. have the following lines in
${LOCALBASE}/gnu-autotools/share/aclocal/dirlist
/usr/local/gnu-autotools/share/aclocal-1.10
/usr/local/share/aclocal
/usr/X11R6/share/aclocal
4. for each project, configure, build and install with:
./autogen.sh --prefix=/usr/X11R6
gmake
gmake install
5. install xorg/util/macros first
But using experimental modular X.org ports git repository is of course
easier: http://wiki.freebsd.org/ModularXorg
Hope it helps ;)
Regards,
yongjhen
More information about the freebsd-x11
mailing list