fix validation
[platform/upstream/gstreamer.git] / docs / faq / cvs.xml
1 <sect1 id="chapter-cvs">
2   <title id="title-cvs">Building GStreamer from CVS</title>
3   <qandaset>
4
5     <qandaentry>
6       <question id="cvs">
7         <para>
8 I ran autogen.sh, but it fails with something like this:
9 <programlisting>
10 + running aclocal -I m4 -I common/m4 ...
11 aclocal: configure.ac: 8: macro `AM_DISABLE_STATIC' not found in library
12 aclocal: configure.ac: 17: macro `AM_PROG_LIBTOOL' not found in library
13 aclocal failed
14 </programlisting>
15 What's wrong ?
16         </para>
17       </question>
18
19       <answer>
20         <para>
21 aclocal is unable to find two macros installed by libtool in a file called
22 libtool.m4.  Normally this would indicate that you don't have libtool, but
23 that would mean autogen.sh would have failed on not finding libtool.
24         </para>
25         <para>
26 It is more likely that you installed automake (which provides aclocal) in
27 a different prefix than libtool.  You can check this by examining in what
28 prefix both aclocal and libtool are installed.
29         </para>
30         <para>
31 You can do three things to fix this :
32 <orderedlist>
33 <listitem><para>install automake in the same prefix as libtool</para></listitem>
34 <listitem><para>force use of the automake installed in the same prefix as libtool
35 by using the --with-automake option</para></listitem>
36 <listitem><para>figure out what prefix libtool has been installed to and point
37 aclocal to the right location by running
38 <programlisting>
39 export ACLOCAL_FLAGS="-I $(prefix)/share/aclocal"
40 </programlisting>
41 where you replace prefix with the prefix where libtool was installed.
42 </para></listitem>
43 </orderedlist>
44        </para>
45       </answer>
46     </qandaentry>
47   </qandaset>
48 </sect1>