Compiling solution found!!



If you are having problems with aclocal when you run ./autogen.sh that
look like this.

aclocal: configure.in: 11: macro `AM_PROG_LIBTOOL' not found in library
-or-
autoconf: Undefined macros:
configure.in:12:AC_CPP_ACCEPT_IDL
configure.in:16:AC_CPP_PIPE_STDIN

Here is one thing to try (it fixed my problems).  

>From what I can tell if you have automake and libtool installed into
different directories it is a bad thing.  This happened on my RedHat 5.2
system because automake was installed from rpm into /usr and I installed
libtool afterwards into /usr/local.  This made for a two sets of
.../share/aclocal dirs. and for some reason aclocal doesn't like that.  

My solution was to uninstall the automake (rpm -e automake) and
compile/install automake-1.3 (from ftp.gnu.org) into /usr/local (another
route may be to install libtool into /usr with the --prefix=/usr
option).  Then I re-installed libtool also into /usr/local (just to make
sure:)

With all the .m4 files in one location (/usr/local/share/aclocal)
everything worked for me.  

Good luck!
-Allen

PS.  I did have one other problem but that is because I was installing
my gnome files into /opt/gnome (not /usr/local).  After
compiling/installing modules that put m4 files into
/opt/gnome/share/local I would ust copy them into
/usr/local/share/local.  I guess I could make a link from
/usr/local/share to /opt/gnome/share but it is working and I don't care
:)   I think I may just re-compile/install into /usr/local to save me
some pain.



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]