Gaetan, Thanks.
Yes, I build from source on a clean system. Do you have recommended OS or successful case to share? I have read that module developers guide, but it is not detailed like what LFS book does. Many thanks. Fred From: Gaetan Nadon [mailto:[email protected]] Sent: Saturday, April 30, 2011 6:35 AM To: Fred Liu Cc: X.Org Developers Subject: RE: `PKG_CHECK_MODULES(X, xproto)'? On Fri, 2011-04-29 at 05:01 -0700, Fred Liu wrote: Gaetan, I have tried moving, it is gone, but there is a new one like: I assume you mean the makedepend module built successfully because the xproto module was built beforehand. I'll fix the script. configure.ac:39: the top level configure:5033: error: possibly undefined macro: m4_ifval If this token and others are legitimate, please use m4_pattern_allow. See the Autoconf documentation. configure:5037: error: possibly undefined macro: AC_CHECK_FILE autoreconf: /tool/util/.package/autoconf/2.68/bin/autoconf failed with exit status: 1 build.sh: "autogen.sh" failed on doc/xorg-docs build.sh: error processing module/component: "doc/xorg-docs" 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: http://wiki.x.org/wiki/ModularDevelopersGuide#RequiredTools http://wiki.x.org/wiki/RequiredPackages Thanks. Fred From: Gaetan Nadon [mailto:[email protected]] Sent: 星期五, 四月 29, 2011 19:54 To: Fred Liu Cc: X.Org Developers Subject: Re: `PKG_CHECK_MODULES(X, xproto)'? On Thu, 2011-04-28 at 21:22 -0700, Fred Liu wrote: 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? Building makedepend was moved up as it is needed by "mesa". It looks it was moved too early, before "proto". In build.sh, can you move building makedepend after "build proto" and check if it corrects the problem? This problem will only happen on a very clean system. 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 Many thanks. Fred _______________________________________________ [email protected]<mailto:[email protected]>: X.Org development Archives: http://lists.x.org/archives/xorg-devel Info: http://lists.x.org/mailman/listinfo/xorg-devel
_______________________________________________ [email protected]: X.Org development Archives: http://lists.x.org/archives/xorg-devel Info: http://lists.x.org/mailman/listinfo/xorg-devel
