error compiling gnonlin from git, maybe because of too new autotools

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

error compiling gnonlin from git, maybe because of too new autotools

Aapo Rantalainen
Hi I'm trying to compile gnonlin from git. I'm using Ubuntu 9.10 and
this is what I have done:

git clone git://anongit.freedesktop.org/gstreamer/gnonlin
cd gnonlin
./autogen.sh


+ check for build tools
  checking for autoconf >= 2.52 ... found 2.64, ok.
  checking for automake >= 1.7 ... found 1.11, ok.
  checking for autopoint >= 0.17 ... found 0.17, ok.
  checking for libtoolize >= 1.5.0 ... found 2.2.6, ok.
  checking for pkg-config >= 0.8.0 ... found 0.22, ok.
+ checking for autogen.sh options
  This autogen script will automatically run ./configure as:
  ./configure --enable-maintainer-mode --enable-gtk-doc
  To pass any additional options, please specify them on the ./autogen.sh
  command line.
+ running libtoolize --copy --force...
libtoolize: putting macros in `common/m4'.
libtoolize: copying file `common/m4/libtool.m4'
libtoolize: copying file `common/m4/ltoptions.m4'
libtoolize: copying file `common/m4/ltsugar.m4'
libtoolize: copying file `common/m4/ltversion.m4'
libtoolize: copying file `common/m4/lt~obsolete.m4'
libtoolize: Consider adding `AC_CONFIG_MACRO_DIR([m4])' to configure.ac and
libtoolize: rerunning libtoolize, to keep the correct libtool macros in-tree.
+ running aclocal -I m4 -I common/m4 ...
+ running autoheader ...
+ running autoconf ...
+ running automake -a -c -Wno-portability...
configure.ac:40: required file `../ltmain.sh' not found
gnl/Makefile.am:45: noinst_HEADERS multiply defined in condition TRUE ...
gnl/Makefile.am:36: ... `noinst_HEADERS' previously defined here

automake failed



Maybe I have too new version of autotools, but what I should do? Are
you planning to use newer tools?

-Aapo Rantalainen

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: error compiling gnonlin from git, maybe because of too new autotools

Jan Schmidt-6
On Tue, 2009-11-17 at 18:53 +0200, Aapo Rantalainen wrote:
> Hi I'm trying to compile gnonlin from git. I'm using Ubuntu 9.10 and
> this is what I have done:

Thanks, there was a duplicate noinst_HEADERS line in the Makefile.am - I
removed it.

Cheers,
Jan.

>
> git clone git://anongit.freedesktop.org/gstreamer/gnonlin
> cd gnonlin
> ./autogen.sh
>
>
> + check for build tools
>   checking for autoconf >= 2.52 ... found 2.64, ok.
>   checking for automake >= 1.7 ... found 1.11, ok.
>   checking for autopoint >= 0.17 ... found 0.17, ok.
>   checking for libtoolize >= 1.5.0 ... found 2.2.6, ok.
>   checking for pkg-config >= 0.8.0 ... found 0.22, ok.
> + checking for autogen.sh options
>   This autogen script will automatically run ./configure as:
>   ./configure --enable-maintainer-mode --enable-gtk-doc
>   To pass any additional options, please specify them on the ./autogen.sh
>   command line.
> + running libtoolize --copy --force...
> libtoolize: putting macros in `common/m4'.
> libtoolize: copying file `common/m4/libtool.m4'
> libtoolize: copying file `common/m4/ltoptions.m4'
> libtoolize: copying file `common/m4/ltsugar.m4'
> libtoolize: copying file `common/m4/ltversion.m4'
> libtoolize: copying file `common/m4/lt~obsolete.m4'
> libtoolize: Consider adding `AC_CONFIG_MACRO_DIR([m4])' to configure.ac and
> libtoolize: rerunning libtoolize, to keep the correct libtool macros in-tree.
> + running aclocal -I m4 -I common/m4 ...
> + running autoheader ...
> + running autoconf ...
> + running automake -a -c -Wno-portability...
> configure.ac:40: required file `../ltmain.sh' not found
> gnl/Makefile.am:45: noinst_HEADERS multiply defined in condition TRUE ...
> gnl/Makefile.am:36: ... `noinst_HEADERS' previously defined here
>
> automake failed
>
>
>
> Maybe I have too new version of autotools, but what I should do? Are
> you planning to use newer tools?
>
> -Aapo Rantalainen
>
> ------------------------------------------------------------------------------
> Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
> trial. Simplify your report design, integration and deployment - and focus on
> what you do best, core application coding. Discover what's new with
> Crystal Reports now.  http://p.sf.net/sfu/bobj-july
> _______________________________________________
> gstreamer-devel mailing list
> [hidden email]
> https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
>


--
Jan Schmidt <[hidden email]>


------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: error compiling gnonlin from git, maybe because of too new autotools

Aapo Rantalainen
2009/11/17 Jan Schmidt <[hidden email]>:
> On Tue, 2009-11-17 at 18:53 +0200, Aapo Rantalainen wrote:
>> Hi I'm trying to compile gnonlin from git. I'm using Ubuntu 9.10 and
>> this is what I have done:
>
> Thanks, there was a duplicate noinst_HEADERS line in the Makefile.am - I
> removed it.
>
> Cheers,
> Jan.

Hi, this didn't fix my problem.

I add AC_CONFIG_AUX_DIR([.]) to configure.ac just before AM_INIT_AUTOMAKE

And now I got it configured and compiled.

-Aapo Rantalainen

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel