diff mbox

README: update to reflect autotools

Message ID 1404763668-23791-1-git-send-email-anders.roxell@linaro.org
State Accepted
Commit 70a11f758eeeeed3094e7f5f7d66911ca8e4795f
Headers show

Commit Message

Anders Roxell July 7, 2014, 8:07 p.m. UTC
Signed-off-by: Anders Roxell <anders.roxell@linaro.org>
---
 README | 21 +++++++++------------
 1 file changed, 9 insertions(+), 12 deletions(-)

Comments

Maxim Uvarov July 7, 2014, 9:02 p.m. UTC | #1
Anders, I think we also need to add required package autoconf-archive to 
be installed. Looks like everybody find that it needs to be installed.

Maxim.

On 07/08/2014 12:07 AM, Anders Roxell wrote:
> Signed-off-by: Anders Roxell <anders.roxell@linaro.org>
> ---
>   README | 21 +++++++++------------
>   1 file changed, 9 insertions(+), 12 deletions(-)
>
> diff --git a/README b/README
> index 36545dd..9bc2978 100644
> --- a/README
> +++ b/README
> @@ -14,18 +14,15 @@ Main git repository:
>       for linux-generic target.
>       Directory test contains test applications for ODP API calls and features support.
>   
> -    Use 'make' to build ODP library and samples and 'make docs' to build ODP API
> -    documentation. 'make install' will copy all required headers and binary files to
> -    build directory.
> -    For cross compiling set up appropriate CC:
> -        make CC=armeb-linux-gnueabihf-gcc
> -
> -    Make command options:
> -        ODP_RELOC compile library with position independent code;
> -        VERBOSE turn on compilation debug;
> -        ODP_DEBUG_PRINT (default is yes) more debug information;
> -        DEBUG compile gdb friendly code;
> -        ODP_HAVE_NETMAP (linux-generic only) turn on netmap packet i/o
> +    How to build:
> +    ./bootstrap
> +    ./configure
> +    Use 'make' to build ODP library and samples and 'make doxygen-run' to build
> +    ODP API documentation. 'make install' will copy all required headers and
> +    binary files to the install directory.
> +
> +    Configure options:
> +        ./configure --help
>   
>   ODP patches for 3-rd party applications:
>       git://git.linaro.org/lng/odp-apps.git
Anders Roxell July 7, 2014, 9:28 p.m. UTC | #2
On 2014-07-08 01:02, Maxim Uvarov wrote:
> Anders, I think we also need to add required package
> autoconf-archive to be installed. Looks like everybody find that it
> needs to be installed.

Thats looks about right.
However, that should not go into a README file, that should be in a
DEPENDENCIES file...
Steve sent out such a patch beginning of June, with dependencies.
What happend there?
With the subject: "List required/suggested dependencies"

Cheers,
Anders

> 
> Maxim.
> 
> On 07/08/2014 12:07 AM, Anders Roxell wrote:
> >Signed-off-by: Anders Roxell <anders.roxell@linaro.org>
> >---
> >  README | 21 +++++++++------------
> >  1 file changed, 9 insertions(+), 12 deletions(-)
> >
> >diff --git a/README b/README
> >index 36545dd..9bc2978 100644
> >--- a/README
> >+++ b/README
> >@@ -14,18 +14,15 @@ Main git repository:
> >      for linux-generic target.
> >      Directory test contains test applications for ODP API calls and features support.
> >-    Use 'make' to build ODP library and samples and 'make docs' to build ODP API
> >-    documentation. 'make install' will copy all required headers and binary files to
> >-    build directory.
> >-    For cross compiling set up appropriate CC:
> >-        make CC=armeb-linux-gnueabihf-gcc
> >-
> >-    Make command options:
> >-        ODP_RELOC compile library with position independent code;
> >-        VERBOSE turn on compilation debug;
> >-        ODP_DEBUG_PRINT (default is yes) more debug information;
> >-        DEBUG compile gdb friendly code;
> >-        ODP_HAVE_NETMAP (linux-generic only) turn on netmap packet i/o
> >+    How to build:
> >+    ./bootstrap
> >+    ./configure
> >+    Use 'make' to build ODP library and samples and 'make doxygen-run' to build
> >+    ODP API documentation. 'make install' will copy all required headers and
> >+    binary files to the install directory.
> >+
> >+    Configure options:
> >+        ./configure --help
> >  ODP patches for 3-rd party applications:
> >      git://git.linaro.org/lng/odp-apps.git
> 
> 
> _______________________________________________
> lng-odp mailing list
> lng-odp@lists.linaro.org
> http://lists.linaro.org/mailman/listinfo/lng-odp
Bill Fischofer July 7, 2014, 10:14 p.m. UTC | #3
I tried following these instructions as written and get:

bill@Ubuntu13:~/linaro/odp$ ./bootstrap
+ aclocal -I config
configure.ac:26: warning: macro 'AM_PROG_LIBTOOL' not found in library
+ libtoolize --copy
./bootstrap: 4: ./bootstrap: libtoolize: not found
+ autoheader
+ automake --add-missing --copy
configure.ac:17: installing './compile'
configure.ac:84: installing './config.guess'
configure.ac:84: installing './config.sub'
configure.ac:18: installing './install-sh'
configure.ac:18: installing './missing'
platform/linux-generic/Makefile.am:15: error: Libtool library used but
'LIBTOOL' is undefined
platform/linux-generic/Makefile.am:15:   The usual way to define 'LIBTOOL'
is to add 'LT_INIT'
platform/linux-generic/Makefile.am:15:   to 'configure.ac' and run
'aclocal' and 'autoconf' again.
platform/linux-generic/Makefile.am:15:   If 'LT_INIT' is in 'configure.ac',
make sure
platform/linux-generic/Makefile.am:15:   its definition is in aclocal's
search path.
platform/linux-generic/Makefile.am: installing './depcomp'
platform/linux-keystone2/Makefile.am:27: error: Libtool library used but
'LIBTOOL' is undefined
platform/linux-keystone2/Makefile.am:27:   The usual way to define
'LIBTOOL' is to add 'LT_INIT'
platform/linux-keystone2/Makefile.am:27:   to 'configure.ac' and run
'aclocal' and 'autoconf' again.
platform/linux-keystone2/Makefile.am:27:   If 'LT_INIT' is in 'configure.ac',
make sure
platform/linux-keystone2/Makefile.am:27:   its definition is in aclocal's
search path.
+ autoconf
configure.ac:26: error: possibly undefined macro: AM_PROG_LIBTOOL
      If this token and others are legitimate, please use m4_pattern_allow.
      See the Autoconf documentation.
bill@Ubuntu13:~/linaro/odp$

Looks like there's more that needs to be documented?

