Thanks for the tips; I tried some to change some of the "underquoted" issues to include the "[]", but I'm not sure that got me much further.
Duh. I guess it would help to include stderr... Here's the full output, with the *unmodified* multisync sources (no changes based on the tips below). Thanks! jay On Thu, 2004-06-24 at 02:02, Stefan Huber wrote: > Hello, > > i think you use very new versions of the autotools. > The errors I think come from a change in some syntax to the autotools. > > The first error I got also some time ago. I changed the propriate lines in > the code of the m4 macros. The change must be like this example: > > AC_SUBST(am__leading_dot) to AC_SUBST([am__leading_dot]) > > So there are the "[]" missing. > > Of course, that could be pretty much, if you get the error from a lot of m4 > macros, but I donīt know what to do instead. > > Now to the second error. The syntax of AM_INIT_AUTOMAKE used in the > configure.in file (now for example is called configure.ac, but both can be > used) is also deprecated. > > Here is a description from the site http://www.gnu.org/software/automake/ > > Description: > > The second, deprecated, form of AM_INIT_AUTOMAKE has two required arguments: > the package and the version number. This form is obsolete because the > package and version can be obtained from Autoconf's AC_INIT macro (which > itself has an old and a new form). > > If your configure.in has: > > AC_INIT(src/foo.c) > AM_INIT_AUTOMAKE(mumble, 1.5) > > > you can modernize it as follows: > > AC_INIT(mumble, 1.5) > AC_CONFIG_SRCDIR(src/foo.c) > AM_INIT_AUTOMAKE > > > Note that if you're upgrading your configure.in from an earlier version of > Automake, it is not always correct to simply move the package and version > arguments from AM_INIT_AUTOMAKE directly to AC_INIT, as in the example > above. The first argument to AC_INIT should be the name of your package > (e.g. GNU Automake), not the tarball name (e.g. automake) that you used to > pass to AM_INIT_AUTOMAKE. Autoconf tries to derive a tarball name from the > package name, which should work for most but not all package names. (If it > doesn't work for yours, you can use the four-argument form of AC_INIT -- > supported in Autoconf versions greater than 2.52g -- to provide the tarball > name explicitly). > > By default this macro AC_DEFINE's PACKAGE and VERSION. This can be avoided > by passing the no-define option, as in: > > AM_INIT_AUTOMAKE([gnits 1.5 no-define dist-bzip2]) > > > > Hopefully this will help! > > Regards, > > Stefan Huber! > > > > I'm running 64-bit SuSE 9.1, and am trying to build the Multisync > > branch_08X from CVS. > > > > When I run ./autogen, I get a lot of errors of the form: > > > > /opt/gnome/share/aclocal/libIDL.m4:6: warning: underquoted definition of > > AM_PATH_LIBIDL > > run info '(automake)Extending aclocal' > > or see > > http://sources.redhat.com/automake/automake.html#Extending%20aclocal > > > > > > > > Then, the last error I get is: > > > > Running autoconf ... > > Running ./configure --enable-maintainer-mode --prefix=/opt/multisync ... > > ./configure: line 1250: syntax error near unexpected token `multisync,' > > ./configure: line 1250: `AM_INIT_AUTOMAKE(multisync, 0.82)' > > > > > > I've attached the complete output. I'm hoping someone can point me in > > the right direction. > > > > thanks! > > > > > > jay > > > > ------------------- > > "Perfection is our goal; > > excellence will be tolerated." > > -- Source unknown > > -- jay ------------------- "Perfection is our goal; excellence will be tolerated." -- Source unknown
processing . Running aclocal ... /opt/gnome/share/aclocal/libIDL.m4:6: warning: underquoted definition of AM_PATH_LIBIDL run info '(automake)Extending aclocal' or see http://sources.redhat.com/automake/automake.html#Extending%20aclocal /opt/gnome/share/aclocal/ORBit.m4:4: warning: underquoted definition of AM_PATH_ORBIT aclocal: configure.in: 35: macro `AM_ICONV' not found in library Running autoheader... autoheader: error: AC_CONFIG_HEADERS not found in configure.in Running automake --gnu ... configure.in: no proper invocation of AM_INIT_AUTOMAKE was found. configure.in: You should verify that configure.in invokes AM_INIT_AUTOMAKE, configure.in: that aclocal.m4 is present in the top-level directory, configure.in: and that aclocal.m4 was recently regenerated (using aclocal). /usr/share/automake-1.8/am/depend2.am: am__fastdepCC does not appear in AM_CONDITIONAL /usr/share/automake-1.8/am/depend2.am: AMDEP does not appear in AM_CONDITIONAL src/libversit/Makefile.am:15: Libtool library used but `LIBTOOL' is undefined src/libversit/Makefile.am:15: src/libversit/Makefile.am:15: The usual way to define `LIBTOOL' is to add `AC_PROG_LIBTOOL' src/libversit/Makefile.am:15: to `configure.in' and run `aclocal' and `autoconf' again. /usr/share/automake-1.8/am/depend2.am: am__fastdepCC does not appear in AM_CONDITIONAL /usr/share/automake-1.8/am/depend2.am: AMDEP does not appear in AM_CONDITIONAL Running autoconf ... configure.in:4: error: possibly undefined macro: AM_INIT_AUTOMAKE If this token and others are legitimate, please use m4_pattern_allow. See the Autoconf documentation. configure.in:5: error: possibly undefined macro: AM_MAINTAINER_MODE configure.in:6: error: possibly undefined macro: AM_CONFIG_HEADER configure.in:10: error: possibly undefined macro: AM_PROG_CC_STDC configure.in:13: error: possibly undefined macro: AC_PROG_LIBTOOL configure.in:35: error: possibly undefined macro: AM_ICONV processing ./plugins/csa_plugin Running aclocal ... configure.in:14: warning: underquoted definition of PKG_CHECK_MODULES run info '(automake)Extending aclocal' or see http://sources.redhat.com/automake/automake.html#Extending%20aclocal /opt/gnome/share/aclocal/libIDL.m4:6: warning: underquoted definition of AM_PATH_LIBIDL /opt/gnome/share/aclocal/ORBit.m4:4: warning: underquoted definition of AM_PATH_ORBIT Running autoheader... Running automake --gnu ... Running autoconf ... processing ./plugins/palm_sync/conduit Running libtoolize... Running aclocal ... /opt/gnome/share/aclocal/libIDL.m4:6: warning: underquoted definition of AM_PATH_LIBIDL run info '(automake)Extending aclocal' or see http://sources.redhat.com/automake/automake.html#Extending%20aclocal /opt/gnome/share/aclocal/ORBit.m4:4: warning: underquoted definition of AM_PATH_ORBIT Running autoheader... Running automake --gnu ... Running autoconf ... processing ./plugins/palm_sync Running aclocal ... /opt/gnome/share/aclocal/libIDL.m4:6: warning: underquoted definition of AM_PATH_LIBIDL run info '(automake)Extending aclocal' or see http://sources.redhat.com/automake/automake.html#Extending%20aclocal /opt/gnome/share/aclocal/ORBit.m4:4: warning: underquoted definition of AM_PATH_ORBIT Running autoheader... Running automake --gnu ... configure.in:33: required file `${MULTISYNC_TOP}/specs/multisync-palm.spec.in' not found Running autoconf ... processing ./plugins/syncml_plugin Running aclocal ... /opt/gnome/share/aclocal/libIDL.m4:6: warning: underquoted definition of AM_PATH_LIBIDL run info '(automake)Extending aclocal' or see http://sources.redhat.com/automake/automake.html#Extending%20aclocal /opt/gnome/share/aclocal/ORBit.m4:4: warning: underquoted definition of AM_PATH_ORBIT Running autoheader... Running automake --gnu ... configure.in:55: required file `${MULTISYNC_TOP}/specs/multisync-syncml.spec.in' not found Running autoconf ... processing ./plugins/irmc_sync Running aclocal ... /opt/gnome/share/aclocal/libIDL.m4:6: warning: underquoted definition of AM_PATH_LIBIDL run info '(automake)Extending aclocal' or see http://sources.redhat.com/automake/automake.html#Extending%20aclocal /opt/gnome/share/aclocal/ORBit.m4:4: warning: underquoted definition of AM_PATH_ORBIT Running autoheader... Running automake --gnu ... configure.in:81: required file `${MULTISYNC_TOP}/specs/multisync-irmc.spec.in' not found configure.in:81: required file `${MULTISYNC_TOP}/specs/multisync-irmc-bluetooth.spec.in' not found Running autoconf ... processing ./plugins/evolution2_sync Running aclocal ... /opt/gnome/share/aclocal/libIDL.m4:6: warning: underquoted definition of AM_PATH_LIBIDL run info '(automake)Extending aclocal' or see http://sources.redhat.com/automake/automake.html#Extending%20aclocal /opt/gnome/share/aclocal/ORBit.m4:4: warning: underquoted definition of AM_PATH_ORBIT Running autoheader... Running automake --gnu ... configure.in:62: required file `${MULTISYNC_TOP}/specs/multisync-evolution2.spec.in' not found Running autoconf ... processing ./plugins/kdepim_plugin Running aclocal ... acinclude.m4:32: warning: underquoted definition of KDE_PATH_X_DIRECT run info '(automake)Extending aclocal' or see http://sources.redhat.com/automake/automake.html#Extending%20aclocal acinclude.m4:159: warning: underquoted definition of AC_FIND_FILE acinclude.m4:178: warning: underquoted definition of KDE_FIND_PATH acinclude.m4:231: warning: underquoted definition of KDE_MOC_ERROR_MESSAGE acinclude.m4:243: warning: underquoted definition of KDE_UIC_ERROR_MESSAGE acinclude.m4:256: warning: underquoted definition of KDE_CHECK_UIC_FLAG acinclude.m4:291: warning: underquoted definition of AC_PATH_QT_MOC_UIC acinclude.m4:335: warning: underquoted definition of KDE_1_CHECK_PATHS acinclude.m4:383: warning: underquoted definition of KDE_SET_PATHS acinclude.m4:409: warning: underquoted definition of KDE_SET_DEFAULT_PATHS acinclude.m4:492: warning: underquoted definition of KDE_CHECK_PATHS_FOR_COMPLETENESS acinclude.m4:508: warning: underquoted definition of KDE_MISSING_PROG_ERROR acinclude.m4:515: warning: underquoted definition of KDE_MISSING_ARTS_ERROR acinclude.m4:522: warning: underquoted definition of KDE_SUBST_PROGRAMS acinclude.m4:589: warning: underquoted definition of AC_CREATE_KFSSTND acinclude.m4:637: warning: underquoted definition of AC_SUBST_KFSSTND acinclude.m4:671: warning: underquoted definition of KDE_MISC_TESTS acinclude.m4:799: warning: underquoted definition of K_PATH_X acinclude.m4:1006: warning: underquoted definition of KDE_PRINT_QT_PROGRAM acinclude.m4:1069: warning: underquoted definition of KDE_USE_QT acinclude.m4:1142: warning: underquoted definition of KDE_CHECK_QT_DIRECT acinclude.m4:1205: warning: underquoted definition of AC_PATH_QT_1_3 acinclude.m4:1499: warning: underquoted definition of AC_PATH_QT acinclude.m4:1504: warning: underquoted definition of KDE_CHECK_UIC_PLUGINS acinclude.m4:1549: warning: underquoted definition of KDE_CHECK_FINAL acinclude.m4:1565: warning: underquoted definition of KDE_CHECK_CLOSURE acinclude.m4:1589: warning: underquoted definition of KDE_CHECK_NMCHECK acinclude.m4:1612: warning: underquoted definition of AC_BASE_PATH_KDE acinclude.m4:1773: warning: underquoted definition of KDE_CHECK_EXTRA_LIBS acinclude.m4:1828: warning: underquoted definition of KDE_1_CHECK_PATH_HEADERS acinclude.m4:1879: warning: underquoted definition of KDE_CHECK_KDEQTADDON acinclude.m4:1915: warning: underquoted definition of KDE_CHECK_KIMGIO acinclude.m4:1946: warning: underquoted definition of KDE_CREATE_LIBS_ALIASES acinclude.m4:1987: warning: underquoted definition of AC_PATH_KDE acinclude.m4:2012: warning: underquoted definition of KDE_CHECK_FUNC_EXT acinclude.m4:2100: warning: underquoted definition of AC_CHECK_SETENV acinclude.m4:2110: warning: underquoted definition of AC_CHECK_UNSETENV acinclude.m4:2120: warning: underquoted definition of AC_CHECK_GETDOMAINNAME acinclude.m4:2134: warning: underquoted definition of AC_CHECK_GETHOSTNAME acinclude.m4:2148: warning: underquoted definition of AC_CHECK_USLEEP acinclude.m4:2161: warning: underquoted definition of AC_CHECK_RANDOM acinclude.m4:2183: warning: underquoted definition of AC_CHECK_INITGROUPS acinclude.m4:2198: warning: underquoted definition of AC_CHECK_MKSTEMPS acinclude.m4:2211: warning: underquoted definition of AC_CHECK_MKDTEMP acinclude.m4:2225: warning: underquoted definition of AC_CHECK_RES_INIT acinclude.m4:2269: warning: underquoted definition of AC_CHECK_STRLCPY acinclude.m4:2281: warning: underquoted definition of AC_CHECK_STRLCAT acinclude.m4:2294: warning: underquoted definition of AC_FIND_GIF acinclude.m4:2328: warning: underquoted definition of KDE_FIND_JPEG_HELPER acinclude.m4:2371: warning: underquoted definition of AC_FIND_JPEG acinclude.m4:2423: warning: underquoted definition of KDE_CHECK_QT_JPEG acinclude.m4:2460: warning: underquoted definition of AC_FIND_ZLIB acinclude.m4:2503: warning: underquoted definition of KDE_TRY_TIFFLIB acinclude.m4:2549: warning: underquoted definition of AC_FIND_TIFF acinclude.m4:2563: warning: underquoted definition of AC_FIND_PNG acinclude.m4:2607: warning: underquoted definition of AC_FIND_JASPER acinclude.m4:2643: warning: underquoted definition of AC_CHECK_BOOL acinclude.m4:2648: warning: underquoted definition of AC_CHECK_GNU_EXTENSIONS acinclude.m4:2676: warning: underquoted definition of KDE_CHECK_COMPILER_FLAG acinclude.m4:2704: warning: underquoted definition of AC_REMOVE_FORBIDDEN acinclude.m4:2725: warning: underquoted definition of AC_VALIDIFY_CXXFLAGS acinclude.m4:2736: warning: underquoted definition of AC_CHECK_COMPILERS acinclude.m4:2966: warning: underquoted definition of KDE_ADD_DEPENDENCIES acinclude.m4:2973: warning: underquoted definition of KDE_PROG_LIBTOOL acinclude.m4:3010: warning: underquoted definition of KDE_CHECK_LIB64 acinclude.m4:3035: warning: underquoted definition of KDE_CHECK_TYPES acinclude.m4:3041: warning: underquoted definition of KDE_DO_IT_ALL acinclude.m4:3054: warning: underquoted definition of AC_CHECK_RPATH acinclude.m4:3084: warning: underquoted definition of AC_CHECK_SOCKLEN_T acinclude.m4:3136: warning: underquoted definition of AM_KDE_WITH_NLS acinclude.m4:3179: warning: underquoted definition of AM_PATH_PROG_WITH_TEST_KDE acinclude.m4:3221: warning: underquoted definition of AM_LC_MESSAGES acinclude.m4:3267: warning: underquoted definition of AM_KDE_GNU_GETTEXT acinclude.m4:3329: warning: underquoted definition of AC_HAVE_XPM acinclude.m4:3385: warning: underquoted definition of AC_HAVE_DPMS acinclude.m4:3473: warning: underquoted definition of AC_HAVE_GL acinclude.m4:3556: warning: underquoted definition of KDE_PAM acinclude.m4:3608: warning: underquoted definition of DEF_PAM_SERVICE acinclude.m4:3629: warning: underquoted definition of KDE_SHADOWPASSWD acinclude.m4:3686: warning: underquoted definition of KDE_PASSWDLIBS acinclude.m4:3712: warning: underquoted definition of KDE_CHECK_LIBDL acinclude.m4:3727: warning: underquoted definition of KDE_CHECK_DLOPEN acinclude.m4:3767: warning: underquoted definition of KDE_CHECK_DYNAMIC_LOADING acinclude.m4:3787: warning: underquoted definition of KDE_ADD_INCLUDES acinclude.m4:3825: warning: underquoted definition of KDE_CHECK_MICO acinclude.m4:3934: warning: underquoted definition of KDE_CHECK_MINI_STL acinclude.m4:3972: warning: underquoted definition of KDE_CHECK_LIBPTHREAD acinclude.m4:3978: warning: underquoted definition of KDE_CHECK_PTHREAD_OPTION acinclude.m4:4039: warning: underquoted definition of KDE_CHECK_THREADING acinclude.m4:4060: warning: underquoted definition of KDE_TRY_LINK_PYTHON acinclude.m4:4112: warning: underquoted definition of KDE_CHECK_PYTHON_DIR acinclude.m4:4135: warning: underquoted definition of KDE_CHECK_PYTHON_INTERN acinclude.m4:4225: warning: underquoted definition of KDE_CHECK_PYTHON acinclude.m4:4237: warning: underquoted definition of KDE_CHECK_STL_SGI acinclude.m4:4260: warning: underquoted definition of KDE_CHECK_STL_HP acinclude.m4:4282: warning: underquoted definition of KDE_CHECK_STL acinclude.m4:4302: warning: underquoted definition of AC_FIND_QIMGIO acinclude.m4:4341: warning: underquoted definition of KDE_CHECK_ANSI acinclude.m4:4345: warning: underquoted definition of KDE_CHECK_INSURE acinclude.m4:4362: warning: underquoted definition of AM_DISABLE_LIBRARIES acinclude.m4:4371: warning: underquoted definition of AC_CHECK_UTMP_FILE acinclude.m4:4404: warning: underquoted definition of KDE_CREATE_SUBDIRSLIST acinclude.m4:4450: warning: underquoted definition of KDE_CHECK_NAMESPACES acinclude.m4:4476: warning: underquoted definition of KDE_CHECK_NEWLIBS acinclude.m4:4485: warning: underquoted definition of AC_CHECK_S_ISSOCK acinclude.m4:4523: warning: underquoted definition of AC_CHECK_KDEMAXPATHLEN acinclude.m4:4558: warning: underquoted definition of KDE_CHECK_HEADER acinclude.m4:4569: warning: underquoted definition of KDE_CHECK_HEADERS acinclude.m4:4581: warning: underquoted definition of KDE_FAST_CONFIGURE acinclude.m4:4588: warning: underquoted definition of KDE_CONF_FILES acinclude.m4:4603: warning: underquoted definition of KDE_SET_PREFIX acinclude.m4:4686: warning: underquoted definition of KDE_LANG_CPLUSPLUS acinclude.m4:4697: warning: underquoted definition of KDE_CHECK_LONG_LONG acinclude.m4:4717: warning: underquoted definition of KDE_CHECK_LIB acinclude.m4:4733: warning: underquoted definition of KDE_JAVA_PREFIX acinclude.m4:4756: warning: underquoted definition of KDE_CHECK_JAVA_DIR acinclude.m4:4961: warning: underquoted definition of KDE_NEED_FLEX acinclude.m4:4973: warning: underquoted definition of AC_PATH_QTOPIA acinclude.m4:5077: warning: underquoted definition of KDE_INIT_DOXYGEN acinclude.m4:5114: warning: underquoted definition of AC_FIND_BZIP2 acinclude.m4:5199: warning: underquoted definition of KDE_CHECK_SSL acinclude.m4:5384: warning: underquoted definition of KDE_CHECK_STRLCPY acinclude.m4:5405: warning: underquoted definition of KDE_CHECK_BINUTILS /opt/gnome/share/aclocal/libIDL.m4:6: warning: underquoted definition of AM_PATH_LIBIDL /opt/gnome/share/aclocal/ORBit.m4:4: warning: underquoted definition of AM_PATH_ORBIT Running autoheader... Running automake --gnu ... Running autoconf ... processing ./plugins/evolution_sync Running aclocal ... /opt/gnome/share/aclocal/libIDL.m4:6: warning: underquoted definition of AM_PATH_LIBIDL run info '(automake)Extending aclocal' or see http://sources.redhat.com/automake/automake.html#Extending%20aclocal /opt/gnome/share/aclocal/ORBit.m4:4: warning: underquoted definition of AM_PATH_ORBIT Running autoheader... Running automake --gnu ... configure.in:109: required file `${MULTISYNC_TOP}/specs/multisync-evolution.spec.in' not found Running autoconf ... processing ./plugins/ldap_plugin Running aclocal ... /opt/gnome/share/aclocal/libIDL.m4:6: warning: underquoted definition of AM_PATH_LIBIDL run info '(automake)Extending aclocal' or see http://sources.redhat.com/automake/automake.html#Extending%20aclocal /opt/gnome/share/aclocal/ORBit.m4:4: warning: underquoted definition of AM_PATH_ORBIT Running autoheader... Running automake --gnu ... configure.in:33: required file `${MULTISYNC_TOP}/specs/multisync-ldap.spec.in' not found Running autoconf ... processing ./plugins/backup_plugin Running aclocal ... /opt/gnome/share/aclocal/libIDL.m4:6: warning: underquoted definition of AM_PATH_LIBIDL run info '(automake)Extending aclocal' or see http://sources.redhat.com/automake/automake.html#Extending%20aclocal /opt/gnome/share/aclocal/ORBit.m4:4: warning: underquoted definition of AM_PATH_ORBIT Running autoheader... Running automake --gnu ... configure.in:29: required file `${MULTISYNC_TOP}/specs/multisync-backup.spec.in' not found Running autoconf ... processing ./plugins/opie_sync Running aclocal ... /opt/gnome/share/aclocal/libIDL.m4:6: warning: underquoted definition of AM_PATH_LIBIDL run info '(automake)Extending aclocal' or see http://sources.redhat.com/automake/automake.html#Extending%20aclocal /opt/gnome/share/aclocal/ORBit.m4:4: warning: underquoted definition of AM_PATH_ORBIT Running autoheader... autoheader: WARNING: Using auxiliary files such as `acconfig.h', `config.h.bot' autoheader: WARNING: and `config.h.top', to define templates for `config.h.in' autoheader: WARNING: is deprecated and discouraged. autoheader: autoheader: WARNING: Using the third argument of `AC_DEFINE' and autoheader: WARNING: `AC_DEFINE_UNQUOTED' allows to define a template without autoheader: WARNING: `acconfig.h': autoheader: autoheader: WARNING: AC_DEFINE([NEED_FUNC_MAIN], 1, autoheader: [Define if a function `main' is needed.]) autoheader: autoheader: WARNING: More sophisticated templates can also be produced, see the autoheader: WARNING: documentation. Running automake --gnu ... configure.in:56: required file `${MULTISYNC_TOP}/specs/multisync-opie.spec.in' not found Running autoconf ... Running ./configure --enable-maintainer-mode --prefix=/opt/multisync ... ./configure: line 1250: syntax error near unexpected token `multisync,' ./configure: line 1250: `AM_INIT_AUTOMAKE(multisync, 0.82)'
signature.asc
Description: This is a digitally signed message part