All of lore.kernel.org
 help / color / mirror / Atom feed
* Re: [PATCH lttv] Add build instructions for git tree pulls and use more standard formatting
       [not found] <48CF5AC71E61DB46B70D0F388054EFFD26661385@VAL-E-01.valcartier.drdc-rddc.gc.ca>
@ 2013-08-08 15:23 ` Mathieu Desnoyers
       [not found] ` <20130808152320.GB26526@Krystal>
  1 sibling, 0 replies; 7+ messages in thread
From: Mathieu Desnoyers @ 2013-08-08 15:23 UTC (permalink / raw)
  To: Thibault, Daniel; +Cc: lttng-dev, David Vomlehn

* Thibault, Daniel (Daniel.Thibault@drdc-rddc.gc.ca) wrote:
> ------------------------------
> Date: Wed, 7 Aug 2013 12:48:53 -0700
> From: Vomlehn <vomlehnd@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@lists.lttng.org
> http://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev

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

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [PATCH lttv] Add build instructions for git tree pulls and use more standard formatting
       [not found]   ` <91572C5BB21393469AE2804E6532971C010874B7@ex10-mbx-9006.ant.amazon.com>
@ 2013-08-08 18:52     ` VomLehn, David
  0 siblings, 0 replies; 7+ messages in thread
From: VomLehn, David @ 2013-08-08 18:52 UTC (permalink / raw)
  To: Mathieu Desnoyers, Thibault, Daniel; +Cc: lttng-dev

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

+ Thibault, Daniel ‎[Daniel.Thibault@drdc-rddc.gc.ca]‎
+ lttng-dev@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@efficios.com]
Sent: Thursday, August 08, 2013 8:23 AM
To: Thibault, Daniel
Cc: lttng-dev@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@drdc-rddc.gc.ca) wrote:
> ------------------------------
> Date: Wed, 7 Aug 2013 12:48:53 -0700
> From: Vomlehn <vomlehnd@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@lists.lttng.org
> http://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev

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

_______________________________________________
lttng-dev mailing list
lttng-dev@lists.lttng.org
http://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [PATCH lttv] Add build instructions for git tree pulls and use more standard formatting
       [not found]   ` <OF8E71E2C5.84B3C9C6-ONC2257BCC.0024AB99-C2257BCC.0024CCB4@il.ibm.com>
@ 2013-08-19 19:20     ` Vomlehn
  0 siblings, 0 replies; 7+ messages in thread
From: Vomlehn @ 2013-08-19 19:20 UTC (permalink / raw)
  To: Amit Margalit; +Cc: lttng-dev, Vomlehn

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@voxpopuli.im>
> To:     lttng-dev@lists.lttng.org
> Cc:     Vomlehn <vomlehnd@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@lists.lttng.org
> http://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev
> 
> 

-- 
David VL

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [PATCH lttv] Add build instructions for git tree pulls and use more standard formatting
       [not found] ` <5203EC44.7070402@voxpopuli.im>
@ 2013-08-19  6:42   ` Amit Margalit
       [not found]   ` <OF8E71E2C5.84B3C9C6-ONC2257BCC.0024AB99-C2257BCC.0024CCB4@il.ibm.com>
  1 sibling, 0 replies; 7+ messages in thread
From: Amit Margalit @ 2013-08-19  6:42 UTC (permalink / raw)
  To: Alexandre Montplaisir; +Cc: lttng-dev, Vomlehn


[-- Attachment #1.1: Type: text/plain, Size: 2045 bytes --]

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@voxpopuli.im>
To:     lttng-dev@lists.lttng.org
Cc:     Vomlehn <vomlehnd@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@lists.lttng.org
http://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev



[-- Attachment #1.2: Type: text/html, Size: 3641 bytes --]

[-- Attachment #2: Type: text/plain, Size: 155 bytes --]

_______________________________________________
lttng-dev mailing list
lttng-dev@lists.lttng.org
http://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [PATCH lttv] Add build instructions for git tree pulls and use more standard formatting
       [not found] <20130807194853.GA11032@ub8ca3a8c12a551e580d6.ant.amazon.com>
@ 2013-08-08 19:06 ` Alexandre Montplaisir
       [not found] ` <5203EC44.7070402@voxpopuli.im>
  1 sibling, 0 replies; 7+ messages in thread
From: Alexandre Montplaisir @ 2013-08-08 19:06 UTC (permalink / raw)
  To: lttng-dev; +Cc: Vomlehn

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.

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [PATCH lttv] Add build instructions for git tree pulls and use more standard formatting
@ 2013-08-08 15:20 Thibault, Daniel
  0 siblings, 0 replies; 7+ messages in thread
From: Thibault, Daniel @ 2013-08-08 15:20 UTC (permalink / raw)
  To: lttng-dev; +Cc: David Vomlehn

------------------------------
Date: Wed, 7 Aug 2013 12:48:53 -0700
From: Vomlehn <vomlehnd@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'.

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/>

^ permalink raw reply	[flat|nested] 7+ messages in thread

* [PATCH lttv] Add build instructions for git tree pulls and use more standard formatting
@ 2013-08-07 19:48 Vomlehn
  0 siblings, 0 replies; 7+ messages in thread
From: Vomlehn @ 2013-08-07 19:48 UTC (permalink / raw)
  To: lttng-dev

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
+  $ make
+  $ make install
 
 After running ./configure, you can also go in specific subdirectories and
 use make, make install.
-- 
David VL

^ permalink raw reply related	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2013-08-19 19:21 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <48CF5AC71E61DB46B70D0F388054EFFD26661385@VAL-E-01.valcartier.drdc-rddc.gc.ca>
2013-08-08 15:23 ` [PATCH lttv] Add build instructions for git tree pulls and use more standard formatting Mathieu Desnoyers
     [not found] ` <20130808152320.GB26526@Krystal>
     [not found]   ` <91572C5BB21393469AE2804E6532971C010874B7@ex10-mbx-9006.ant.amazon.com>
2013-08-08 18:52     ` VomLehn, David
     [not found] <20130807194853.GA11032@ub8ca3a8c12a551e580d6.ant.amazon.com>
2013-08-08 19:06 ` Alexandre Montplaisir
     [not found] ` <5203EC44.7070402@voxpopuli.im>
2013-08-19  6:42   ` Amit Margalit
     [not found]   ` <OF8E71E2C5.84B3C9C6-ONC2257BCC.0024AB99-C2257BCC.0024CCB4@il.ibm.com>
2013-08-19 19:20     ` Vomlehn
2013-08-08 15:20 Thibault, Daniel
  -- strict thread matches above, loose matches on Subject: below --
2013-08-07 19:48 Vomlehn

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.