Bill



On Mon, Jul 7, 2014 at 4:28 PM, Anders Roxell <anders.roxell@linaro.org>
wrote:

> On 2014-07-08 01:02, Maxim Uvarov wrote:
> > Anders, I think we also need to add required package
> > autoconf-archive to be installed. Looks like everybody find that it
> > needs to be installed.
>
> Thats looks about right.
> However, that should not go into a README file, that should be in a
> DEPENDENCIES file...
> Steve sent out such a patch beginning of June, with dependencies.
> What happend there?
> With the subject: "List required/suggested dependencies"
>
> Cheers,
> Anders
>
> >
> > Maxim.
> >
> > On 07/08/2014 12:07 AM, Anders Roxell wrote:
> > >Signed-off-by: Anders Roxell <anders.roxell@linaro.org>
> > >---
> > >  README | 21 +++++++++------------
> > >  1 file changed, 9 insertions(+), 12 deletions(-)
> > >
> > >diff --git a/README b/README
> > >index 36545dd..9bc2978 100644
> > >--- a/README
> > >+++ b/README
> > >@@ -14,18 +14,15 @@ Main git repository:
> > >      for linux-generic target.
> > >      Directory test contains test applications for ODP API calls and
> features support.
> > >-    Use 'make' to build ODP library and samples and 'make docs' to
> build ODP API
> > >-    documentation. 'make install' will copy all required headers and
> binary files to
> > >-    build directory.
> > >-    For cross compiling set up appropriate CC:
> > >-        make CC=armeb-linux-gnueabihf-gcc
> > >-
> > >-    Make command options:
> > >-        ODP_RELOC compile library with position independent code;
> > >-        VERBOSE turn on compilation debug;
> > >-        ODP_DEBUG_PRINT (default is yes) more debug information;
> > >-        DEBUG compile gdb friendly code;
> > >-        ODP_HAVE_NETMAP (linux-generic only) turn on netmap packet i/o
> > >+    How to build:
> > >+    ./bootstrap
> > >+    ./configure
> > >+    Use 'make' to build ODP library and samples and 'make doxygen-run'
> to build
> > >+    ODP API documentation. 'make install' will copy all required
> headers and
> > >+    binary files to the install directory.
> > >+
> > >+    Configure options:
> > >+        ./configure --help
> > >  ODP patches for 3-rd party applications:
> > >      git://git.linaro.org/lng/odp-apps.git
> >
> >
> > _______________________________________________
> > 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 8, 2014, 9:54 a.m. UTC | #4
On 2014-07-07 17:14, Bill Fischofer wrote:
> I tried following these instructions as written and get:
> 
> bill@Ubuntu13:~/linaro/odp$ ./bootstrap
> + aclocal -I config
> configure.ac:26: warning: macro 'AM_PROG_LIBTOOL' not found in library
> + libtoolize --copy
> ./bootstrap: 4: ./bootstrap: libtoolize: not found
> + autoheader
> + automake --add-missing --copy
> configure.ac:17: installing './compile'
> configure.ac:84: installing './config.guess'
> configure.ac:84: installing './config.sub'
> configure.ac:18: installing './install-sh'
> configure.ac:18: installing './missing'
> platform/linux-generic/Makefile.am:15: error: Libtool library used but
> 'LIBTOOL' is undefined
> platform/linux-generic/Makefile.am:15:   The usual way to define 'LIBTOOL'
> is to add 'LT_INIT'
> platform/linux-generic/Makefile.am:15:   to 'configure.ac' and run
> 'aclocal' and 'autoconf' again.
> platform/linux-generic/Makefile.am:15:   If 'LT_INIT' is in 'configure.ac',
> make sure
> platform/linux-generic/Makefile.am:15:   its definition is in aclocal's
> search path.
> platform/linux-generic/Makefile.am: installing './depcomp'
> platform/linux-keystone2/Makefile.am:27: error: Libtool library used but
> 'LIBTOOL' is undefined
> platform/linux-keystone2/Makefile.am:27:   The usual way to define
> 'LIBTOOL' is to add 'LT_INIT'
> platform/linux-keystone2/Makefile.am:27:   to 'configure.ac' and run
> 'aclocal' and 'autoconf' again.
> platform/linux-keystone2/Makefile.am:27:   If 'LT_INIT' is in 'configure.ac',
> make sure
> platform/linux-keystone2/Makefile.am:27:   its definition is in aclocal's
> search path.
> + autoconf
> configure.ac:26: error: possibly undefined macro: AM_PROG_LIBTOOL
>       If this token and others are legitimate, please use m4_pattern_allow.
>       See the Autoconf documentation.
> bill@Ubuntu13:~/linaro/odp$
> 
> Looks like there's more that needs to be documented?

Read what Maxim and I wrote in the previous emails...

Guessing your on a Ubuntu 12.04 system.
$ sudo apt-get install autoconf-archive

Cheers,
Anders

