<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 TRANSITIONAL//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=UTF-8">
<META NAME="GENERATOR" CONTENT="GtkHTML/3.26.0">
</HEAD>
<BODY LINK="#0000ff">
On Fri, 2011-04-29 at 05:01 -0700, Fred Liu wrote:
<BLOCKQUOTE TYPE=CITE>
Gaetan,<BR>
<BR>
<BR>
<BR>
I have tried moving, it is gone, but there is a new one like:<BR>
</BLOCKQUOTE>
I assume you mean the makedepend module built successfully because the xproto module was built beforehand.<BR>
I'll fix the script.<BR>
<BLOCKQUOTE TYPE=CITE>
<BR>
<BR>
<BR>
configure.ac:39: the top level<BR>
<BR>
configure:5033: error: possibly undefined macro: m4_ifval<BR>
<BR>
If this token and others are legitimate, please use m4_pattern_allow.<BR>
<BR>
See the Autoconf documentation.<BR>
<BR>
configure:5037: error: possibly undefined macro: AC_CHECK_FILE<BR>
<BR>
autoreconf: /tool/util/.package/autoconf/2.68/bin/autoconf failed with exit status: 1<BR>
<BR>
build.sh: "autogen.sh" failed on doc/xorg-docs<BR>
<BR>
build.sh: error processing module/component: "doc/xorg-docs"<BR>
<BR>
</BLOCKQUOTE>
There maybe some tooling packages missing or incomplete. I don't know which distro/OS you are using. There is typically 20+ packages to install that aren't installed by default. It's hard to tell from build errors. It looks like you are starting to build from source on a clean system. Take a look at this wiki:<BR>
<BR>
<A HREF="http://wiki.x.org/wiki/ModularDevelopersGuide#RequiredTools">http://wiki.x.org/wiki/ModularDevelopersGuide#RequiredTools</A><BR>
<A HREF="http://wiki.x.org/wiki/RequiredPackages">http://wiki.x.org/wiki/RequiredPackages</A><BR>
<BR>
<BLOCKQUOTE TYPE=CITE>
<BR>
<BR>
Thanks.<BR>
<BR>
<BR>
<BR>
Fred<BR>
<BR>
<BR>
<BR>
</BLOCKQUOTE>
<BLOCKQUOTE TYPE=CITE>
<B>From:</B> Gaetan Nadon [mailto:memsize@videotron.ca] <BR>
<B>Sent:</B> 星期五, 四月 29, 2011 19:54<BR>
<B>To:</B> Fred Liu<BR>
<B>Cc:</B> X.Org Developers<BR>
<B>Subject:</B> Re: `PKG_CHECK_MODULES(X, xproto)'?<BR>
<BR>
<BR>
</BLOCKQUOTE>
<BLOCKQUOTE TYPE=CITE>
<BR>
<BR>
On Thu, 2011-04-28 at 21:22 -0700, Fred Liu wrote: <BR>
<BR>
<PRE>
Hi,
I am following the instruction from "Building all modules with the build scripts" to build X11R76 as following:
util/modular/build.sh $PREFIX
...
...
./configure: line 4899: syntax error near unexpected token `X,'
./configure: line 4899: `PKG_CHECK_MODULES(X, xproto)'
build.sh: "autogen.sh" failed on util/makedepend
build.sh: error processing module/component: "util/makedepend"
...
Any workaround?
</PRE>
<BR>
Building makedepend was moved up as it is needed by "mesa".<BR>
It looks it was moved too early, before "proto".<BR>
In build.sh, can you move building makedepend after "build proto"<BR>
and check if it corrects the problem?<BR>
This problem will only happen on a very clean system.<BR>
<BR>
<PRE>
if [ X"$MODFILE" = X ]; then
# We must install the global macros before anything else
build util macros
build font util
# Required by mesa
build util makedepend
build_doc
build_proto
build_lib
build_mesa
</PRE>
<BR>
<BR>
<BR>
<BR>
<BR>
<BR>
<PRE>
Many thanks.
Fred
_______________________________________________
<A HREF="mailto:xorg-devel@lists.x.org">xorg-devel@lists.x.org</A>: X.Org development
Archives: <A HREF="http://lists.x.org/archives/xorg-devel">http://lists.x.org/archives/xorg-devel</A>
Info: <A HREF="http://lists.x.org/mailman/listinfo/xorg-devel">http://lists.x.org/mailman/listinfo/xorg-devel</A>
</PRE>
</BLOCKQUOTE>
</BODY>
</HTML>