Sirsendu Roy wrote:
> Hallo All,
>
> I have successfully build the lfs. and trying to follow the online
> BLFS book to create a complete Linux System.
>
> Everything went smoothly untill I came across  the build problem in
> the Glamor-egl-0.5.0 package.
>
> I am getting this following error message when building the Glamor
> EGL0.5.0 package.
>
> I have installed the patch and then when I tried with autoreconf -fi,
> I am getting this error: configure.ac:44: error: must install
> xorg-macros 1.8 or later before running autoconf/autogen According to
> your BLFS online book, xorg-macros 1.17 is installed, why it checks
> for 1.8 ? Hope to get a help soon.

I've never built this before, but I had to make two changes.  First I 
edited configure.ac and commented out lines 44-46.

Second, I edited the file src/glamor_eglmodule.c and added the lines 
with the +:

#include <xorg-server.h>
+#include <xorgVersion.h>
#define GLAMOR_FOR_XORG
#include <xf86Module.h>
#include "glamor.h"

+#define PACKAGE_VERSION_MAJOR 0
+#define PACKAGE_VERSION_MINOR 5
+#define PACKAGE_VERSION_PATCHLEVEL 0

Investigating a little more, autoreconf is not finding 
/opt/share/share/aclocal/xorg-macros.m4.  If that is found, the changes 
above are probably not needed.

I then restarted and tried:

export ACLOCAL='aclocal -I $XORG_PREFIX/share/aclocal'
autoreconf -fi
...

and the build was OK.  I probably need to add the ACLOCAL definition to 
/etc/profile.d/xorg.sh

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

Reply via email to