> 
> Bill
> 
> 
> 
> On Mon, Jul 7, 2014 at 4:28 PM, Anders Roxell <anders.roxell@linaro.org>
> wrote:
> 
> > On 2014-07-08 01:02, Maxim Uvarov wrote:
> > > Anders, I think we also need to add required package
> > > autoconf-archive to be installed. Looks like everybody find that it
> > > needs to be installed.
> >
> > Thats looks about right.
> > However, that should not go into a README file, that should be in a
> > DEPENDENCIES file...
> > Steve sent out such a patch beginning of June, with dependencies.
> > What happend there?
> > With the subject: "List required/suggested dependencies"
> >
> > Cheers,
> > Anders
> >
> > >
> > > Maxim.
> > >
> > > On 07/08/2014 12:07 AM, Anders Roxell wrote:
> > > >Signed-off-by: Anders Roxell <anders.roxell@linaro.org>
> > > >---
> > > >  README | 21 +++++++++------------
> > > >  1 file changed, 9 insertions(+), 12 deletions(-)
> > > >
> > > >diff --git a/README b/README
> > > >index 36545dd..9bc2978 100644
> > > >--- a/README
> > > >+++ b/README
> > > >@@ -14,18 +14,15 @@ Main git repository:
> > > >      for linux-generic target.
> > > >      Directory test contains test applications for ODP API calls and
> > features support.
> > > >-    Use 'make' to build ODP library and samples and 'make docs' to
> > build ODP API
> > > >-    documentation. 'make install' will copy all required headers and
> > binary files to
> > > >-    build directory.
> > > >-    For cross compiling set up appropriate CC:
> > > >-        make CC=armeb-linux-gnueabihf-gcc
> > > >-
> > > >-    Make command options:
> > > >-        ODP_RELOC compile library with position independent code;
> > > >-        VERBOSE turn on compilation debug;
> > > >-        ODP_DEBUG_PRINT (default is yes) more debug information;
> > > >-        DEBUG compile gdb friendly code;
> > > >-        ODP_HAVE_NETMAP (linux-generic only) turn on netmap packet i/o
> > > >+    How to build:
> > > >+    ./bootstrap
> > > >+    ./configure
> > > >+    Use 'make' to build ODP library and samples and 'make doxygen-run'
> > to build
> > > >+    ODP API documentation. 'make install' will copy all required
> > headers and
> > > >+    binary files to the install directory.
> > > >+
> > > >+    Configure options:
> > > >+        ./configure --help
> > > >  ODP patches for 3-rd party applications:
> > > >      git://git.linaro.org/lng/odp-apps.git
> > >
> > >
> > > _______________________________________________
> > > 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
> >
Santosh Shukla July 8, 2014, 10 a.m. UTC | #5
On 8 July 2014 15:24, Anders Roxell <anders.roxell@linaro.org> wrote:
> On 2014-07-07 17:14, Bill Fischofer wrote:
>> I tried following these instructions as written and get:
>>
>> bill@Ubuntu13:~/linaro/odp$ ./bootstrap
>> + aclocal -I config
>> configure.ac:26: warning: macro 'AM_PROG_LIBTOOL' not found in library
>> + libtoolize --copy
>> ./bootstrap: 4: ./bootstrap: libtoolize: not found
>> + autoheader
>> + automake --add-missing --copy
>> configure.ac:17: installing './compile'
>> configure.ac:84: installing './config.guess'
>> configure.ac:84: installing './config.sub'
>> configure.ac:18: installing './install-sh'
>> configure.ac:18: installing './missing'
>> platform/linux-generic/Makefile.am:15: error: Libtool library used but
>> 'LIBTOOL' is undefined
>> platform/linux-generic/Makefile.am:15:   The usual way to define 'LIBTOOL'
>> is to add 'LT_INIT'
>> platform/linux-generic/Makefile.am:15:   to 'configure.ac' and run
>> 'aclocal' and 'autoconf' again.
>> platform/linux-generic/Makefile.am:15:   If 'LT_INIT' is in 'configure.ac',
>> make sure
>> platform/linux-generic/Makefile.am:15:   its definition is in aclocal's
>> search path.
>> platform/linux-generic/Makefile.am: installing './depcomp'
>> platform/linux-keystone2/Makefile.am:27: error: Libtool library used but
>> 'LIBTOOL' is undefined
>> platform/linux-keystone2/Makefile.am:27:   The usual way to define
>> 'LIBTOOL' is to add 'LT_INIT'
>> platform/linux-keystone2/Makefile.am:27:   to 'configure.ac' and run
>> 'aclocal' and 'autoconf' again.
>> platform/linux-keystone2/Makefile.am:27:   If 'LT_INIT' is in 'configure.ac',
>> make sure
>> platform/linux-keystone2/Makefile.am:27:   its definition is in aclocal's
>> search path.
>> + autoconf
>> configure.ac:26: error: possibly undefined macro: AM_PROG_LIBTOOL
>>       If this token and others are legitimate, please use m4_pattern_allow.
>>       See the Autoconf documentation.
>> bill@Ubuntu13:~/linaro/odp$
>>
>> Looks like there's more that needs to be documented?
>
> Read what Maxim and I wrote in the previous emails...
>
> Guessing your on a Ubuntu 12.04 system.
> $ sudo apt-get install autoconf-archive
>

I hit same problem on other distro centOS/fedora and I had to install
automake, libtoolize -:)
yum install automake libtoolize

so in README we should mention dependency package name  for user to install.

> Cheers,
> Anders
>
>>
>> Bill
>>
>>
>>
>> On Mon, Jul 7, 2014 at 4:28 PM, Anders Roxell <anders.roxell@linaro.org>
>> wrote:
>>
>> > On 2014-07-08 01:02, Maxim Uvarov wrote:
>> > > Anders, I think we also need to add required package
>> > > autoconf-archive to be installed. Looks like everybody find that it
>> > > needs to be installed.
>> >
>> > Thats looks about right.
>> > However, that should not go into a README file, that should be in a
>> > DEPENDENCIES file...
>> > Steve sent out such a patch beginning of June, with dependencies.
>> > What happend there?
>> > With the subject: "List required/suggested dependencies"
>> >
>> > Cheers,
>> > Anders
>> >
>> > >
>> > > Maxim.
>> > >
>> > > On 07/08/2014 12:07 AM, Anders Roxell wrote:
>> > > >Signed-off-by: Anders Roxell <anders.roxell@linaro.org>
>> > > >---
>> > > >  README | 21 +++++++++------------
>> > > >  1 file changed, 9 insertions(+), 12 deletions(-)
>> > > >
>> > > >diff --git a/README b/README
>> > > >index 36545dd..9bc2978 100644
>> > > >--- a/README
>> > > >+++ b/README
>> > > >@@ -14,18 +14,15 @@ Main git repository:
>> > > >      for linux-generic target.
>> > > >      Directory test contains test applications for ODP API calls and
>> > features support.
>> > > >-    Use 'make' to build ODP library and samples and 'make docs' to
>> > build ODP API
>> > > >-    documentation. 'make install' will copy all required headers and
>> > binary files to
>> > > >-    build directory.
>> > > >-    For cross compiling set up appropriate CC:
>> > > >-        make CC=armeb-linux-gnueabihf-gcc
>> > > >-
>> > > >-    Make command options:
>> > > >-        ODP_RELOC compile library with position independent code;
>> > > >-        VERBOSE turn on compilation debug;
>> > > >-        ODP_DEBUG_PRINT (default is yes) more debug information;
>> > > >-        DEBUG compile gdb friendly code;
>> > > >-        ODP_HAVE_NETMAP (linux-generic only) turn on netmap packet i/o
>> > > >+    How to build:
>> > > >+    ./bootstrap
>> > > >+    ./configure
>> > > >+    Use 'make' to build ODP library and samples and 'make doxygen-run'
>> > to build
>> > > >+    ODP API documentation. 'make install' will copy all required
>> > headers and
>> > > >+    binary files to the install directory.
>> > > >+
>> > > >+    Configure options:
>> > > >+        ./configure --help
>> > > >  ODP patches for 3-rd party applications:
>> > > >      git://git.linaro.org/lng/odp-apps.git
>> > >
>> > >
>> > > _______________________________________________
>> > > 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
> anders.roxell@linaro.org
> M: +46 709 71 42 85 | IRC: roxell
>
> _______________________________________________
> lng-odp mailing list
> lng-odp@lists.linaro.org
> http://lists.linaro.org/mailman/listinfo/lng-odp
Maxim Uvarov July 8, 2014, 10:46 a.m. UTC | #6
On 07/08/2014 01:28 AM, Anders Roxell wrote:
> On 2014-07-08 01:02, Maxim Uvarov wrote:
>> Anders, I think we also need to add required package
>> autoconf-archive to be installed. Looks like everybody find that it
>> needs to be installed.
> Thats looks about right.
> However, that should not go into a README file, that should be in a
> DEPENDENCIES file...
> Steve sent out such a patch beginning of June, with dependencies.
> What happend there?
> With the subject: "List required/suggested dependencies"
Aha, ok so it's time to come back to that patch. Now it makes sense.
https://patches.linaro.org/31865/

