diff mbox

List required/suggested dependencies for building ODP

Message ID 1404948052-6333-1-git-send-email-steve.mcintyre@linaro.org
State Accepted
Commit a356c0a87e8f566fcaa01bde09c44bbd63ef7815
Headers show

Commit Message

Steve McIntyre July 9, 2014, 11:20 p.m. UTC
From: Steve McIntyre <steve.mcintyre@linaro.org>

Add some documentation describing the minimum requirements and
recommended versions of tools and libraries for building ODP.

This initial checkin just mentions the Linux kernel and autotools.

Signed-off-by: Steve McIntyre <steve.mcintyre@linaro.org>
---
 DEPENDENCIES |   20 ++++++++++++++++++++
 README       |    1 +
 2 files changed, 21 insertions(+)
 create mode 100644 DEPENDENCIES

Comments

Bill Fischofer July 9, 2014, 11:29 p.m. UTC | #1
These are good clear instructions.  Thanks.


On Wed, Jul 9, 2014 at 6:20 PM, <steve.mcintyre@linaro.org> wrote:

> From: Steve McIntyre <steve.mcintyre@linaro.org>
>
> Add some documentation describing the minimum requirements and
> recommended versions of tools and libraries for building ODP.
>
> This initial checkin just mentions the Linux kernel and autotools.
>
> Signed-off-by: Steve McIntyre <steve.mcintyre@linaro.org>
> ---
>  DEPENDENCIES |   20 ++++++++++++++++++++
>  README       |    1 +
>  2 files changed, 21 insertions(+)
>  create mode 100644 DEPENDENCIES
>
> diff --git a/DEPENDENCIES b/DEPENDENCIES
> new file mode 100644
> index 0000000..390d58e
> --- /dev/null
> +++ b/DEPENDENCIES
> @@ -0,0 +1,20 @@
> +Prerequisites for building the Open Dataplane (ODP) API, platform
> +linux-generic.
> +
> +1. Linux kernel >= 3.0
> +
> +   Version 3.0+ needed for the sendmmsg() interface
> +
> +2. autotools
> +
> +   automake
> +   autoconf
> +   autoconf-archive
> +   libtool
> +
> +   On Debian/Ubuntu systems:
> +   $ sudo apt-get install automake autoconf autoconf-archive libtool
> +
> +   On CentOS/RedHat/Fedora systems:
> +   $ sudo yum install automake autoconf autoconf-archive libtool
> libtoolize
> +
> diff --git a/README b/README
> index 36545dd..7ecc655 100644
> --- a/README
> +++ b/README
> @@ -19,6 +19,7 @@ Main git repository:
>      build directory.
>      For cross compiling set up appropriate CC:
>          make CC=armeb-linux-gnueabihf-gcc
> +    For a list of build dependencies, read DEPENDENCIES
>
>      Make command options:
>          ODP_RELOC compile library with position independent code;
> --
> 1.7.10.4
>
>
> _______________________________________________
> lng-odp mailing list
> lng-odp@lists.linaro.org
> http://lists.linaro.org/mailman/listinfo/lng-odp
>
Mike Holmes July 10, 2014, 12:06 a.m. UTC | #2
On 9 July 2014 19:29, Bill Fischofer <bill.fischofer@linaro.org> wrote:

> These are good clear instructions.  Thanks.
>
>
> On Wed, Jul 9, 2014 at 6:20 PM, <steve.mcintyre@linaro.org> wrote:
>
>> From: Steve McIntyre <steve.mcintyre@linaro.org>
>>
>> Add some documentation describing the minimum requirements and
>> recommended versions of tools and libraries for building ODP.
>>
>> This initial checkin just mentions the Linux kernel and autotools.
>>
>> Signed-off-by: Steve McIntyre <steve.mcintyre@linaro.org>
>> ---
>>  DEPENDENCIES |   20 ++++++++++++++++++++
>>  README       |    1 +
>>  2 files changed, 21 insertions(+)
>>  create mode 100644 DEPENDENCIES
>>
>> diff --git a/DEPENDENCIES b/DEPENDENCIES
>> new file mode 100644
>> index 0000000..390d58e
>> --- /dev/null
>> +++ b/DEPENDENCIES
>> @@ -0,0 +1,20 @@
>> +Prerequisites for building the Open Dataplane (ODP) API, platform
>> +linux-generic.
>> +
>> +1. Linux kernel >= 3.0
>> +
>> +   Version 3.0+ needed for the sendmmsg() interface
>> +
>> +2. autotools
>> +
>> +   automake
>> +   autoconf
>> +   autoconf-archive
>> +   libtool
>> +
>> +   On Debian/Ubuntu systems:
>> +   $ sudo apt-get install automake autoconf autoconf-archive libtool
>>
> I did not need autoconf-archive on Ubuntu 14.04, I believe autoconf 2.69
or later is fine without it, if it is an earlier version then you need to
install autoconf-archive. However I added the package just as described
here and it does not appear to have broken anything either.

