Sophie

Sophie

distrib > Mandriva > 10.0-com > i586 > by-pkgid > f0a9f2b9c81d34eadc43f527947c0b70 > files > 81

libgstreamer0.7-devel-0.7.4-2mdk.i586.rpm

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<HTML
><HEAD
><TITLE
>Building GStreamer from CVS</TITLE
><META
NAME="GENERATOR"
CONTENT="Modular DocBook HTML Stylesheet Version 1.7"><LINK
REL="HOME"
HREF="index.html"><LINK
REL="PREVIOUS"
TITLE="Troubleshooting GStreamer"
HREF="chapter-troubleshooting.html"><LINK
REL="NEXT"
TITLE="Developing applications with GStreamer"
HREF="chapter-developing.html"></HEAD
><BODY
CLASS="sect1"
BGCOLOR="#FFFFFF"
TEXT="#000000"
LINK="#0000FF"
VLINK="#840084"
ALINK="#0000FF"
><DIV
CLASS="NAVHEADER"
><TABLE
SUMMARY="Header navigation table"
WIDTH="100%"
BORDER="0"
CELLPADDING="0"
CELLSPACING="0"
><TR
><TH
COLSPAN="3"
ALIGN="center"
></TH
></TR
><TR
><TD
WIDTH="10%"
ALIGN="left"
VALIGN="bottom"
><A
HREF="chapter-troubleshooting.html"
ACCESSKEY="P"
>Prev</A
></TD
><TD
WIDTH="80%"
ALIGN="center"
VALIGN="bottom"
></TD
><TD
WIDTH="10%"
ALIGN="right"
VALIGN="bottom"
><A
HREF="chapter-developing.html"
ACCESSKEY="N"
>Next</A
></TD
></TR
></TABLE
><HR
ALIGN="LEFT"
WIDTH="100%"></DIV
><DIV
CLASS="sect1"
><H1
CLASS="sect1"
><A
NAME="chapter-cvs"
>7. Building GStreamer from CVS</A
></H1
><DIV
CLASS="qandaset"
><DL
><DT
>7.1. <A
HREF="chapter-cvs.html#cvs"
>&#13;I ran autogen.sh, but it fails with something like this:
<PRE
CLASS="programlisting"
>&#13;+ running aclocal -I m4 -I common/m4 ...
aclocal: configure.ac: 8: macro `AM_DISABLE_STATIC' not found in library
aclocal: configure.ac: 17: macro `AM_PROG_LIBTOOL' not found in library
aclocal failed
</PRE
>
What's wrong ?
        </A
></DT
></DL
><DIV
CLASS="qandaentry"
><DIV
CLASS="question"
><P
><A
NAME="cvs"
></A
><B
>7.1. </B
>
I ran autogen.sh, but it fails with something like this:
<PRE
CLASS="programlisting"
>&#13;+ running aclocal -I m4 -I common/m4 ...
aclocal: configure.ac: 8: macro `AM_DISABLE_STATIC' not found in library
aclocal: configure.ac: 17: macro `AM_PROG_LIBTOOL' not found in library
aclocal failed
</PRE
>
What's wrong ?
        </P
></DIV
><DIV
CLASS="answer"
><P
><B
> </B
>
aclocal is unable to find two macros installed by libtool in a file called
libtool.m4.  Normally this would indicate that you don't have libtool, but
that would mean autogen.sh would have failed on not finding libtool.
        </P
><P
>&#13;It is more likely that you installed automake (which provides aclocal) in
a different prefix than libtool.  You can check this by examining in what
prefix both aclocal and libtool are installed.
        </P
><P
>&#13;You can do three things to fix this :
<P
></P
><OL
TYPE="1"
><LI
><P
>install automake in the same prefix as libtool</P
></LI
><LI
><P
>force use of the automake installed in the same prefix as libtool
by using the --with-automake option</P
></LI
><LI
><P
>figure out what prefix libtool has been installed to and point
aclocal to the right location by running
<PRE
CLASS="programlisting"
>&#13;export ACLOCAL_FLAGS="-I $(prefix)/share/aclocal"
</PRE
>
where you replace prefix with the prefix where libtool was installed.
</P
></LI
></OL
>
       </P
></DIV
></DIV
></DIV
></DIV
><DIV
CLASS="NAVFOOTER"
><HR
ALIGN="LEFT"
WIDTH="100%"><TABLE
SUMMARY="Footer navigation table"
WIDTH="100%"
BORDER="0"
CELLPADDING="0"
CELLSPACING="0"
><TR
><TD
WIDTH="33%"
ALIGN="left"
VALIGN="top"
><A
HREF="chapter-troubleshooting.html"
ACCESSKEY="P"
>Prev</A
></TD
><TD
WIDTH="34%"
ALIGN="center"
VALIGN="top"
><A
HREF="index.html"
ACCESSKEY="H"
>Home</A
></TD
><TD
WIDTH="33%"
ALIGN="right"
VALIGN="top"
><A
HREF="chapter-developing.html"
ACCESSKEY="N"
>Next</A
></TD
></TR
><TR
><TD
WIDTH="33%"
ALIGN="left"
VALIGN="top"
>Troubleshooting GStreamer</TD
><TD
WIDTH="34%"
ALIGN="center"
VALIGN="top"
>&nbsp;</TD
><TD
WIDTH="33%"
ALIGN="right"
VALIGN="top"
>Developing applications with GStreamer</TD
></TR
></TABLE
></DIV
></BODY
></HTML
>