Can you refine that patch now with needed changes and add reference from 
README to that file.
I think everybody start reading project from README.

Maxim.
>
> Cheers,
> Anders
>
>> Maxim.
>>
>> On 07/08/2014 12:07 AM, Anders Roxell wrote:
>>> Signed-off-by: Anders Roxell <anders.roxell@linaro.org>
>>> ---
>>>   README | 21 +++++++++------------
>>>   1 file changed, 9 insertions(+), 12 deletions(-)
>>>
>>> diff --git a/README b/README
>>> index 36545dd..9bc2978 100644
>>> --- a/README
>>> +++ b/README
>>> @@ -14,18 +14,15 @@ Main git repository:
>>>       for linux-generic target.
>>>       Directory test contains test applications for ODP API calls and features support.
>>> -    Use 'make' to build ODP library and samples and 'make docs' to build ODP API
>>> -    documentation. 'make install' will copy all required headers and binary files to
>>> -    build directory.
>>> -    For cross compiling set up appropriate CC:
>>> -        make CC=armeb-linux-gnueabihf-gcc
>>> -
>>> -    Make command options:
>>> -        ODP_RELOC compile library with position independent code;
>>> -        VERBOSE turn on compilation debug;
>>> -        ODP_DEBUG_PRINT (default is yes) more debug information;
>>> -        DEBUG compile gdb friendly code;
>>> -        ODP_HAVE_NETMAP (linux-generic only) turn on netmap packet i/o
>>> +    How to build:
>>> +    ./bootstrap
>>> +    ./configure
>>> +    Use 'make' to build ODP library and samples and 'make doxygen-run' to build
>>> +    ODP API documentation. 'make install' will copy all required headers and
>>> +    binary files to the install directory.
>>> +
>>> +    Configure options:
>>> +        ./configure --help
>>>   ODP patches for 3-rd party applications:
>>>       git://git.linaro.org/lng/odp-apps.git
>>
>> _______________________________________________
>> lng-odp mailing list
>> lng-odp@lists.linaro.org
>> http://lists.linaro.org/mailman/listinfo/lng-odp
Bill Fischofer July 8, 2014, 12:01 p.m. UTC | #7
Actually, I'm running Ubuntu 13.10.  Here's what happens now:

bill@Ubuntu13:~/linaro/odp$ sudo apt-get install autoconf-archive
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following package was automatically installed and is no longer required:
  libkms1
