Martin Ward wrote:
> On 21/06/13 18:31, Bruce Dubbs wrote:
>> Ken Moffat wrote:
>>> On Fri, Jun 21, 2013 at 11:18:54AM -0500, Bruce Dubbs wrote:
>>>> 1.  Do I need the Glamor EGL driver?
>>>>
>>>> My system has NVIDIA Corporation NV37GL [Quadro PCI-E Series] video.
>>>>
>>>     Almost certainly not - required for radeon South Islands, optional
>>> for radeon from  R300 to Northern Islands.
>> We need to say that in the book.  Xorg starts up for me using the
>> nouveau drivers.
>>
>>>> 2.  If I do need it, it fails for me at autoreconf:
>>>>
>>>> configure.ac:44: error: must install xorg-macros 1.8 or later before
>>>> running autoconf/autogen
>>>>
>>>> Where do we get xorg-macros 1.8?  The latest I see is util-macros-1.17
>>>> and the file /opt/xorg/share/aclocal/xorg-macros.m4 says
>>>> XORG_MACROS_VERSION(1.1)
>>>>
>>>     That is the correct file, and it contains a lot of different
>>> conditionals.  It starts with a comment, then an example of how to
>>> specify a required version.  I don't immediately understand it, but
>>> you must be failing at the test for MAN_SUBSTS in
>>> XORG_MANPAGE_SECTIONS.
>> I do see this in the file:
>>
>> m4_defun([XORG_MACROS_VERSION],[
>> m4_define([vers_have], [1.17])
>> ...
>> # Added MAN_SUBSTS in version 1.8
>> # Added AC_PROG_SED in version 1.8
>>
>> Looking at the glamor configure.ac file, I'm trying to figure out how
>> the /opt/xorg/share/aclocal/xorg-macros.m4 gets pulled in.
>>
>> I did get it to work by
>>
>> $ cd /usr/share/aclocal
>> $ sudo ln -s /opt/xorg/share/aclocal/xorg-macros.m4

> You need to  either create a dirlist file with the relevant paths for
> the macros directories or set
> ACLOCAL_PATH accordingly
>
> see
>
> http://www.gnu.org/software/automake/manual/html_node/Macro-Search-Path.html#ACLOCAL_005fPATH

Thanks, I just figured that out myself.  What we need is:

ACLOCAL_PATH=$XORG_PREFIX/share/aclocal autoreconf -fi

That seems to do what we want.  Alternatively, we could discuss setting 
ACLOCAL_PATH in the intro to xorg section.

   -- Bruce
-- 
http://linuxfromscratch.org/mailman/listinfo/blfs-dev
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to