Reviewed-by Mike Holmes <mike.holmes@linaro.org>


+
>> +   On CentOS/RedHat/Fedora systems:
>> +   $ sudo yum install automake autoconf autoconf-archive libtool
>> libtoolize
>> +
>> diff --git a/README b/README
>> index 36545dd..7ecc655 100644
>> --- a/README
>> +++ b/README
>> @@ -19,6 +19,7 @@ Main git repository:
>>      build directory.
>>      For cross compiling set up appropriate CC:
>>          make CC=armeb-linux-gnueabihf-gcc
>> +    For a list of build dependencies, read DEPENDENCIES
>>
>>      Make command options:
>>          ODP_RELOC compile library with position independent code;
>> --
>> 1.7.10.4
>>
>>
>> _______________________________________________
>> lng-odp mailing list
>> lng-odp@lists.linaro.org
>> http://lists.linaro.org/mailman/listinfo/lng-odp
>>
>
>
> _______________________________________________
> lng-odp mailing list
> lng-odp@lists.linaro.org
> http://lists.linaro.org/mailman/listinfo/lng-odp
>
>
Anders Roxell July 10, 2014, 9:01 a.m. UTC | #3
On 2014-07-09 20:06, Mike Holmes wrote:
> On 9 July 2014 19:29, Bill Fischofer <bill.fischofer@linaro.org> wrote:
> 
> > These are good clear instructions.  Thanks.
> >
> >
> > On Wed, Jul 9, 2014 at 6:20 PM, <steve.mcintyre@linaro.org> wrote:
> >
> >> From: Steve McIntyre <steve.mcintyre@linaro.org>
> >>
> >> Add some documentation describing the minimum requirements and
> >> recommended versions of tools and libraries for building ODP.
> >>
> >> This initial checkin just mentions the Linux kernel and autotools.
> >>
> >> Signed-off-by: Steve McIntyre <steve.mcintyre@linaro.org>
> >> ---
> >>  DEPENDENCIES |   20 ++++++++++++++++++++
> >>  README       |    1 +
> >>  2 files changed, 21 insertions(+)
> >>  create mode 100644 DEPENDENCIES
> >>
> >> diff --git a/DEPENDENCIES b/DEPENDENCIES
> >> new file mode 100644
> >> index 0000000..390d58e
> >> --- /dev/null
> >> +++ b/DEPENDENCIES
> >> @@ -0,0 +1,20 @@
> >> +Prerequisites for building the Open Dataplane (ODP) API, platform

Found another nit: Open Dataplane -> OpenDataPlane


Reviewed-by: Anders Roxell <anders.roxell@linaro.org>

Cheers,
Anders

> >> +linux-generic.
> >> +
> >> +1. Linux kernel >= 3.0
> >> +
> >> +   Version 3.0+ needed for the sendmmsg() interface
> >> +
> >> +2. autotools
> >> +
> >> +   automake
> >> +   autoconf
> >> +   autoconf-archive
> >> +   libtool
> >> +
> >> +   On Debian/Ubuntu systems:
> >> +   $ sudo apt-get install automake autoconf autoconf-archive libtool
> >>
> > I did not need autoconf-archive on Ubuntu 14.04, I believe autoconf 2.69
> or later is fine without it, if it is an earlier version then you need to
> install autoconf-archive. However I added the package just as described
> here and it does not appear to have broken anything either.
> 
> Reviewed-by Mike Holmes <mike.holmes@linaro.org>
> 
> 
> +
> >> +   On CentOS/RedHat/Fedora systems:
> >> +   $ sudo yum install automake autoconf autoconf-archive libtool
> >> libtoolize
> >> +
> >> diff --git a/README b/README
> >> index 36545dd..7ecc655 100644
> >> --- a/README
> >> +++ b/README
> >> @@ -19,6 +19,7 @@ Main git repository:
> >>      build directory.
> >>      For cross compiling set up appropriate CC:
> >>          make CC=armeb-linux-gnueabihf-gcc
> >> +    For a list of build dependencies, read DEPENDENCIES
> >>
> >>      Make command options:
> >>          ODP_RELOC compile library with position independent code;
> >> --
> >> 1.7.10.4
> >>
> >>
> >> _______________________________________________
> >> lng-odp mailing list
> >> lng-odp@lists.linaro.org
> >> http://lists.linaro.org/mailman/listinfo/lng-odp
> >>
> >
> >
> > _______________________________________________
> > lng-odp mailing list
> > lng-odp@lists.linaro.org
> > http://lists.linaro.org/mailman/listinfo/lng-odp
> >
> >
> 
> 
> -- 
> *Mike Holmes*
> Linaro Technical Manager / Lead
> LNG - ODP

