<div>Hello.</div><div><br></div><div>I&#39;m trying to write my first GStreamer&#39;s plugin, following the suggestion in &quot;GStreamer Plugin Writer&#39;s Guide&quot;, chapter 3. I&#39;m having a trouble with autogen.sh</div>
<div><br></div><div>I&#39;ve used tools/make_element, and adjusted the src/Makefile.am has stated by the mentioned guide. When I launch autogen.sh it fails! I have no idea how to handle this situation.</div><div><br></div>
<div>Here you are the messages autogen.sh prints on the console:</div><div><br></div><div>autoreconf: Entering directory `.&#39;</div><div>autoreconf: <a href="http://configure.ac">configure.ac</a>: not using Gettext</div>
<div>autoreconf: running: aclocal --force </div><div>autoreconf: <a href="http://configure.ac">configure.ac</a>: tracing</div><div>autoreconf: running: libtoolize --copy --force</div><div>libtoolize: putting auxiliary files in `.&#39;.</div>
<div>libtoolize: copying file `./ltmain.sh&#39;</div><div>libtoolize: Consider adding `AC_CONFIG_MACRO_DIR([m4])&#39; to <a href="http://configure.ac">configure.ac</a> and</div><div>libtoolize: rerunning libtoolize, to keep the correct libtool macros in-tree.</div>
<div>libtoolize: Consider adding `-I m4&#39; to ACLOCAL_AMFLAGS in Makefile.am.</div><div>autoreconf: running: /usr/local/override_order/bin/autoconf --force</div><div><a href="http://configure.ac:29">configure.ac:29</a>: error: possibly undefined macro: AC_MSG_ERROR</div>
<div>      If this token and others are legitimate, please use m4_pattern_allow.</div><div>      See the Autoconf documentation.</div><div><a href="http://configure.ac:50">configure.ac:50</a>: error: possibly undefined macro: AC_SUBST</div>
<div>autoreconf: /usr/local/override_order/bin/autoconf failed with exit status: 1</div><div>autogen.sh failed</div><div><br></div><div><br></div><div>I&#39;m working on Mac OS X 10.6.3 </div><div>The strange path /usr/local/override_order/bin/ is because autotools shipped with Snow Leopard are a bit dated. I&#39;ve installed m4, autoconf, automake and libtool in /usr/local/override_order , which is first in my PATH environment variable (I do not want to change the &quot;standard&quot; /usr/bin:/usr/local/bin order). So my PATH variable is /usr/local/override_order/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/texbin:/usr/X11/bin</div>
<div><br></div><div>I&#39;ve build and installed:</div><div>* gstreamer-0.10.29</div><div>* gst-plugins-base-0.10.29</div><div>* gst-plugins-good-0.10.22</div><div>* gst-ffmpef-0.10.10</div><div>GStreamer is working fine.</div>
<div><br></div><div>Thanks for any suggestion.</div><div>Best regards,</div><div>Giorgio Buffa</div>