Re: Can't compile libIDL (autogen.sh/libtool problems)



"Mark A. Pitman" wrote:

> "Andrew T. Veliath" wrote:
>
> >  .........----------------==================----
> > ..--==-  Wed, 16 Dec 1998 15:09:11 -0700,
> > ..--==-  Mark A Pitman (MAP) discussed:
> >
> >  MAP)  Allen Unueco wrote:
> >  )) Mainly I've been having difficulty using aclocal and getting it to
> >  )) include .m4 files correctly.  No matter what I do aclocal never
> >  )) finds AM_PROG_LIBTOOL, AC_CPP_ACCEPT_IDL, or AC_CPP_PIPE_STDIN.
> >  )) Also it always complains about "duplicated macro `AM_PATH_GTK'"
> >  )) from gtk.m4.
> >  )) /opt/gnome/share/aclocal/gtk.m4: 7: duplicated macro `AM_PATH_GTK'
> >  )) aclocal: configure.in: 28: macro `AM_PROG_LIBTOOL' not found in
> >
> >  MAP)  I am having the same problems, I just CVS'd the latest versions
> >  MAP)  of libIDL and ORBit.  Does anyone have a fix for this problem?
> >  MAP)  I have now been trying to get gnome installed for 2 weeks and I
> >  MAP)  am getting frustrated!  I was able to get the CVS versions of
> >  MAP)  glib and gtk+ installed without too much trouble.  Thanks in
> >  MAP)  advance for any ideas!
> >
> > Fix your duplicate m4 files (ie gtk.m4 in /usr/share/aclocal and
> > /opt/gnome/share/aclocal, remove it from /usr/share/aclocal) and your
> > macro problems should disappear.
> >
> > --
> > Andrew          Whenever people agree with me, I always think I must be wrong.
> >                 - Oscar Wilde
> >
> > --
> >         FAQ: Frequently-Asked Questions at http://www.gnome.org/gnomefaq
> >          To unsubscribe: mail gnome-list-request@gnome.org with
> >                        "unsubscribe" as the Subject.
>
> OK, I did that, and now I still get this when running autogen in libIDL:
>
> aclocal: configure.in: 28: macro `AM_PROG_LIBTOOL' not found in library
> aclocal: configure.in: 33: macro `AM_PATH_GLIB' not found in library
> autoconf: Undefined macros:
> configure.in:12:AC_CPP_ACCEPT_IDL
> configure.in:16:AC_CPP_PIPE_STDIN
> Running ./configure --enable-maintainer-mode --prefix=/usr/local
> loading cache ./config.cache
> ./configure: syntax error near unexpected token `AM_INIT_AUTOMAKE(libIDL,'
> ./configure: ./configure: line 527: `AM_INIT_AUTOMAKE(libIDL, 0.5.7)'
>
> --
>         FAQ: Frequently-Asked Questions at http://www.gnome.org/gnomefaq
>          To unsubscribe: mail gnome-list-request@gnome.org with
>                        "unsubscribe" as the Subject.

I took someone's else's advice on the list and moved the files in
/usr/local/share/aclocal to /usr/share/aclocal, then deleted
/usr/local/share/aclocal and made it a symlink to /usr/share/aclocal

That did the trick!

Mark



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