> _______________________________________________
> lng-odp mailing list
> lng-odp@lists.linaro.org
> http://lists.linaro.org/mailman/listinfo/lng-odp
Steve McIntyre July 10, 2014, 11:33 a.m. UTC | #4
On Wed, Jul 09, 2014 at 08:06:02PM -0400, Mike Holmes wrote:
>
>
>
>On 9 July 2014 19:29, Bill Fischofer <bill.fischofer@linaro.org> wrote:
>
>    These are good clear instructions.  Thanks.
>
>
>    On Wed, Jul 9, 2014 at 6:20 PM, <steve.mcintyre@linaro.org> wrote:
>
>        From: Steve McIntyre <steve.mcintyre@linaro.org>
>
>        Add some documentation describing the minimum requirements and
>        recommended versions of tools and libraries for building ODP.
>
>        This initial checkin just mentions the Linux kernel and autotools.
>
>        Signed-off-by: Steve McIntyre <steve.mcintyre@linaro.org>
>        ---
>         DEPENDENCIES |   20 ++++++++++++++++++++
>         README       |    1 +
>         2 files changed, 21 insertions(+)
>         create mode 100644 DEPENDENCIES
>
>        diff --git a/DEPENDENCIES b/DEPENDENCIES
>        new file mode 100644
>        index 0000000..390d58e
>        --- /dev/null
>        +++ b/DEPENDENCIES
>        @@ -0,0 +1,20 @@
>        +Prerequisites for building the Open Dataplane (ODP) API, platform
>        +linux-generic.
>        +
>        +1. Linux kernel >= 3.0
>        +
>        +   Version 3.0+ needed for the sendmmsg() interface
>        +
>        +2. autotools
>        +
>        +   automake
>        +   autoconf
>        +   autoconf-archive
>        +   libtool
>        +
>        +   On Debian/Ubuntu systems:
>        +   $ sudo apt-get install automake autoconf autoconf-archive libtool
>
>I did not need autoconf-archive on Ubuntu 14.04, I believe autoconf 2.69 or
>later is fine without it, if it is an earlier version then you need to install 
>autoconf-archive. However I added the package just as described here and it
>does not appear to have broken anything either.

ACK. autoconf-archive is an extra collection of autoconf macros that
work with older versions of the autoconf packages to add more recent
capabilities. If you already have a recent-enough version of autoconf
then you'll be fine without it. But it's a harmless thing to add in
such a case. Not sure if it's worth the effort to investigate the
precise versions - I'm minded to leave it as-is.

I also don't use any RPM (Fedora/CentOS/RedHat/Suse) machines, so the
command line there is what I've worked out from what other people have
reported.

Cheers,
Steve McIntyre July 10, 2014, 11:33 a.m. UTC | #5
On Thu, Jul 10, 2014 at 11:01:56AM +0200, Anders Roxell wrote:
>On 2014-07-09 20:06, Mike Holmes wrote:
>> >> +Prerequisites for building the Open Dataplane (ODP) API, platform
>
>Found another nit: Open Dataplane -> OpenDataPlane

Doh!

v2 on its way shortly.

Cheers,
diff mbox

Patch

diff --git a/DEPENDENCIES b/DEPENDENCIES
new file mode 100644
index 0000000..390d58e
--- /dev/null
+++ b/DEPENDENCIES
@@ -0,0 +1,20 @@ 
+Prerequisites for building the Open Dataplane (ODP) API, platform
+linux-generic.
+
+1. Linux kernel >= 3.0
+
+   Version 3.0+ needed for the sendmmsg() interface
+
+2. autotools
+
+   automake
+   autoconf
+   autoconf-archive
+   libtool
+
+   On Debian/Ubuntu systems:
+   $ sudo apt-get install automake autoconf autoconf-archive libtool
+
+   On CentOS/RedHat/Fedora systems:
+   $ sudo yum install automake autoconf autoconf-archive libtool libtoolize
+
diff --git a/README b/README
index 36545dd..7ecc655 100644
--- a/README
+++ b/README
@@ -19,6 +19,7 @@  Main git repository:
     build directory.
     For cross compiling set up appropriate CC:
         make CC=armeb-linux-gnueabihf-gcc
+    For a list of build dependencies, read DEPENDENCIES
 
     Make command options:
         ODP_RELOC compile library with position independent code;