[lttng-dev] [PATCH lttv] Add build instructions for git tree pulls and use more standard formatting
Vomlehn
vomlehnd at amazon.com
Mon Aug 19 15:20:59 EDT 2013
Yes, I think you are right. Patch in following message.
On Mon, Aug 19, 2013 at 09:42:25AM +0300, Amit Margalit wrote:
> I thouhght that's what the 'bootstrap' script is for. I mean - it includes
> autoreconf -i plus creation of config directory... So maybe the doc should
> say "use the bootstrap script" instead of calling users to run autoreconf
> -i ...
>
> Amit Margalit
> IBM XIV - Storage Reinvented
> XIV-NAS Development Team
> Tel. 03-689-7774
> Fax. 03-689-7230
>
>
>
> From: Alexandre Montplaisir <alexmonthy at voxpopuli.im>
> To: lttng-dev at lists.lttng.org
> Cc: Vomlehn <vomlehnd at amazon.com>
> Date: 08/08/2013 10:08 PM
> Subject: Re: [lttng-dev] [PATCH lttv] Add build instructions for
> git tree pulls and use more standard formatting
>
>
>
> 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.
>
>
> _______________________________________________
> lttng-dev mailing list
> lttng-dev at lists.lttng.org
> http://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev
>
>
--
David VL
More information about the lttng-dev
mailing list