Use 'apt-get autoremove' to remove it.
The following NEW packages will be installed:
  autoconf-archive
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 793 kB of archives.
After this operation, 4,193 kB of additional disk space will be used.
Get:1 http://us.archive.ubuntu.com/ubuntu/ saucy/universe autoconf-archive
all 20111221-2 [793 kB]
Fetched 793 kB in 1s (670 kB/s)
Selecting previously unselected package autoconf-archive.
(Reading database ... 535709 files and directories currently installed.)
Unpacking autoconf-archive (from .../autoconf-archive_20111221-2_all.deb)
...
Processing triggers for doc-base ...
Processing 1 added doc-base file...
Registering documents with scrollkeeper...
Processing triggers for install-info ...
install-info: warning: no info dir entry in
`/usr/share/info/xemacs21/emodules.info.gz'
Setting up autoconf-archive (20111221-2) ...

OK, so missing package is now there, but then:

bill@Ubuntu13:~/linaro/odp$ ./bootstrap
+ aclocal -I config
configure.ac:26: warning: macro 'AM_PROG_LIBTOOL' not found in library
+ libtoolize --copy
./bootstrap: 4: ./bootstrap: libtoolize: not found
+ autoheader
+ automake --add-missing --copy
platform/linux-generic/Makefile.am:15: error: Libtool library used but
'LIBTOOL' is undefined
platform/linux-generic/Makefile.am:15:   The usual way to define 'LIBTOOL'
is to add 'LT_INIT'
platform/linux-generic/Makefile.am:15:   to 'configure.ac' and run
'aclocal' and 'autoconf' again.
platform/linux-generic/Makefile.am:15:   If 'LT_INIT' is in 'configure.ac',
make sure
platform/linux-generic/Makefile.am:15:   its definition is in aclocal's
search path.
platform/linux-keystone2/Makefile.am:27: error: Libtool library used but
'LIBTOOL' is undefined
platform/linux-keystone2/Makefile.am:27:   The usual way to define
'LIBTOOL' is to add 'LT_INIT'
platform/linux-keystone2/Makefile.am:27:   to 'configure.ac' and run
'aclocal' and 'autoconf' again.
platform/linux-keystone2/Makefile.am:27:   If 'LT_INIT' is in 'configure.ac',
make sure
platform/linux-keystone2/Makefile.am:27:   its definition is in aclocal's
search path.
+ autoconf
bill@Ubuntu13:~/linaro/odp$

So obviously something is still missing.

Bill



On Tue, Jul 8, 2014 at 5:46 AM, Maxim Uvarov <maxim.uvarov@linaro.org>
wrote:

> On 07/08/2014 01:28 AM, Anders Roxell wrote:
>
>> On 2014-07-08 01:02, Maxim Uvarov wrote:
>>
>>> Anders, I think we also need to add required package
>>> autoconf-archive to be installed. Looks like everybody find that it
>>> needs to be installed.
>>>
>> Thats looks about right.
>> However, that should not go into a README file, that should be in a
>> DEPENDENCIES file...
>> Steve sent out such a patch beginning of June, with dependencies.
>> What happend there?
>> With the subject: "List required/suggested dependencies"
>>
> Aha, ok so it's time to come back to that patch. Now it makes sense.
> https://patches.linaro.org/31865/
>
> Can you refine that patch now with needed changes and add reference from
> README to that file.
> I think everybody start reading project from README.
>
> Maxim.
>
>
>> Cheers,
>> Anders
>>
>>  Maxim.
>>>
>>> On 07/08/2014 12:07 AM, Anders Roxell wrote:
>>>
>>>> Signed-off-by: Anders Roxell <anders.roxell@linaro.org>
>>>> ---
>>>>   README | 21 +++++++++------------
>>>>   1 file changed, 9 insertions(+), 12 deletions(-)
>>>>
>>>> diff --git a/README b/README
>>>> index 36545dd..9bc2978 100644
>>>> --- a/README
>>>> +++ b/README
>>>> @@ -14,18 +14,15 @@ Main git repository:
>>>>       for linux-generic target.
>>>>       Directory test contains test applications for ODP API calls and
>>>> features support.
>>>> -    Use 'make' to build ODP library and samples and 'make docs' to
>>>> build ODP API
>>>> -    documentation. 'make install' will copy all required headers and
>>>> binary files to
>>>> -    build directory.
>>>> -    For cross compiling set up appropriate CC:
>>>> -        make CC=armeb-linux-gnueabihf-gcc
>>>> -
>>>> -    Make command options:
>>>> -        ODP_RELOC compile library with position independent code;
>>>> -        VERBOSE turn on compilation debug;
>>>> -        ODP_DEBUG_PRINT (default is yes) more debug information;
>>>> -        DEBUG compile gdb friendly code;
>>>> -        ODP_HAVE_NETMAP (linux-generic only) turn on netmap packet i/o
>>>> +    How to build:
>>>> +    ./bootstrap
>>>> +    ./configure
>>>> +    Use 'make' to build ODP library and samples and 'make doxygen-run'
>>>> to build
>>>> +    ODP API documentation. 'make install' will copy all required
>>>> headers and
>>>> +    binary files to the install directory.
>>>> +
>>>> +    Configure options:
>>>> +        ./configure --help
>>>>   ODP patches for 3-rd party applications:
>>>>       git://git.linaro.org/lng/odp-apps.git
>>>>
>>>
>>> _______________________________________________
>>> 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 July 8, 2014, 12:02 p.m. UTC | #8
google says apt-get install libtool


On 8 July 2014 08:01, Bill Fischofer <bill.fischofer@linaro.org> wrote:

> Actually, I'm running Ubuntu 13.10.  Here's what happens now:
>
> bill@Ubuntu13:~/linaro/odp$ sudo apt-get install autoconf-archive
> Reading package lists... Done
> Building dependency tree
> Reading state information... Done
> The following package was automatically installed and is no longer
> required:
>   libkms1
> Use 'apt-get autoremove' to remove it.
> The following NEW packages will be installed:
>   autoconf-archive
> 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
> Need to get 793 kB of archives.
> After this operation, 4,193 kB of additional disk space will be used.
> Get:1 http://us.archive.ubuntu.com/ubuntu/ saucy/universe
> autoconf-archive all 20111221-2 [793 kB]
> Fetched 793 kB in 1s (670 kB/s)
> Selecting previously unselected package autoconf-archive.
> (Reading database ... 535709 files and directories currently installed.)
> Unpacking autoconf-archive (from .../autoconf-archive_20111221-2_all.deb)
> ...
> Processing triggers for doc-base ...
> Processing 1 added doc-base file...
> Registering documents with scrollkeeper...
> Processing triggers for install-info ...
> install-info: warning: no info dir entry in
> `/usr/share/info/xemacs21/emodules.info.gz'
> Setting up autoconf-archive (20111221-2) ...
>
> OK, so missing package is now there, but then:
>
> bill@Ubuntu13:~/linaro/odp$ ./bootstrap
> + aclocal -I config
> configure.ac:26: warning: macro 'AM_PROG_LIBTOOL' not found in library
> + libtoolize --copy
> ./bootstrap: 4: ./bootstrap: libtoolize: not found
> + autoheader
> + automake --add-missing --copy
> platform/linux-generic/Makefile.am:15: error: Libtool library used but
> 'LIBTOOL' is undefined
> platform/linux-generic/Makefile.am:15:   The usual way to define 'LIBTOOL'
> is to add 'LT_INIT'
> platform/linux-generic/Makefile.am:15:   to 'configure.ac' and run
> 'aclocal' and 'autoconf' again.
> platform/linux-generic/Makefile.am:15:   If 'LT_INIT' is in 'configure.ac',
> make sure
> platform/linux-generic/Makefile.am:15:   its definition is in aclocal's
> search path.
> platform/linux-keystone2/Makefile.am:27: error: Libtool library used but
> 'LIBTOOL' is undefined
> platform/linux-keystone2/Makefile.am:27:   The usual way to define
> 'LIBTOOL' is to add 'LT_INIT'
> platform/linux-keystone2/Makefile.am:27:   to 'configure.ac' and run
> 'aclocal' and 'autoconf' again.
> platform/linux-keystone2/Makefile.am:27:   If 'LT_INIT' is in '
> configure.ac', make sure
> platform/linux-keystone2/Makefile.am:27:   its definition is in aclocal's
> search path.
> + autoconf
> bill@Ubuntu13:~/linaro/odp$
>
> So obviously something is still missing.
>
> Bill
>
>
>
> On Tue, Jul 8, 2014 at 5:46 AM, Maxim Uvarov <maxim.uvarov@linaro.org>
> wrote:
>
>> On 07/08/2014 01:28 AM, Anders Roxell wrote:
>>
>>> On 2014-07-08 01:02, Maxim Uvarov wrote:
>>>
>>>> Anders, I think we also need to add required package
>>>> autoconf-archive to be installed. Looks like everybody find that it
>>>> needs to be installed.
>>>>
>>> Thats looks about right.
>>> However, that should not go into a README file, that should be in a
>>> DEPENDENCIES file...
>>> Steve sent out such a patch beginning of June, with dependencies.
>>> What happend there?
>>> With the subject: "List required/suggested dependencies"
>>>
>> Aha, ok so it's time to come back to that patch. Now it makes sense.
>> https://patches.linaro.org/31865/
>>
>> Can you refine that patch now with needed changes and add reference from
>> README to that file.
>> I think everybody start reading project from README.
>>
>> Maxim.
>>
>>
>>> Cheers,
>>> Anders
>>>
>>>  Maxim.
>>>>
>>>> On 07/08/2014 12:07 AM, Anders Roxell wrote:
>>>>
>>>>> Signed-off-by: Anders Roxell <anders.roxell@linaro.org>
>>>>> ---
>>>>>   README | 21 +++++++++------------
>>>>>   1 file changed, 9 insertions(+), 12 deletions(-)
>>>>>
>>>>> diff --git a/README b/README
>>>>> index 36545dd..9bc2978 100644
>>>>> --- a/README
>>>>> +++ b/README
>>>>> @@ -14,18 +14,15 @@ Main git repository:
>>>>>       for linux-generic target.
>>>>>       Directory test contains test applications for ODP API calls and
>>>>> features support.
>>>>> -    Use 'make' to build ODP library and samples and 'make docs' to
>>>>> build ODP API
>>>>> -    documentation. 'make install' will copy all required headers and
>>>>> binary files to
>>>>> -    build directory.
>>>>> -    For cross compiling set up appropriate CC:
>>>>> -        make CC=armeb-linux-gnueabihf-gcc
>>>>> -
>>>>> -    Make command options:
>>>>> -        ODP_RELOC compile library with position independent code;
>>>>> -        VERBOSE turn on compilation debug;
>>>>> -        ODP_DEBUG_PRINT (default is yes) more debug information;
>>>>> -        DEBUG compile gdb friendly code;
>>>>> -        ODP_HAVE_NETMAP (linux-generic only) turn on netmap packet i/o
>>>>> +    How to build:
>>>>> +    ./bootstrap
>>>>> +    ./configure
>>>>> +    Use 'make' to build ODP library and samples and 'make
>>>>> doxygen-run' to build
>>>>> +    ODP API documentation. 'make install' will copy all required
>>>>> headers and
>>>>> +    binary files to the install directory.
>>>>> +
>>>>> +    Configure options:
>>>>> +        ./configure --help
>>>>>   ODP patches for 3-rd party applications:
>>>>>       git://git.linaro.org/lng/odp-apps.git
>>>>>
>>>>
>>>> _______________________________________________
>>>> 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
>>
>
>
> _______________________________________________
> lng-odp mailing list
> lng-odp@lists.linaro.org
> http://lists.linaro.org/mailman/listinfo/lng-odp
>
>
Bill Fischofer July 8, 2014, 12:11 p.m. UTC | #9
That works, but users shouldn't have to Google for answers.  That's what
the README file is supposed to be for.  It should point out all of the
packages we're now depending on to build ODP.

