emacs-devel
[Top][All Lists]
Advanced

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

Building on MacOSX


From: Immanuel Litzroth
Subject: Building on MacOSX
Date: Mon, 28 Jul 2003 11:19:22 +0200

Has anyone been able to build emacs-cvs on MacOSX lately?
The configure script gives a lot of errors and the build stops
because of a redinition of size_t. Is anybody working on this?
Immanuel

./configure --without-x 
checking build system type... powerpc-apple-darwin6.6
checking host system type... powerpc-apple-darwin6.6
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables... 
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 ANSI C... none needed
checking whether ln -s works... yes
checking how to run the C preprocessor... cc -E -traditional-cpp
checking for a BSD-compatible install... /sw/bin/install -c
checking for ranlib... ranlib
checking for install-info... /sw/sbin/install-info
checking for install-info... (cached) /sw/sbin/install-info
checking for install-info... (cached) /sw/sbin/install-info
checking for egrep... grep -E
checking for AIX... no
configure: checking the machine- and system-dependent files to find out
 - which libraries the lib-src programs will want, and
 - whether the GNU malloc routines are usable...
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... no
checking for _LARGE_FILES value needed for large files... no
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 machine/soundcard.h usability... no
checking machine/soundcard.h presence... no
checking for machine/soundcard.h... no
checking sys/soundcard.h usability... no
checking sys/soundcard.h presence... no
checking for sys/soundcard.h... no
checking soundcard.h usability... no
checking soundcard.h presence... no
checking for soundcard.h... no
checking for _oss_ioctl in -lossaudio... no
checking sys/select.h usability... yes
checking sys/select.h presence... yes
checking for sys/select.h... yes
checking sys/timeb.h usability... yes
checking sys/timeb.h presence... yes
checking for sys/timeb.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 termios.h usability... yes
checking termios.h presence... yes
checking for termios.h... yes
checking limits.h usability... yes
checking limits.h presence... yes
checking for limits.h... yes
checking for string.h... (cached) yes
checking for stdlib.h... (cached) yes
checking termcap.h usability... yes
checking termcap.h presence... yes
checking for termcap.h... yes
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 for strings.h... (cached) yes
checking coff.h usability... no
checking coff.h presence... no
checking for coff.h... no
checking pty.h usability... no
checking pty.h presence... no
checking for pty.h... no
checking sys/mman.h usability... yes
checking sys/mman.h presence... yes
checking for sys/mman.h... yes
checking sys/param.h usability... yes
checking sys/param.h presence... yes
checking for sys/param.h... yes
checking sys/vlimit.h usability... yes
checking sys/vlimit.h presence... yes
checking for sys/vlimit.h... yes
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 for term.h... yes
checking for ANSI C header files... (cached) yes
checking whether time.h and sys/time.h may both be included... yes
checking whether sys_siglist is declared... yes
checking for sys/wait.h that is POSIX.1 compatible... yes
checking for struct utimbuf... yes
checking return type of signal handlers... void
checking for speed_t... yes
checking for struct timeval... yes
checking for struct exception... yes
checking whether struct tm is in sys/time.h or time.h... time.h
checking for struct tm.tm_zone... yes
checking for struct tm.tm_gmtoff... yes
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 make sets $(MAKE)... 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 getpagesize... yes
checking for working mmap... yes
checking for dnet_ntoa in -ldnet... no
checking for main in -lXbsd... no
checking for cma_open in -lpthreads... no
checking for XFree86 in /usr/X386... no
checking Carbon/Carbon.h usability... no
checking Carbon/Carbon.h presence... yes
configure: WARNING: Carbon/Carbon.h: present but cannot be compiled
configure: WARNING: Carbon/Carbon.h:     check for missing prerequisite headers?
configure: WARNING: Carbon/Carbon.h: see the Autoconf documentation
configure: WARNING: Carbon/Carbon.h:     section "Present But Cannot Be 
Compiled"
configure: WARNING: Carbon/Carbon.h: proceeding with the preprocessor's result
configure: WARNING: Carbon/Carbon.h: in the future, the compiler will take 
precedence
configure: WARNING:     ## ------------------------------------------ ##
configure: WARNING:     ## Report this to the AC_PACKAGE_NAME lists.  ##
configure: WARNING:     ## ------------------------------------------ ##
checking for Carbon/Carbon.h... yes
checking whether netdb declares h_errno... no
checking for working alloca.h... no
checking for alloca... no
checking whether `alloca.c' needs Cray hooks... no
checking stack direction for C alloca... -1
checking for sqrt in -lm... no
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... no
checking for getdomainname... no
checking for dup2... no
checking for rename... no
checking for closedir... no
checking for mkdir... no
checking for rmdir... no
checking for sysinfo... no
checking for random... no
checking for lrand48... no
checking for bcopy... no
checking for bcmp... no
checking for logb... no
checking for frexp... no
checking for fmod... no
checking for rint... no
checking for cbrt... no
checking for ftime... no
checking for res_init... no
checking for setsid... no
checking for strerror... no
checking for fpathconf... no
checking for select... no
checking for mktime... no
checking for euidaccess... no
checking for getpagesize... (cached) yes
checking for tzset... no
checking for setlocale... no
checking for utimes... no
checking for setrlimit... no
checking for setpgid... no
checking for getcwd... no
checking for getwd... no
checking for shutdown... no
checking for getaddrinfo... no
checking for __fpending... no
checking for mblen... no
checking for mbrlen... no
checking for mbsinit... no
checking for strsignal... no
checking for setitimer... no
checking for ualarm... no
checking for index... no
checking for rindex... no
checking for sendto... no
checking for recvfrom... no
checking for getsockopt... no
checking for setsockopt... no
checking for getsockname... no
checking for getpeername... no
checking for gai_strerror... no
checking for mkstemp... no
checking for getline... no
checking for getdelim... no
checking for mremap... no
checking for memmove... no
checking for fsync... no
checking for bzero... no
checking for memset... no
checking for memcmp... no
checking for memmove... (cached) no
checking for difftime... no
checking for memcpy... no
checking for mempcpy... no
checking for mblen... (cached) no
checking for mbrlen... (cached) no
checking for posix_memalign... no
checking sys/un.h usability... no
checking sys/un.h presence... yes
configure: WARNING: sys/un.h: present but cannot be compiled
configure: WARNING: sys/un.h:     check for missing prerequisite headers?
configure: WARNING: sys/un.h: see the Autoconf documentation
configure: WARNING: sys/un.h:     section "Present But Cannot Be Compiled"
configure: WARNING: sys/un.h: proceeding with the preprocessor's result
configure: WARNING: sys/un.h: in the future, the compiler will take precedence
configure: WARNING:     ## ------------------------------------------ ##
configure: WARNING:     ## Report this to the AC_PACKAGE_NAME lists.  ##
configure: WARNING:     ## ------------------------------------------ ##
checking for sys/un.h... yes
checking for stdlib.h... (cached) yes
checking for sys/time.h... (cached) yes
checking for unistd.h... (cached) yes
checking for alarm... no
checking for working mktime... no
checking for getloadavg... no
checking for pstat_getdynamic... no
checking for kstat_open in -lkstat... 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 getloadavg... 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 for locale.h... (cached) yes
checking for setlocale... (cached) 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... yes
configure: WARNING: mach/mach.h: present but cannot be compiled
configure: WARNING: mach/mach.h:     check for missing prerequisite headers?
configure: WARNING: mach/mach.h: see the Autoconf documentation
configure: WARNING: mach/mach.h:     section "Present But Cannot Be Compiled"
configure: WARNING: mach/mach.h: proceeding with the preprocessor's result
configure: WARNING: mach/mach.h: in the future, the compiler will take 
precedence
configure: WARNING:     ## ------------------------------------------ ##
configure: WARNING:     ## Report this to the AC_PACKAGE_NAME lists.  ##
configure: WARNING:     ## ------------------------------------------ ##
checking for mach/mach.h... yes
checking nlist.h usability... no
checking nlist.h presence... yes
configure: WARNING: nlist.h: present but cannot be compiled
configure: WARNING: nlist.h:     check for missing prerequisite headers?
configure: WARNING: nlist.h: see the Autoconf documentation
configure: WARNING: nlist.h:     section "Present But Cannot Be Compiled"
configure: WARNING: nlist.h: proceeding with the preprocessor's result
configure: WARNING: nlist.h: in the future, the compiler will take precedence
configure: WARNING:     ## ------------------------------------------ ##
configure: WARNING:     ## Report this to the AC_PACKAGE_NAME lists.  ##
configure: WARNING:     ## ------------------------------------------ ##
checking for nlist.h... yes
checking for struct nlist.n_un.n_name... no
checking whether getloadavg requires setgid... no
checking for _LARGEFILE_SOURCE value needed for large files... no
checking for fseeko... no
checking whether getpgrp requires zero arguments... yes
checking for strftime... no
checking for strftime in -lintl... no
checking for grantpt... no
checking for getpt... no
checking for tparm in -lncurses... no
checking for dgettext in -lintl... no
checking whether localtime caches TZ... no
checking for gettimeofday... no
checking for struct tm.tm_zone... (cached) yes
checking for socket... no
checking whether system supports dynamic ptys... no
checking for pid_t... no
checking for unistd.h... (cached) yes
checking vfork.h usability... no
checking vfork.h presence... no
checking for vfork.h... no
checking for fork... no
checking for vfork... no
checking for nl_langinfo and CODESET... no
checking for size_t... no
checking for mbstate_t... no
checking for C restrict keyword... no
checking for C restricted array declarations... no

Configured for `powerpc-apple-darwin6.6'.

  Where should the build process find the source code?    
