Correct git clone and build instructions?
Gaetan Nadon
memsize at videotron.ca
Thu Apr 22 05:37:51 PDT 2010
On Thu, 2010-04-22 at 00:11 -0300, Fernando Carrijo wrote:
> Hi Jeff,
>
> Jeff Carr <basilarchia at gmail.com> wrote:
> > I'm having trouble finding accurate git clone and build instructions
> > on the wiki. When trying to run autoconf.sh in the xserver tree it
> > complained of "error: must install xorg-macros". Is the best way to
> > just go through and clone these one by one until the dependencies are
> > met? I suspected it's just the beginning of a long chain of hairy
> > dependences that might be worthy of emailing the list first.
> >
> > Is there a tool like the android "repo" or perhaps a method to pull
> > down the various git trees via git submodule? Or just README that
> > contains the recommended order of building and installing?
>
> When it comes to X building, this is what people are referred to:
>
> http://wiki.x.org/wiki/ModularDevelopersGuide
>
> I hope it helps!
>
In there, this is a simple method that works. It builds more than you
want, but it will take more time to trim it then it takes to build it.
Starting with nothing, you get everything. The build.sh script is
up-to-date.
Also not that you must have the correct tool chain to build. This wiki
will give you a good idea of what is needed:
http://wiki.x.org/wiki/RequiredPackages
From the Git repository
Note: X.Org has moved all currently maintained modules to the Git
repository. See the GitPage for more information and UsingGit on how to
use Git.
The build.sh script is provided in the xorg/util/modular repository. It
provides a --clone flag to get the modules required. To get the initial
checkout of all modules, run:
$> cd /tmp/src
$> git clone git://anongit.freedesktop.org/git/xorg/util/modular util/modular
$> ./util/modular/build.sh --clone -a -n /tmp/modular
This will clone all modules into the right directory structure. The -a
flags tells the script to skip automake and hence the build will fail.
The -n flag tells the script to continue regardless. Both flags together
will result in a clean checkout of every module.
Alternatively, run the above command without the -a and -n flags and the
script will build everything into the prefix provided.
> _______________________________________________
> xorg at lists.freedesktop.org: X.Org support
> Archives: http://lists.freedesktop.org/archives/xorg
> Info: http://lists.freedesktop.org/mailman/listinfo/xorg
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.x.org/archives/xorg/attachments/20100422/3c62899c/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part
URL: <http://lists.x.org/archives/xorg/attachments/20100422/3c62899c/attachment.pgp>
More information about the xorg
mailing list