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

VomLehn, David vomlehnd at lab126.com
Thu Aug 8 14:52:15 EDT 2013


Oops, hit "Reply" instead of "Reply All", so:

+ Thibault, Daniel ‎[Daniel.Thibault at drdc-rddc.gc.ca]‎
+ lttng-dev at lists.lttng.org 
--
David VL

________________________________________
From: VomLehn, David
Sent: Thursday, August 08, 2013 11:48 AM
To: Mathieu Desnoyers
Subject: RE: [lttng-dev] [PATCH lttv] Add build instructions for git tree       pulls and use more standard formatting

My patch was only focused on the fact that the build procedure for what you get after a git pull requires a different build procedure since it doesn't have the ./configure file you would get from a tar release file. The sentence about going into specific subdirectories was part of the context, and not part of the patch. If we want to update that, too, I think it should be a separate patch.
--
David VL

________________________________________
From: Mathieu Desnoyers [mathieu.desnoyers at efficios.com]
Sent: Thursday, August 08, 2013 8:23 AM
To: Thibault, Daniel
Cc: lttng-dev at lists.lttng.org; VomLehn, David
Subject: Re: [lttng-dev] [PATCH lttv] Add build instructions for git tree       pulls and use more standard formatting

* Thibault, Daniel (Daniel.Thibault at drdc-rddc.gc.ca) wrote:
> ------------------------------
> Date: Wed, 7 Aug 2013 12:48:53 -0700
> From: Vomlehn <vomlehnd at amazon.com>
>
> -- ./configure
> -- make
> -- make install
> +  $ ./configure
> +  $ make
> +  $ make install
> +
> +To compile the source tree from a git checkout, use:
> +
> +  $ autoreconf
> +  $ automake --add-missing --gnu
> +  $ make
> +  $ make install
>
>  After running ./configure, you can also go in specific subdirectories and
>  use make, make install.
> ------------------------------
>
>    Actually, in each instance of 'make install', you'll need to use 'sudo make install'.

(as root)
# make install

would be the proper way to document this.

sudo is just one way to gain root privileges. "su" can be used on many
distributions for this too. Also, if a configure --prefix is used to
target a user-writeable directory, root is not required (but it's
generally not the case).

Thanks,

Mathieu


>
> Daniel U. Thibault
> Protection des systèmes et contremesures (PSC) | Systems Protection & Countermeasures (SPC)
> Cyber sécurité pour les missions essentielles (CME) | Mission Critical Cyber Security (MCCS)
> R & D pour la défense Canada - Valcartier (RDDC Valcartier) | Defence R&D Canada - Valcartier (DRDC Valcartier)
> 2459 route de la Bravoure
> Québec QC  G3J 1X5
> CANADA
> Vox : (418) 844-4000 x4245
> Fax : (418) 844-4538
> NAC : 918V QSDJ <http://www.travelgis.com/map.asp?addr=918V%20QSDJ>
> Gouvernement du Canada | Government of Canada
> <http://www.valcartier.drdc-rddc.gc.ca/>
>
> _______________________________________________
> lttng-dev mailing list
> lttng-dev at lists.lttng.org
> http://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev

--
Mathieu Desnoyers
EfficiOS Inc.
http://www.efficios.com



More information about the lttng-dev mailing list