After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 605562 - gst-template error in git version
gst-template error in git version
Status: RESOLVED INCOMPLETE
Product: GStreamer
Classification: Platform
Component: gst-plugins
git master
Other Linux
: Normal critical
: NONE
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2009-12-27 20:00 UTC by sreerenj
Modified: 2010-03-23 23:45 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
libtool file taken from the git version of "gstreamer" (204.26 KB, text/plain)
2009-12-28 06:07 UTC, sreerenj
Details

Description sreerenj 2009-12-27 20:00:09 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
Comment 1 sreerenj 2009-12-28 06:07:09 UTC
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.
Comment 2 Stefan Sauer (gstreamer, gtkdoc dev) 2010-01-24 08:50:36 UTC
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.
Comment 3 sreerenj 2010-01-27 05:42:37 UTC
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!
Comment 4 Fabio Durán Verdugo 2010-03-15 15:03:29 UTC
Then I close this bug with FIXED
Comment 5 Tim-Philipp Müller 2010-03-23 13:51:53 UTC
> 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.
Comment 6 Tim-Philipp Müller 2010-03-23 23:45:54 UTC
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.