Thanks for the tips. However, I did installed the latest versions of autoconf (v2.58) and automake (v1.8) and followed the instruction on the compiling page as well as use the CVSMake script. I forget to mention that I am working on the DX-4.2.0 codes. Would that be the cause of the problem? The following is the output I got from running the CVSMake script:
[EMAIL PROTECTED] dx42PSC]$ CVSMake #!/bin/sh -v # These are the steps that must be done after a make maintainer-clean # in order to ./configure this package. libtoolize --force && \ aclocal && \ autoheader && \ automake -a -i && \ autoconf Remember to add `AC_PROG_LIBTOOL' to `configure.in'. Using `AC_PROG_RANLIB' is rendered obsolete by `AC_PROG_LIBTOOL' You should update your `aclocal.m4' by running aclocal. acinclude.m4:4: warning: underquoted definition of DX_CYGWIN run info '(automake)Extending aclocal' or see http://sources.redhat.com/automake/automake.html#Extending%20aclocal acinclude.m4:19: warning: underquoted definition of DX_XLIBS acinclude.m4:33: warning: underquoted definition of DX_EXEEXT acinclude.m4:68: warning: underquoted definition of DX_OBJEXT acinclude.m4:99: warning: underquoted definition of DX_CHECK_HEADER acinclude.m4:121: warning: underquoted definition of DX_CHECK_HEADERS acinclude.m4:137: warning: underquoted definition of DX_TRY_CPP acinclude.m4:168: warning: underquoted definition of DX_CHECK_TGMATH acinclude.m4:194: warning: underquoted definition of DX_ARCHITECTURE acinclude.m4:238: warning: underquoted definition of DX_ARCH_SPECIFIC acinclude.m4:275: warning: underquoted definition of DX_STREAM_O2 acinclude.m4:300: warning: underquoted definition of DX_HEADER_HAS_SYMBOL acinclude.m4:334: warning: underquoted definition of DX_PATH_XM acinclude.m4:467: warning: underquoted definition of DX_CHECK_STAT acinclude.m4:507: warning: underquoted definition of DX_CHECK_SELECT_ARG acinclude.m4:546: warning: underquoted definition of DX_CHECK_SOCK_LENGTH_TYPE acinclude.m4:589: warning: underquoted definition of DX_CYGWIN_MOUNTS acinclude.m4:620: warning: underquoted definition of DX_CHECK_TYPE acinclude.m4:669: warning: underquoted definition of DX_NEEDS_STDCXX acinclude.m4:737: warning: underquoted definition of DX_PROG_JAVAC acinclude.m4:758: warning: underquoted definition of DX_PROG_JAVAC_WORKS acinclude.m4:786: warning: underquoted definition of DX_PROG_JAR acinclude.m4:806: warning: underquoted definition of DX_PROG_JAVAH acinclude.m4:826: warning: underquoted definition of DX_PATH_JAVA acinclude.m4:847: warning: underquoted definition of DX_FIND_JNI_WITH_PATH acinclude.m4:900: warning: underquoted definition of DX_JAVA_ARCHITECTURE acinclude.m4:943: warning: underquoted definition of DX_FIND_JDK_CLASSES acinclude.m4:1004: warning: underquoted definition of DX_FIND_JNI acinclude.m4:1058: warning: underquoted definition of DX_FIND_COSMO acinclude.m4:1079: warning: underquoted definition of DX_FIND_DEFAULT_COSMO acinclude.m4:1093: warning: underquoted definition of DX_FIND_NETSCAPE acinclude.m4:1114: warning: underquoted definition of DX_FIND_DEFAULT_NETSCAPE acinclude.m4:1130: warning: underquoted definition of DX_SET_RTL_FLAGS acinclude.m4:1231: warning: underquoted definition of AC_UTILS_UNIQUIFY /usr/share/aclocal/xmms.m4:17: warning: underquoted definition of XMMS_TEST_VERSION /usr/share/aclocal/xmms.m4:62: warning: underquoted definition of AM_PATH_XMMS /usr/share/aclocal/xml-i18n-tools.m4:24: warning: underquoted definition of XML_I18N_TOOLS_NEWER_THAN_0_9 /usr/share/aclocal/xml-i18n-tools.m4:28: warning: underquoted definition of AC_PROG_XML_I18N_TOOLS /usr/share/aclocal/xml-i18n-tools.m4:30: warning: underquoted definition of X18T_PFORG1 /usr/share/aclocal/xml-i18n-tools.m4:32: warning: underquoted definition of X18T_XML_KIND /usr/share/aclocal/xml-i18n-tools.m4:34: warning: underquoted definition of X18T_KEYS_KIND /usr/share/aclocal/xml-i18n-tools.m4:135: warning: underquoted definition of AM_PROG_XML_I18N_TOOLS /usr/share/aclocal/xdelta.m4:7: warning: underquoted definition of AM_PATH_XDELTA /usr/share/aclocal/vorbis.m4:9: warning: underquoted definition of XIPH_PATH_VORBIS /usr/share/aclocal/smpeg.m4:13: warning: underquoted definition of AM_PATH_SMPEG/usr/share/aclocal/sdl.m4:11: warning: underquoted definition of AM_PATH_SDL /usr/share/aclocal/rep.m4:7: warning: underquoted definition of AM_PATH_REP /usr/share/aclocal/pkg.m4:5: warning: underquoted definition of PKG_CHECK_MODULES /usr/share/aclocal/pilot-link.m4:1: warning: underquoted definition of AC_PILOT_LINK_HOOK /usr/share/aclocal/parted.m4:16: warning: underquoted definition of PARTED_CHECK_LIBPARTED /usr/share/aclocal/ogg.m4:8: warning: underquoted definition of XIPH_PATH_OGG /usr/share/aclocal/oaf.m4:4: warning: underquoted definition of AM_PATH_OAF /usr/share/aclocal/libxslt.m4:14: warning: underquoted definition of AM_PATH_XSLT /usr/share/aclocal/libxml.m4:10: warning: underquoted definition of AM_PATH_XML /usr/share/aclocal/libxml.m4:205: warning: underquoted definition of AM_PATH_XML2 /usr/share/aclocal/librsvg.m4:11: warning: underquoted definition of AM_PATH_LIBRSVG /usr/share/aclocal/libole2.m4:18: warning: underquoted definition of AM_PATH_LIBOLE2 /usr/share/aclocal/libmikmod.m4:11: warning: underquoted definition of AM_PATH_LIBMIKMOD /usr/share/aclocal/libguppi.m4:11: warning: underquoted definition of AM_PATH_LIBGUPPI /usr/share/aclocal/libglade.m4:7: warning: underquoted definition of AM_PATH_LIBGLADE /usr/share/aclocal/libart.m4:11: warning: underquoted definition of AM_PATH_LIBART /usr/share/aclocal/libIDL.m4:6: warning: underquoted definition of AM_PATH_LIBIDL /usr/share/aclocal/intltool.m4:27: warning: underquoted definition of AC_PROG_INTLTOOL /usr/share/aclocal/imlib.m4:9: warning: underquoted definition of AM_PATH_IMLIB /usr/share/aclocal/imlib.m4:167: warning: underquoted definition of AM_PATH_GDK_IMLIB /usr/share/aclocal/gtk.m4:7: warning: underquoted definition of AM_PATH_GTK /usr/share/aclocal/gtk-2.0.m4:8: warning: underquoted definition of AM_PATH_GTK_2_0 /usr/share/aclocal/glib.m4:8: warning: underquoted definition of AM_PATH_GLIB /usr/share/aclocal/glib-gettext.m4:329: warning: underquoted definition of AM_GLIB_GNU_GETTEXT /usr/share/aclocal/glib-gettext.m4:330: warning: underquoted definition of AM_GLIB_DEFINE_LOCALEDIR /usr/share/aclocal/glib-2.0.m4:8: warning: underquoted definition of AM_PATH_GLIB_2_0 /usr/share/aclocal/gimp.m4:8: warning: underquoted definition of AM_PATH_GIMP /usr/share/aclocal/gdk-pixbuf.m4:12: warning: underquoted definition of AM_PATH_GDK_PIXBUF /usr/share/aclocal/gconf-1.m4:4: warning: underquoted definition of AM_PATH_GCONF /usr/share/aclocal/gconf-1.m4:71: warning: underquoted definition of AM_GCONF_SOURCE /usr/share/aclocal/freetype2.m4:7: warning: underquoted definition of AC_CHECK_FT2 /usr/share/aclocal/esd.m4:10: warning: underquoted definition of AM_PATH_ESD /usr/share/aclocal/esd.m4:175: warning: underquoted definition of AM_ESD_SUPPORTS_MULTIPLE_RECORD /usr/share/aclocal/audiofile.m4:12: warning: underquoted definition of AM_PATH_AUDIOFILE /usr/share/aclocal/ao.m4:9: warning: underquoted definition of XIPH_PATH_AO /usr/share/aclocal/ORBit.m4:4: warning: underquoted definition of AM_PATH_ORBIT configure.in:1183: error: `src/uipp/ui/Makefile' is already registered with AC_CONFIG_FILES. autoconf/status.m4:844: AC_CONFIG_FILES is expanded from... configure.in:1183: the top level autom4te: /usr/bin/m4 failed with exit status: 1 aclocal: autom4te failed with exit status: 1 Please advise and thank you very much for your help! Jack > The problem is probably with your version of Automake being too old > or you may need to have all the auto tools installed to build. If you > have them all installed, you can follow the script CVSMake to build > from scratch. > > David > > >Hello, > > > >I am asking a rather naive yet rather troublesome question: how to add > >files to the Makefile properly. > > > >To my understanding, all I have to do is to add the new header and source > >files to the Makefile.am and then rerun automake to generate Makefile.in > >file. Afterwards, I then rerun configure to generate appropriate > >Makefiles. However, when I run make, I got error messages about corrupted > >configure.in file and such. > > > >I shall be grateful if someone can teach me how to handle these seemly > >simple operations. > > > >Thanks! > > > >Jack Chang > > > >Pittsburgh Supercomputing Center > > > -- > ............................................................................. > David L. Thompson Visualization and Imagery Solutions, Inc. > mailto:[EMAIL PROTECTED] 5515 Skyway Drive, Missoula, MT 59804 > Phone : (406)756-7472 >