[lttng-dev] [PATCH lttv] Add build instructions for git tree pulls and use more standard formatting

Alexandre Montplaisir alexmonthy at voxpopuli.im
Thu Aug 8 15:06:44 EDT 2013


On 13-08-07 03:48 PM, Vomlehn wrote:
> If the source is obtained directly from git, the file "configure" must be
> built with the autoconf tools. In addition, example shell commands are
> traditionally preceeded with a "$" instead of a "-", so this convention
> is used.
> ---
>  README |   13 ++++++++++---
>  1 file changed, 10 insertions(+), 3 deletions(-)
>
> diff --git a/README b/README
> index 98849b3..ac28f9e 100644
> --- a/README
> +++ b/README
> @@ -31,9 +31,16 @@ libc6 development librairies
>  
>  To compile the source tree from a tarball, simply follow these steps :
>  
> -- ./configure
> -- make
> -- make install
> +  $ ./configure
> +  $ make
> +  $ make install
> +
> +To compile the source tree from a git checkout, use:
> +
> +  $ autoreconf
> +  $ automake --add-missing --gnu

You should be able to use "autoreconf -i" instead of those two commands.
It avoids the need to run autoconf, automake etc. manually.

> +  $ make
> +  $ make install

As was mentioned in the other thread, this should be "# make install",
since with the default configure options, it will install in /usr/local,
and only root can write there.

Cheers,
Alex

>  
>  After running ./configure, you can also go in specific subdirectories and
>  use make, make install.




More information about the lttng-dev mailing list