The patch should be reworked to include these.

Bill


On Tue, Jul 8, 2014 at 7:02 AM, Mike Holmes <mike.holmes@linaro.org> wrote:

> google says apt-get install libtool
>
>
> On 8 July 2014 08:01, Bill Fischofer <bill.fischofer@linaro.org> wrote:
>
>> Actually, I'm running Ubuntu 13.10.  Here's what happens now:
>>
>> bill@Ubuntu13:~/linaro/odp$ sudo apt-get install autoconf-archive
>> Reading package lists... Done
>> Building dependency tree
>> Reading state information... Done
>> The following package was automatically installed and is no longer
>> required:
>>   libkms1
>> Use 'apt-get autoremove' to remove it.
>> The following NEW packages will be installed:
>>   autoconf-archive
>> 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
>> Need to get 793 kB of archives.
>> After this operation, 4,193 kB of additional disk space will be used.
>> Get:1 http://us.archive.ubuntu.com/ubuntu/ saucy/universe
>> autoconf-archive all 20111221-2 [793 kB]
>> Fetched 793 kB in 1s (670 kB/s)
>> Selecting previously unselected package autoconf-archive.
>> (Reading database ... 535709 files and directories currently installed.)
>> Unpacking autoconf-archive (from .../autoconf-archive_20111221-2_all.deb)
>> ...
>> Processing triggers for doc-base ...
>> Processing 1 added doc-base file...
>> Registering documents with scrollkeeper...
>> Processing triggers for install-info ...
>> install-info: warning: no info dir entry in
>> `/usr/share/info/xemacs21/emodules.info.gz'
>> Setting up autoconf-archive (20111221-2) ...
>>
>> OK, so missing package is now there, but then:
>>
>> bill@Ubuntu13:~/linaro/odp$ ./bootstrap
>> + aclocal -I config
>> configure.ac:26: warning: macro 'AM_PROG_LIBTOOL' not found in library
>> + libtoolize --copy
>> ./bootstrap: 4: ./bootstrap: libtoolize: not found
>>  + autoheader
>> + automake --add-missing --copy
>> platform/linux-generic/Makefile.am:15: error: Libtool library used but
>> 'LIBTOOL' is undefined
>> platform/linux-generic/Makefile.am:15:   The usual way to define
>> 'LIBTOOL' is to add 'LT_INIT'
>> platform/linux-generic/Makefile.am:15:   to 'configure.ac' and run
>> 'aclocal' and 'autoconf' again.
>> platform/linux-generic/Makefile.am:15:   If 'LT_INIT' is in 'configure.ac',
>> make sure
>> platform/linux-generic/Makefile.am:15:   its definition is in aclocal's
>> search path.
>> platform/linux-keystone2/Makefile.am:27: error: Libtool library used but
>> 'LIBTOOL' is undefined
>> platform/linux-keystone2/Makefile.am:27:   The usual way to define
>> 'LIBTOOL' is to add 'LT_INIT'
>> platform/linux-keystone2/Makefile.am:27:   to 'configure.ac' and run
>> 'aclocal' and 'autoconf' again.
>> platform/linux-keystone2/Makefile.am:27:   If 'LT_INIT' is in '
>> configure.ac', make sure
>> platform/linux-keystone2/Makefile.am:27:   its definition is in aclocal's
>> search path.
>> + autoconf
>> bill@Ubuntu13:~/linaro/odp$
>>
>> So obviously something is still missing.
>>
>> Bill
>>
>>
>>
>> On Tue, Jul 8, 2014 at 5:46 AM, Maxim Uvarov <maxim.uvarov@linaro.org>
>> wrote:
>>
>>> On 07/08/2014 01:28 AM, Anders Roxell wrote:
>>>
>>>> On 2014-07-08 01:02, Maxim Uvarov wrote:
>>>>
>>>>> Anders, I think we also need to add required package
>>>>> autoconf-archive to be installed. Looks like everybody find that it
>>>>> needs to be installed.
>>>>>
>>>> Thats looks about right.
>>>> However, that should not go into a README file, that should be in a
>>>> DEPENDENCIES file...
>>>> Steve sent out such a patch beginning of June, with dependencies.
>>>> What happend there?
>>>> With the subject: "List required/suggested dependencies"
>>>>
>>> Aha, ok so it's time to come back to that patch. Now it makes sense.
>>> https://patches.linaro.org/31865/
>>>
>>> Can you refine that patch now with needed changes and add reference from
>>> README to that file.
>>> I think everybody start reading project from README.
>>>
>>> Maxim.
>>>
>>>
>>>> Cheers,
>>>> Anders
>>>>
>>>>  Maxim.
>>>>>
>>>>> On 07/08/2014 12:07 AM, Anders Roxell wrote:
>>>>>
>>>>>> Signed-off-by: Anders Roxell <anders.roxell@linaro.org>
>>>>>> ---
>>>>>>   README | 21 +++++++++------------
>>>>>>   1 file changed, 9 insertions(+), 12 deletions(-)
>>>>>>
>>>>>> diff --git a/README b/README
>>>>>> index 36545dd..9bc2978 100644
>>>>>> --- a/README
>>>>>> +++ b/README
>>>>>> @@ -14,18 +14,15 @@ Main git repository:
>>>>>>       for linux-generic target.
>>>>>>       Directory test contains test applications for ODP API calls and
>>>>>> features support.
>>>>>> -    Use 'make' to build ODP library and samples and 'make docs' to
>>>>>> build ODP API
>>>>>> -    documentation. 'make install' will copy all required headers and
>>>>>> binary files to
>>>>>> -    build directory.
>>>>>> -    For cross compiling set up appropriate CC:
>>>>>> -        make CC=armeb-linux-gnueabihf-gcc
>>>>>> -
>>>>>> -    Make command options:
>>>>>> -        ODP_RELOC compile library with position independent code;
>>>>>> -        VERBOSE turn on compilation debug;
>>>>>> -        ODP_DEBUG_PRINT (default is yes) more debug information;
>>>>>> -        DEBUG compile gdb friendly code;
>>>>>> -        ODP_HAVE_NETMAP (linux-generic only) turn on netmap packet
>>>>>> i/o
>>>>>> +    How to build:
>>>>>> +    ./bootstrap
>>>>>> +    ./configure
>>>>>> +    Use 'make' to build ODP library and samples and 'make
>>>>>> doxygen-run' to build
>>>>>> +    ODP API documentation. 'make install' will copy all required
>>>>>> headers and
>>>>>> +    binary files to the install directory.
>>>>>> +
>>>>>> +    Configure options:
>>>>>> +        ./configure --help
>>>>>>   ODP patches for 3-rd party applications:
>>>>>>       git://git.linaro.org/lng/odp-apps.git
>>>>>>
>>>>>
>>>>> _______________________________________________
>>>>> 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
>>>
>>
>>
>> _______________________________________________
>> 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
>
Anders Roxell July 8, 2014, 1:53 p.m. UTC | #10
On 2014-07-08 07:11, Bill Fischofer wrote:
> That works, but users shouldn't have to Google for answers.  That's what
> the README file is supposed to be for.  It should point out all of the
> packages we're now depending on to build ODP.

Users shouldn't need to do that, but I would probably do that anyway...
=)

> 
> The patch should be reworked to include these.

Maxim already said that, and that is correct.

I'm sorry that I didn't reply to Maxims email earlier.

Cheers,
Anders

> 
> Bill
> 
> 
> On Tue, Jul 8, 2014 at 7:02 AM, Mike Holmes <mike.holmes@linaro.org> wrote:
> 
> > google says apt-get install libtool
> >
> >
> > On 8 July 2014 08:01, Bill Fischofer <bill.fischofer@linaro.org> wrote:
> >
> >> Actually, I'm running Ubuntu 13.10.  Here's what happens now:
> >>
> >> bill@Ubuntu13:~/linaro/odp$ sudo apt-get install autoconf-archive
> >> Reading package lists... Done
> >> Building dependency tree
> >> Reading state information... Done
> >> The following package was automatically installed and is no longer
> >> required:
> >>   libkms1
> >> Use 'apt-get autoremove' to remove it.
> >> The following NEW packages will be installed:
> >>   autoconf-archive
> >> 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
> >> Need to get 793 kB of archives.
> >> After this operation, 4,193 kB of additional disk space will be used.
> >> Get:1 http://us.archive.ubuntu.com/ubuntu/ saucy/universe
> >> autoconf-archive all 20111221-2 [793 kB]
> >> Fetched 793 kB in 1s (670 kB/s)
> >> Selecting previously unselected package autoconf-archive.
> >> (Reading database ... 535709 files and directories currently installed.)
> >> Unpacking autoconf-archive (from .../autoconf-archive_20111221-2_all.deb)
> >> ...
> >> Processing triggers for doc-base ...
> >> Processing 1 added doc-base file...
> >> Registering documents with scrollkeeper...
> >> Processing triggers for install-info ...
> >> install-info: warning: no info dir entry in
> >> `/usr/share/info/xemacs21/emodules.info.gz'
> >> Setting up autoconf-archive (20111221-2) ...
> >>
> >> OK, so missing package is now there, but then:
> >>
> >> bill@Ubuntu13:~/linaro/odp$ ./bootstrap
> >> + aclocal -I config
> >> configure.ac:26: warning: macro 'AM_PROG_LIBTOOL' not found in library
> >> + libtoolize --copy
> >> ./bootstrap: 4: ./bootstrap: libtoolize: not found
> >>  + autoheader
> >> + automake --add-missing --copy
> >> platform/linux-generic/Makefile.am:15: error: Libtool library used but
> >> 'LIBTOOL' is undefined
> >> platform/linux-generic/Makefile.am:15:   The usual way to define
> >> 'LIBTOOL' is to add 'LT_INIT'
> >> platform/linux-generic/Makefile.am:15:   to 'configure.ac' and run
> >> 'aclocal' and 'autoconf' again.
> >> platform/linux-generic/Makefile.am:15:   If 'LT_INIT' is in 'configure.ac',
> >> make sure
> >> platform/linux-generic/Makefile.am:15:   its definition is in aclocal's
> >> search path.
> >> platform/linux-keystone2/Makefile.am:27: error: Libtool library used but
> >> 'LIBTOOL' is undefined
> >> platform/linux-keystone2/Makefile.am:27:   The usual way to define
> >> 'LIBTOOL' is to add 'LT_INIT'
> >> platform/linux-keystone2/Makefile.am:27:   to 'configure.ac' and run
> >> 'aclocal' and 'autoconf' again.
> >> platform/linux-keystone2/Makefile.am:27:   If 'LT_INIT' is in '
> >> configure.ac', make sure
> >> platform/linux-keystone2/Makefile.am:27:   its definition is in aclocal's
> >> search path.
> >> + autoconf
> >> bill@Ubuntu13:~/linaro/odp$
> >>
> >> So obviously something is still missing.
> >>
> >> Bill
> >>
> >>
> >>
> >> On Tue, Jul 8, 2014 at 5:46 AM, Maxim Uvarov <maxim.uvarov@linaro.org>
> >> wrote:
> >>
> >>> On 07/08/2014 01:28 AM, Anders Roxell wrote:
> >>>
> >>>> On 2014-07-08 01:02, Maxim Uvarov wrote:
> >>>>
> >>>>> Anders, I think we also need to add required package
> >>>>> autoconf-archive to be installed. Looks like everybody find that it
> >>>>> needs to be installed.
> >>>>>
> >>>> Thats looks about right.
> >>>> However, that should not go into a README file, that should be in a
> >>>> DEPENDENCIES file...
> >>>> Steve sent out such a patch beginning of June, with dependencies.
> >>>> What happend there?
> >>>> With the subject: "List required/suggested dependencies"
> >>>>
> >>> Aha, ok so it's time to come back to that patch. Now it makes sense.
> >>> https://patches.linaro.org/31865/
> >>>
> >>> Can you refine that patch now with needed changes and add reference from
> >>> README to that file.
> >>> I think everybody start reading project from README.
> >>>
> >>> Maxim.
> >>>
> >>>
> >>>> Cheers,
> >>>> Anders
> >>>>
> >>>>  Maxim.
> >>>>>
> >>>>> On 07/08/2014 12:07 AM, Anders Roxell wrote:
> >>>>>
> >>>>>> Signed-off-by: Anders Roxell <anders.roxell@linaro.org>
> >>>>>> ---
> >>>>>>   README | 21 +++++++++------------
> >>>>>>   1 file changed, 9 insertions(+), 12 deletions(-)
> >>>>>>
> >>>>>> diff --git a/README b/README
> >>>>>> index 36545dd..9bc2978 100644
> >>>>>> --- a/README
> >>>>>> +++ b/README
> >>>>>> @@ -14,18 +14,15 @@ Main git repository:
> >>>>>>       for linux-generic target.
> >>>>>>       Directory test contains test applications for ODP API calls and
> >>>>>> features support.
> >>>>>> -    Use 'make' to build ODP library and samples and 'make docs' to
> >>>>>> build ODP API
> >>>>>> -    documentation. 'make install' will copy all required headers and
> >>>>>> binary files to
> >>>>>> -    build directory.
> >>>>>> -    For cross compiling set up appropriate CC:
> >>>>>> -        make CC=armeb-linux-gnueabihf-gcc
> >>>>>> -
> >>>>>> -    Make command options:
> >>>>>> -        ODP_RELOC compile library with position independent code;
> >>>>>> -        VERBOSE turn on compilation debug;
> >>>>>> -        ODP_DEBUG_PRINT (default is yes) more debug information;
> >>>>>> -        DEBUG compile gdb friendly code;
> >>>>>> -        ODP_HAVE_NETMAP (linux-generic only) turn on netmap packet
> >>>>>> i/o
> >>>>>> +    How to build:
> >>>>>> +    ./bootstrap
> >>>>>> +    ./configure
> >>>>>> +    Use 'make' to build ODP library and samples and 'make
> >>>>>> doxygen-run' to build
> >>>>>> +    ODP API documentation. 'make install' will copy all required
> >>>>>> headers and
> >>>>>> +    binary files to the install directory.
> >>>>>> +
> >>>>>> +    Configure options:
> >>>>>> +        ./configure --help
> >>>>>>   ODP patches for 3-rd party applications:
> >>>>>>       git://git.linaro.org/lng/odp-apps.git
> >>>>>>
> >>>>>
> >>>>> _______________________________________________
> >>>>> 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
> >>>
> >>
> >>
> >> _______________________________________________
> >> 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 8, 2014, 4:20 p.m. UTC | #11
On Tue, Jul 08, 2014 at 03:53:25PM +0200, Anders Roxell wrote:
>On 2014-07-08 07:11, Bill Fischofer wrote:
>> That works, but users shouldn't have to Google for answers.  That's what
>> the README file is supposed to be for.  It should point out all of the
>> packages we're now depending on to build ODP.
>
>Users shouldn't need to do that, but I would probably do that anyway...
>=)
>
>> 
>> The patch should be reworked to include these.
>
>Maxim already said that, and that is correct.
>
>I'm sorry that I didn't reply to Maxims email earlier.

