I just attempted to build GNU Emacs on Windows Vista with Cygwin $ uname -a CYGWIN_NT-6.0 balrog 1.7.9(0.237/5/3) 2011-03-29 10:10 i686 Cygwin
I get the following error after running ./configure --- creating src/epaths.h Makefile:860: target `TAGS' given more than once in the same rule. make: *** No rule to make target `/home/vijay/c/code/emacs/configure.in', needed by `/home/vijay/c/code/emacs/configure'. Stop. config.status: executing gdbinit commands <cygdrive/c/Users/vijay/Desktop/emacs.configure.log" [New] 422L, 16741C written --- I've attached the entire output of .configure below This is Makefile:860 858 # The src subdir knows how to do the right thing 859 # even when the build directory and source dir are different. 860 TAGS tags: lib lib-src src 861 cd src; $(MAKE) $(MFLAGS) tags All the build tools are the ones provided by cygwin. I'm using emacs cloned from git://git.savannah.gnu.org/emacs.git And this is the last commit commit 231bffa3e6c37164fa40ad18bd27249cc7704e30 Merge: 154a47d e8730a3 Author: Paul Eggert <egg...@cs.ucla.edu> Date: Tue Aug 30 13:49:25 2011 -0700 * configure.in (opsys): Change pattern to *-*-linux* and remove obsolete HP patterns.
$ ./configure --with-x=no --disable-largefile --without-sound checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /usr/bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking build system type... i686-pc-cygwin checking host system type... i686-pc-cygwin checking for gcc... gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.exe checking for suffix of executables... .exe checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking for style of include used by make... GNU checking dependency style of gcc... gcc3 checking whether gcc and cc understand -c and -o together... yes checking for ranlib... ranlib checking how to run the C preprocessor... gcc -E checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking minix/config.h usability... no checking minix/config.h presence... no checking for minix/config.h... no checking whether it is safe to define __EXTENSIONS__... yes checking for gcc option to accept ISO C99... -std=gnu99 checking for gcc -std=gnu99 option to accept ISO Standard C... (cached) -std=gnu99 checking whether gcc understands -Wdeclaration-after-statement... yes checking whether gcc understands -Wold-style-definition... yes checking whether gcc understands -Wimplicit-function-declaration... yes checking how to run the C preprocessor... gcc -E checking for install-info... /usr/bin/install-info checking for install-info... (cached) /usr/bin/install-info checking for install-info... (cached) /usr/bin/install-info checking for gzip... /usr/bin/gzip checking for makeinfo... /usr/bin/makeinfo checking for -znocombreloc... no checking sys/select.h usability... yes checking sys/select.h presence... yes checking for sys/select.h... yes checking sys/time.h usability... yes checking sys/time.h presence... yes checking for sys/time.h... yes checking for unistd.h... (cached) yes checking utime.h usability... yes checking utime.h presence... yes checking for utime.h... yes checking linux/version.h usability... no checking linux/version.h presence... no checking for linux/version.h... no checking sys/systeminfo.h usability... no checking sys/systeminfo.h presence... no checking for sys/systeminfo.h... no checking stdio_ext.h usability... no checking stdio_ext.h presence... no checking for stdio_ext.h... no checking fcntl.h usability... yes checking fcntl.h presence... yes checking for fcntl.h... yes checking coff.h usability... no checking coff.h presence... no checking for coff.h... no checking pty.h usability... yes checking pty.h presence... yes checking for pty.h... yes checking sys/mman.h usability... yes checking sys/mman.h presence... yes checking for sys/mman.h... yes checking sys/vlimit.h usability... no checking sys/vlimit.h presence... no checking for sys/vlimit.h... no checking sys/resource.h usability... yes checking sys/resource.h presence... yes checking for sys/resource.h... yes checking locale.h usability... yes checking locale.h presence... yes checking for locale.h... yes checking sys/_mbstate_t.h usability... no checking sys/_mbstate_t.h presence... no checking for sys/_mbstate_t.h... no checking sys/utsname.h usability... yes checking sys/utsname.h presence... yes checking for sys/utsname.h... yes checking pwd.h usability... yes checking pwd.h presence... yes checking for pwd.h... yes checking utmp.h usability... yes checking utmp.h presence... yes checking for utmp.h... yes checking dirent.h usability... yes checking dirent.h presence... yes checking for dirent.h... yes checking util.h usability... no checking util.h presence... no checking for util.h... no checking if personality LINUX32 can be set... no checking for term.h... no checking whether time.h and sys/time.h may both be included... yes checking whether sys_siglist is declared... no checking whether __sys_siglist is declared... no checking for sys/wait.h that is POSIX.1 compatible... yes checking for struct utimbuf... yes checking for speed_t... yes checking for struct timeval... yes checking for struct exception... yes checking sys/socket.h usability... yes checking sys/socket.h presence... yes checking for sys/socket.h... yes checking for net/if.h... yes checking for ifaddrs.h... yes checking for net/if_dl.h... no checking for getifaddrs... yes checking for freeifaddrs... yes checking whether struct tm is in sys/time.h or time.h... time.h checking for struct tm.tm_zone... no checking whether tzname is declared... yes checking for tzname... yes checking for struct tm.tm_gmtoff... no checking for struct ifreq.ifr_flags... yes checking for struct ifreq.ifr_hwaddr... yes checking for struct ifreq.ifr_netmask... yes checking for struct ifreq.ifr_broadaddr... yes checking for struct ifreq.ifr_addr... yes checking for struct ifreq.ifr_addr.sa_len... no checking for function prototypes... yes checking for working volatile... yes checking for an ANSI C-conforming const... yes checking for void * support... yes checking whether byte ordering is bigendian... no checking for __attribute__ ((__aligned__ (expr)))... yes checking whether make sets $(MAKE)... (cached) yes checking whether we are using GNU Make... yes checking whether gcc understands -MMD -MF... yes checking for long file names... yes checking for X... disabled checking for malloc_get_state... no checking for malloc_set_state... no checking whether __after_morecore_hook exists... no checking for stdlib.h... (cached) yes checking for unistd.h... (cached) yes checking for sys/param.h... yes checking for getopt.h... yes checking for wchar.h... yes checking for stdint.h... (cached) yes checking for inttypes.h... (cached) yes checking for sys/socket.h... (cached) yes checking for sys/stat.h... (cached) yes checking for sys/time.h... (cached) yes checking for getpagesize... yes checking for working mmap... yes checking for dnet_ntoa in -ldnet... no checking for main in -lXbsd... no checking pthread.h usability... yes checking pthread.h presence... yes checking for pthread.h... yes checking for pthread_self in -lpthread... yes checking for cma_open in -lpthreads... no checking for pkg-config... no checking for lgetfilecon in -lselinux... no checking for pkg-config... (cached) no checking for gnutls_certificate_set_verify_function... no checking gpm.h usability... no checking gpm.h presence... no checking for gpm.h... no checking malloc/malloc.h usability... no checking malloc/malloc.h presence... no checking for malloc/malloc.h... no checking for pkg-config... (cached) no checking whether netdb declares h_errno... yes checking for sqrt in -lm... yes checking for maillock in -lmail... no checking for maillock in -llockfile... no checking for liblockfile.so... no checking for touchlock... no checking maillock.h usability... no checking maillock.h presence... no checking for maillock.h... no checking for gethostname... yes checking for getdomainname... yes checking for rename... yes checking for closedir... yes checking for mkdir... yes checking for rmdir... yes checking for sysinfo... no checking for getrusage... yes checking for get_current_dir_name... no checking for random... yes checking for lrand48... yes checking for logb... yes checking for frexp... yes checking for fmod... yes checking for rint... yes checking for cbrt... yes checking for ftime... yes checking for setsid... yes checking for strerror... yes checking for fpathconf... yes checking for select... yes checking for euidaccess... yes checking for getpagesize... (cached) yes checking for tzset... yes checking for setlocale... yes checking for utimes... yes checking for getrlimit... yes checking for setrlimit... yes checking for setpgid... yes checking for getcwd... yes checking for getwd... yes checking for shutdown... yes checking for getaddrinfo... yes checking for __fpending... no checking for mblen... yes checking for mbrlen... yes checking for mbsinit... yes checking for strsignal... yes checking for setitimer... yes checking for ualarm... yes checking for sendto... yes checking for recvfrom... yes checking for getsockopt... yes checking for setsockopt... yes checking for getsockname... yes checking for getpeername... yes checking for gai_strerror... yes checking for mkstemp... yes checking for getline... yes checking for getdelim... yes checking for mremap... no checking for fsync... yes checking for sync... yes checking for difftime... yes checking for mempcpy... yes checking for mblen... (cached) yes checking for mbrlen... (cached) yes checking for posix_memalign... yes checking for cfmakeraw... yes checking for cfsetspeed... no checking for isnan... yes checking for copysign... yes checking for __executable_start... no checking for __builtin_unwind_init... yes checking sys/un.h usability... yes checking sys/un.h presence... yes checking for sys/un.h... yes checking for _LARGEFILE_SOURCE value needed for large files... no checking whether getpgrp requires zero arguments... yes checking for grantpt... yes checking for getpt... no checking for library containing tputs... -lncurses checking for dgettext in -lintl... yes checking whether localtime caches TZ... no checking for gettimeofday... yes checking whether gettimeofday can accept two arguments... yes checking for socket... yes checking netinet/in.h usability... yes checking netinet/in.h presence... yes checking for netinet/in.h... yes checking arpa/inet.h usability... yes checking arpa/inet.h presence... yes checking for arpa/inet.h... yes checking whether system supports dynamic ptys... no checking for pid_t... yes checking vfork.h usability... no checking vfork.h presence... no checking for vfork.h... no checking for fork... yes checking for vfork... yes checking for working fork... yes checking for working vfork... (cached) yes checking for nl_langinfo and CODESET... yes checking for mbstate_t... yes checking for C restricted array declarations... yes checking for working alloca.h... yes checking for alloca... yes checking for readlinkat... yes checking for dup2... yes checking for lstat... yes checking for alarm... yes checking for pthread_sigmask... yes checking for readlink... yes checking for tzset... (cached) yes checking for symlink... yes checking for localtime_r... yes checking whether byte ordering is bigendian... (cached) no checking for inline... inline checking whether strtold conforms to C99... no checking for st_dm_mode in struct stat... no checking whether strmode is declared... no checking whether the preprocessor supports include_next... yes checking whether system header files limit the line length... no checking for getopt.h... (cached) yes checking for getopt_long_only... yes checking whether getopt is POSIX compatible... yes checking for working GNU getopt function... yes checking whether getenv is declared... yes checking for unsigned long long int... yes checking for long long int... yes checking whether stdint.h conforms to C99... yes checking whether lstat correctly handles trailing slash... yes checking for sigset_t... yes checking for stdbool.h that conforms to C99... yes checking for _Bool... yes checking for wchar_t... yes checking for struct tm.tm_gmtoff... (cached) no checking whether strtoimax is declared... yes checking whether strtoumax is declared... yes checking whether stat file-mode macros are broken... no checking for C/C++ restrict keyword... __restrict checking for struct timespec in <time.h>... yes checking whether localtime_r is declared... yes checking for alloca as a compiler built-in... yes checking whether dup2 works... yes checking for getloadavg... no checking for elf_begin in -lelf... no checking for kvm_open in -lkvm... no checking for getloadavg in -lutil... no checking for getloadavg in -lgetloadavg... no checking for kstat_open in -lkstat... no checking for perfstat_cpu_total in -lperfstat... no checking sys/dg_sys_info.h usability... no checking sys/dg_sys_info.h presence... no checking for sys/dg_sys_info.h... no checking sys/loadavg.h usability... no checking sys/loadavg.h presence... no checking for sys/loadavg.h... no checking whether getloadavg is declared... no checking for pstat_getdynamic... no checking inq_stats/cpustats.h usability... no checking inq_stats/cpustats.h presence... no checking for inq_stats/cpustats.h... no checking sys/cpustats.h usability... no checking sys/cpustats.h presence... no checking for sys/cpustats.h... no checking mach/mach.h usability... no checking mach/mach.h presence... no checking for mach/mach.h... no checking nlist.h usability... no checking nlist.h presence... no checking for nlist.h... no checking for working mktime... yes checking whether readlink signature is correct... yes checking whether readlink handles trailing slash correctly... yes checking for volatile sig_atomic_t... yes checking for sighandler_t... yes checking for socklen_t... yes checking for ssize_t... yes checking for va_copy... yes checking whether NULL can be used in arbitrary expressions... yes checking whether symlink handles trailing slash correctly... yes checking for nlink_t... yes checking whether localtime_r is compatible with its POSIX signature... yes Configured for `i686-pc-cygwin'. Where should the build process find the source code? /home/vijay/c/code/emacs What operating system and machine description files should Emacs use? `s/cygwin.h' and `m/intel386.h' What compiler should emacs be built with? gcc -std=gnu99 -g -O2 Should Emacs use the GNU version of malloc? yes Should Emacs use a relocating allocator for buffers? no Should Emacs use mmap(2) for buffer allocation? yes What window system should Emacs use? none What toolkit should Emacs use? none Where do we find X Windows header files? NONE Where do we find X Windows libraries? NONE Does Emacs use -lXaw3d? no Does Emacs use -lXpm? no Does Emacs use -ljpeg? no Does Emacs use -ltiff? no Does Emacs use a gif library? no Does Emacs use -lpng? no Does Emacs use -lrsvg-2? no Does Emacs use imagemagick? no Does Emacs use -lgpm? no Does Emacs use -ldbus? no Does Emacs use -lgconf? no Does Emacs use GSettings? no Does Emacs use -lselinux? no Does Emacs use -lgnutls (2.6.x or higher)? no Does Emacs use -lxml2? no Does Emacs use -lfreetype? no Does Emacs use -lm17n-flt? no Does Emacs use -lotf? no Does Emacs use -lxft? no Does Emacs use toolkit scroll bars? no configure: creating ./config.status config.status: creating Makefile config.status: creating lib/Makefile config.status: creating lib-src/Makefile config.status: creating oldXMenu/Makefile config.status: creating doc/emacs/Makefile config.status: creating doc/misc/Makefile config.status: creating doc/lispintro/Makefile config.status: creating doc/lispref/Makefile config.status: creating src/Makefile config.status: creating lwlib/Makefile config.status: creating lisp/Makefile config.status: creating leim/Makefile config.status: creating test/automated/Makefile config.status: creating src/config.h config.status: executing depfiles commands config.status: executing mkdirs commands config.status: executing epaths commands creating src/epaths.h Makefile:860: target `TAGS' given more than once in the same rule. make: *** No rule to make target `/home/vijay/c/code/emacs/configure.in', needed by `/home/vijay/c/code/emacs/configure'. Stop. config.status: executing gdbinit commands
Please let me know if additional details are needed. -- Cheers ~vijay Gnus should be more complicated.