Re: automake/autoconf woes



Matthias,

This is usually caused by having duplicate m4 files in different places
that automake is looking at.  You probably have a /usr/share/aclocal/
and a /usr/local/share/aclocal/ directory each with .m4 files in it and
probably the same ones of a lot of them.  Try moving all of them from
/usr/local/share/aclocal to /usr/share/aclocal, removing the
/usr/local/share/aclocal directory, and rerunning ./autogen.sh

-Brian

-- 
 ________________________________      ______________________________
|         Brian M Dial           |\   |  Rummel, Klepper & Kahl, LLP |\
|  Unix Systems Administrator    | |  |      Consulting Engineers    | |
|     bdial@rkkengineers.com     |====|  http://www.rkkengineers.com | |
|   brian@rasputin.linuxos.net   | |  |______________________________| |
| ring ring: 410.728.2900 x1329  | |   \______________________________\|
|    beep beep: 410.579.9754     | |
|        whois: BD8066           | |  "Life is a whim of several billion
|________________________________| |     cells to be you for a while."
 \________________________________\|
Matthias Warkus wrote:
> 
> This is what I get whenever I want to build any newly checked out CVS
> module. It's a typescript, I hope you can make sense of it. Apologies
> for the control characters, I don't know how to get rid of them.
> 
> BTW, I've got automake 1.4 and autoconf 2.14; the module I've tried to
> build below has been freshly checked out, no changes made. Simply
> appending the mentioned files to aclocal.m4 didn't solve any problem.
> 
> Script started on Fri Apr 30 17:11:58 1999
> [mawa@audrey]: ~/gnome-cvs/gnome-media$ autogen.sh --hel   prefix=/opt/gnome
> 
> processing .
> 
> Creating ./aclocal.m4 ...
> 
> Running gettextize...  Ignore non-fatal messages.
> 
> You should update your own `aclocal.m4' by adding the necessary
> 
> macro packages gettext.m4, lcmessage.m4 and progtest.m4 from
> 
> the directory `/aclocal'
> 
> Making ./aclocal.m4 writable ...
> 
> Running libtoolize...
> 
> Running aclocal -I /usr/local/share/aclocal -I macros ...
> 
> aclocal: /usr/local/share/aclocal/audiofile.m4: 12: duplicated macro `AM_PATH_AUDIOFILE'
> 
> aclocal: /usr/local/share/aclocal/ccstdc.m4: 23: duplicated macro `AM_PROG_CC_STDC'
> 
> aclocal: /usr/local/share/aclocal/cond.m4: 3: duplicated macro `AM_CONDITIONAL'
> 
> aclocal: /usr/local/share/aclocal/dmalloc.m4: 8: duplicated macro `AM_WITH_DMALLOC'
> 
> aclocal: /usr/local/share/aclocal/error.m4: 4: duplicated macro `AM_FUNC_ERROR_AT_LINE'
> 
> aclocal: /usr/local/share/aclocal/glib.m4: 8: duplicated macro `AM_PATH_GLIB'
> 
> aclocal: /usr/local/share/aclocal/gtk.m4: 7: duplicated macro `AM_PATH_GTK'
> 
> aclocal: /usr/local/share/aclocal/header.m4: 3: duplicated macro `AM_CONFIG_HEADER'
> 
> aclocal: /usr/local/share/aclocal/imlib.m4: 9: duplicated macro `AM_PATH_IMLIB'
> 
> aclocal: /usr/local/share/aclocal/imlib.m4: 167: duplicated macro `AM_PATH_GDK_IMLIB'
> 
> aclocal: /usr/local/share/aclocal/init.m4: 10: duplicated macro `AM_INIT_AUTOMAKE'
> 
> aclocal: /usr/local/share/aclocal/lex.m4: 6: duplicated macro `AM_PROG_LEX'
> 
> aclocal: /usr/local/share/aclocal/lispdir.m4: 8: duplicated macro `AM_PATH_LISPDIR'
> 
> aclocal: /usr/local/share/aclocal/maintainer.m4: 6: duplicated macro `AM_MAINTAINER_MODE'
> 
> aclocal: /usr/local/share/aclocal/missing.m4: 6: duplicated macro `AM_MISSING_PROG'
> 
> aclocal: /usr/local/share/aclocal/mktime.m4: 6: duplicated macro `AM_FUNC_MKTIME'
> 
> aclocal: /usr/local/share/aclocal/multi.m4: 4: duplicated macro `AM_ENABLE_MULTILIB'
> 
> aclocal: /usr/local/share/aclocal/obstack.m4: 4: duplicated macro `AM_FUNC_OBSTACK'
> 
> aclocal: /usr/local/share/aclocal/protos.m4: 8: duplicated macro `AM_C_PROTOTYPES'
> 
> aclocal: /usr/local/share/aclocal/ptrdiff.m4: 5: duplicated macro `AM_TYPE_PTRDIFF_T'
> 
> aclocal: /usr/local/share/aclocal/regex.m4: 17: duplicated macro `AM_WITH_REGEX'
> 
> aclocal: /usr/local/share/aclocal/sanity.m4: 5: duplicated macro `AM_SANITY_CHECK'
> 
> aclocal: /usr/local/share/aclocal/strtod.m4: 30: duplicated macro `AM_FUNC_STRTOD'
> 
> aclocal: /usr/local/share/aclocal/termios.m4: 5: duplicated macro `AM_SYS_POSIX_TERMIOS'
> 
> aclocal: /usr/local/share/aclocal/winsz.m4: 5: duplicated macro `AM_HEADER_TIOCGWINSZ_NEEDS_SYS_IOCTL'
> 
> aclocal: configure.in: 42: macro `AM_PROG_LIBTOOL' not found in library
> 
> aclocal: configure.in: 54: macro `AM_PATH_PROG_WITH_TEST' not found in library
> 
> aclocal: configure.in: 54: macro `AM_PATH_PROG_WITH_TEST' not found in library
> 
> aclocal: configure.in: 54: macro `AM_PATH_PROG_WITH_TEST' not found in library
> 
> aclocal: configure.in: 54: macro `AM_PATH_PROG_WITH_TEST' not found in library
> 
> aclocal: configure.in: 54: macro `AM_PATH_PROG_WITH_TEST' not found in library
> 
> aclocal: configure.in: 54: macro `AM_PATH_PROG_WITH_TEST' not found in library
> 
> aclocal: configure.in: 54: macro `AM_LC_MESSAGES' not found in library
> 
> Running autoheader...
> 
> Running automake --gnu  ...
> 
> extace/Makefile.am:19: variable `GNOME_LIBDIR' not defined
> 
> extace/Makefile.am:19: variable `GNOMEUI_LIBS' not defined
> 
> extace/Makefile.am:19: variable `INTLLIBS' not defined
> 
> extace/Makefile.am:19: variable `ESD_LIBS' not defined
> 
> gmix/Makefile.am:14: variable `GNOME_LIBDIR' not defined
> 
> gmix/Makefile.am:14: variable `GNOMEUI_LIBS' not defined
> 
> gmix/Makefile.am:14: variable `INTLLIBS' not defined
> 
> vu-meter/Makefile.am:16: variable `GNOME_LIBDIR' not defined
> 
> vu-meter/Makefile.am:16: variable `GNOMEUI_LIBS' not defined
> 
> macros/Makefile.am:31: INSIDE_GNOME_COMMON does not appear in AM_CONDITIONAL
> 
> tcd/Makefile.am:48: variable `GNOME_LIBDIR' not defined
> 
> tcd/Makefile.am:48: variable `GNOMEUI_LIBS' not defined
> 
> tcd/Makefile.am:48: variable `INTLLIBS' not defined
> 
> tcd/Makefile.am:52: variable `GNOME_LIBDIR' not defined
> 
> tcd/Makefile.am:52: variable `CURSES_LIBS' not defined
> 
> tcd/Makefile.am:52: variable `INTLLIBS' not defined
> 
> cddbslave/Makefile.am:8: variable `GNOME_LIBDIR' not defined
> 
> cddbslave/Makefile.am:8: variable `GNOME_LIBS' not defined
> 
> cddbslave/Makefile.am:8: variable `GHTTP_LIB' not defined
> 
> cddbslave/Makefile.am:8: variable `INTLLIBS' not defined
> 
> cddbslave/Makefile.am:14: variable `GNOME_LIBDIR' not defined
> 
> cddbslave/Makefile.am:14: variable `GNOME_LIBS' not defined
> 
> cddbslave/Makefile.am:14: variable `GHTTP_LIB' not defined
> 
> cddbslave/Makefile.am:14: variable `INTLLIBS' not defined
> 
> Running autoconf ...
> 
> autoconf: Undefined macros:
> 
> configure.in:21:AC_CHECK_CURSES
> 
> Running ./configure --enable-maintainer-mode --enable-compile-warnings --prefix=/opt/gnome ...
> 
> loading cache ./config.cache
> 
> ./configure: line 531: syntax error near unexpected token `AM_CONFIG_HEADER(config.h)'
> 
> ./configure: line 531: `AM_CONFIG_HEADER(config.h)'
> 
> [mawa@audrey]: ~/gnome-cvs/gnome-media$ exit
> 
> exit
> 
> Script done on Fri Apr 30 17:12:47 1999
> 
> mawa
> --
> Do you want to share my ever-expanding collection of signature
> cookies? mawa is your friend: e-mail mawa@iname.com - I'm always happy
> to serve!
> 
> --
>         FAQ: Frequently-Asked Questions at http://www.gnome.org/gnomefaq
>          To unsubscribe: mail gnome-list-request@gnome.org with
>                        "unsubscribe" as the Subject.



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