GNOME Bugzilla – Bug 605562
gst-template error in git version
Last modified: 2010-03-23 23:45:54 UTC
I tried to install gst-template which is taken from git. cd gst-template/gst-plugin ./autogen.sh --prefix=/user/local make But getting errors like ../libtool: line 463: CDPATH: command not found ../libtool: line 1141: func_opt_split: command not found libtool: Version mismatch error. This is libtool 2.2.6b, but the libtool: definition of this LT_INIT comes from an older release. libtool: You should recreate aclocal.m4 with macros from libtool 2.2.6b libtool: and run autoconf again. make[2]: *** [libgstplugin_la-gstplugin.lo] Error 63 make[2]: Leaving directory `/root/test/gst-template/gst-plugin/src' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/root/test/gst-template/gst-plugin' make: *** [all] Error 2 I am using libtool 2.2.6b autoconf 2.65 automake 1.10.1
Created attachment 150483 [details] libtool file taken from the git version of "gstreamer" This is the libtool file to avoid error in "make" process of gst-template.
running autogen.sh creates the libtool scrip, like it does for core. So if you run autogen in gstreamer and gst-template/gst-plugin you should end up with the same libtols script. Please confirm.
Ya i checked it. ./autogen.sh creating the libtool file.And for gst-template this created libtool file generating the following error during make process. ../libtool: line 463: CDPATH: command not found ../libtool: line 1141: func_opt_split: command not found libtool: Version mismatch error. This is libtool 2.2.6b, but the libtool: definition of this LT_INIT comes from an older release. libtool: You should recreate aclocal.m4 with macros from libtool 2.2.6b libtool: and run autoconf again. So i copied the libtool file from gstreamer core taken from git repository to the gst-template/gst-plugin folder.And done the make process(not the ./autogen.sh).It worked fine now!
Then I close this bug with FIXED
> Then I close this bug with FIXED Fabio: the reporter had to manually copy files from somewhere else into the source tree to make things work, I don't think that qualifies as the issue being FIXED :) However, this looks more like a problem with sreerenj's libtool/aclocal/autoconf setup/installation - we don't ship any libtool .m4 files or somesuch in the repository, so if something goes wrong then it goes wrong because libtoolize/aclocal or whatever find/install/use stuff from the system that doesn't match. I'm not sure there's anything we can do about this, so closing. Please re-open if you have evidence that there's anything wrong with gst-template.
Actually, this *might* be related to bug #582021 (autogen: libtoolize must be called before aclocal). However, I've changed things around a bit so that we only use a minimal autools setup and autoreconf does all the work in autogen.sh instead of our custom script. Hopefully that fixes the issue for you as well. commit 3fbab315ebe58701b0c3b2519d1e8b33fcbbb663 Author: Tim-Philipp Müller <tim.muller@collabora.co.uk> Date: Tue Mar 23 16:42:24 2010 +0000 gst-plugin: use minimal configure.ac Get rid of all the custom GStreamer autogen.sh and configure.ac cruft, turn configure.ac into a minimal example, so people have a chance to make sense of it. Use autoreconf in autogen.sh. Might fix #605562 as a side-effect.