autogen.sh in gst-template gives error
Alex Song
aqfsong at yahoo.ca
Thu May 19 21:06:13 PDT 2011
Thanks very much Stefen.
I installed libtool 2.2.6b to /usr/local/ cause I noticed
LT_PREREQ([2.2.6])
LT_INIT
in configure.ac. The libtool comes with my distribution (FC10) is 1.5.26.
You are right that the aclocal in my distribution doesn't get along with
libtool 2.2.6b. I got several weird issues.
Anyway, with libtool in my distribution and with following patch to
configure.ac, I was able to run autogen.sh correctly. I even cross compiled
the plugin for mips.
dnl required version of libtool
-LT_PREREQ([2.2.6])
-LT_INIT
+AC_PROG_LIBTOOL
+dnl LT_PREREQ([2.2.6])
+dnl LT_INIT
This should get me going for a while. Thanks!
Alex
>>>>> On Tue, 17 May 2011 16:02:20 +0300, ensonic at hora-obscura.de wrote:
> Hi, Am 16.05.2011 23:56, schrieb Alex Song:
>>
>> Hello,
>>
>> I'm new to gstreamer and I'm trying to write a plugin. I started
>> according to "Plugin Writer's Guide" and downloaded gst-template. But
>> when I did
>>
>>
>> ./auto-gen.sh
>>
>> I got
>>
>> src/Makefile.am:6: Libtool library used but `LIBTOOL' is undefined
>> src/Makefile.am:6: The usual way to define `LIBTOOL' is to add
>> `AC_PROG_LIBTOOL' src/Makefile.am:6: to `configure.ac' and run
>> `aclocal' and `autoconf' again. src/Makefile.am:6: If
>> `AC_PROG_LIBTOOL' is in `configure.ac', make sure src/Makefile.am:6:
>> its definition is in aclocal's search path. src/Makefile.am:
>> installing `./depcomp' Makefile.am: installing `./INSTALL' autoreconf:
>> automake failed with exit status: 1 autogen.sh failed
>>
>> I tried installing libtool 2.2.6b to /usr/local and tried to put
>> AC_PROG_LIBTOOL to configure.ac but they didn't help.
> It would be better to install the libtool package from your
> distribution. If you install it yourself to /usr/local chances are small
> that aclocal will pick up the libtool.m4.
> As an alternative you could get yourself the gst-plugin-bad package from
> git and try gst-element-maker, this will take over gst-template (yes,
> the docs shall be fixed).
> Stefan
>>
>> How to fix this issue?
>>
>> Thanks very much,
>>
>> Alex
>>
>>
>> _______________________________________________ gstreamer-devel mailing
>> list gstreamer-devel at lists.freedesktop.org
>> http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
> _______________________________________________ gstreamer-devel mailing
> list gstreamer-devel at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
--
However, if you want the underlying mechanism, it isnt a semantic issue,
because at some level, there is no more rug to shuffle things under. - Bilge
More information about the gstreamer-devel
mailing list