/Users/immanuel/workspace/CVS/emacs
  What operating system and machine description files should Emacs use?
        `s/darwin.h' and `m/powermac.h'
  What compiler should emacs be built with?               gcc -g -O2
  Should Emacs use the GNU version of malloc?             no
    (The GNU allocators don't work with this system configuration.)
  Should Emacs use a relocating allocator for buffers?    no
  Should Emacs use mmap(2) for buffer allocation?         no
  What window system should Emacs use?                    mac
  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 -lungif?                                 no
  Does Emacs use -lpng?                                   no
  Does Emacs use X toolkit scroll bars?                   no

configure: creating ./config.status
config.status: creating Makefile
config.status: creating lib-src/Makefile.c
config.status: creating oldXMenu/Makefile
config.status: creating man/Makefile
config.status: creating lwlib/Makefile
config.status: creating src/Makefile.c
config.status: creating lisp/Makefile
config.status: creating lispref/Makefile
config.status: creating lispintro/Makefile
config.status: creating leim/Makefile
config.status: creating src/config.h
config.status: src/config.h is unchanged
config.status: executing default commands
creating src/epaths.h
src/epaths.h is unchanged
creating lib-src/Makefile
creating src/Makefile
bash-2.05a$ make
cd lib-src; make all  \
  CC='gcc' CFLAGS='-g -O2' CPPFLAGS='-fpascal-strings -fno-common -DMAC_OSX 
-I../mac/src  ' \
  LDFLAGS='' MAKE='make'
gcc -fpascal-strings -fno-common -DMAC_OSX -I../mac/src -DHAVE_CONFIG_H -I. 
-I../src -I/Users/immanuel/workspace/CVS/emacs/lib-src 
-I/Users/immanuel/workspace/CVS/emacs/lib-src/../src  -fpascal-strings 
-fno-common -DMAC_OSX -I../mac/src   -g -O2 
/Users/immanuel/workspace/CVS/emacs/lib-src/make-docfile.c  -o make-docfile
/Users/immanuel/workspace/CVS/emacs/lib-src/make-docfile.c:73: warning: could 
not use precompiled header '/usr/include/unistd-gcc3.p', because:
/Users/immanuel/workspace/CVS/emacs/lib-src/make-docfile.c:73: warning: macro 
'vfork' defined by ../src/s/darwin.h conflicts with precomp
In file included from 
/Users/immanuel/workspace/CVS/emacs/lib-src/make-docfile.c:37:
../src/config.h:1009: conflicting types for `size_t'
/usr/include/string.h:63: previous declaration of `size_t'
make[1]: *** [make-docfile] Error 1
make: *** [lib-src] Error 2

***************************************************************************
-- Laziness. You know it makes sense.
Comment in GHC source code.
--
Immanuel Litzroth
Software Development Engineer
Enfocus Software
Kleindokkaai 3-5
B-9000 Gent
Belgium
Voice: +32 9 269 23 90
Fax : +32 9 269 16 91
Email: address@hidden
web : www.enfocus.be
***************************************************************************





reply via email to

[Prev in Thread] Current Thread [Next in Thread]