Working on a patch now...

Cheers,
Maxim Uvarov July 11, 2014, 1:41 p.m. UTC | #12
Applied,

thanks,
Maxim.

On 07/08/2014 12:07 AM, Anders Roxell wrote:
> Signed-off-by: Anders Roxell <anders.roxell@linaro.org>
> ---
>   README | 21 +++++++++------------
>   1 file changed, 9 insertions(+), 12 deletions(-)
>
> diff --git a/README b/README
> index 36545dd..9bc2978 100644
> --- a/README
> +++ b/README
> @@ -14,18 +14,15 @@ Main git repository:
>       for linux-generic target.
>       Directory test contains test applications for ODP API calls and features support.
>   
> -    Use 'make' to build ODP library and samples and 'make docs' to build ODP API
> -    documentation. 'make install' will copy all required headers and binary files to
> -    build directory.
> -    For cross compiling set up appropriate CC:
> -        make CC=armeb-linux-gnueabihf-gcc
> -
> -    Make command options:
> -        ODP_RELOC compile library with position independent code;
> -        VERBOSE turn on compilation debug;
> -        ODP_DEBUG_PRINT (default is yes) more debug information;
> -        DEBUG compile gdb friendly code;
> -        ODP_HAVE_NETMAP (linux-generic only) turn on netmap packet i/o
> +    How to build:
> +    ./bootstrap
> +    ./configure
> +    Use 'make' to build ODP library and samples and 'make doxygen-run' to build
> +    ODP API documentation. 'make install' will copy all required headers and
> +    binary files to the install directory.
> +
> +    Configure options:
> +        ./configure --help
>   
>   ODP patches for 3-rd party applications:
>       git://git.linaro.org/lng/odp-apps.git
diff mbox

Patch

diff --git a/README b/README
index 36545dd..9bc2978 100644
--- a/README
+++ b/README
@@ -14,18 +14,15 @@  Main git repository:
     for linux-generic target.
     Directory test contains test applications for ODP API calls and features support.
 
-    Use 'make' to build ODP library and samples and 'make docs' to build ODP API
-    documentation. 'make install' will copy all required headers and binary files to
-    build directory.
-    For cross compiling set up appropriate CC:
-        make CC=armeb-linux-gnueabihf-gcc
-
-    Make command options:
-        ODP_RELOC compile library with position independent code;
-        VERBOSE turn on compilation debug;
-        ODP_DEBUG_PRINT (default is yes) more debug information;
-        DEBUG compile gdb friendly code;
-        ODP_HAVE_NETMAP (linux-generic only) turn on netmap packet i/o
+    How to build:
+    ./bootstrap
+    ./configure
+    Use 'make' to build ODP library and samples and 'make doxygen-run' to build
+    ODP API documentation. 'make install' will copy all required headers and
+    binary files to the install directory.
+
+    Configure options:
+        ./configure --help
 
 ODP patches for 3-rd party applications:
     git://git.linaro.org/lng/odp-apps.git