bug-gnu-emacs
[Top][All Lists]
Advanced

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

Emacs 22 loses on Mac OS X 10.4


From: Devon Sean McCullough
Subject: Emacs 22 loses on Mac OS X 10.4
Date: Mon, 13 Feb 2006 17:29:50 -0500 (EST)

Emacs 22.0.50 fails to compile out of the box on Mac OS X 10.4.4 (8G32)
giving a warning and an error, neither of which I know how to debug:

ld: warning prebinding disabled because dependent library: 
/sw/lib/libncurses.5.dylib is not prebound
ld: /usr/lib/crt1.o illegal reference to symbol: __objcInit defined in 
indirectly referenced dynamic library /usr/lib/libobjc.A.dylib

                Peace
                        --Devon

PS: Lossage transcript with [[commentary]] and ... redactions:

$ date
Sun Feb 12 16:12:25 EST 2006
$ GET 
https://savannah.gnu.org/faq/?question=CVS_-_How_to_do_anonymous_access.txt
...
$ GET http://savannah.gnu.org/projects/emacs
...
$ GET http://savannah.gnu.org/cvs/?group=emacs
...
$ cvs -z3 -d:pserver:address@hidden:/sources/emacs co emacs
cvs checkout: could not open /.../.cvspass: No such file or directory
cvs [checkout aborted]: use "cvs login" to log in first

$ cvs -z3 -d:pserver:address@hidden:/sources/emacs login
(Logging in to address@hidden)
CVS password:
... [[well, "anonymous" didn't work but "" did]] ...

$ cvs -z3 -d:pserver:address@hidden:/sources/emacs co emacs
cvs checkout: Updating emacs
...
$ cd emacs
$ cat ~/gnu/emacs/mac/INSTALL
...

$ ./configure --enable-carbon-app --without-x
checking build system type... powerpc-apple-darwin8.4.0
checking host system type... powerpc-apple-darwin8.4.0
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 how to run the C preprocessor... gcc -E -no-cpp-precomp -I/sw/include 
-L/sw/lib
checking for egrep... grep -E
checking for AIX... no
checking whether gcc understands -Wno-pointer-sign... no
checking whether ln -s works... yes
checking how to run the C preprocessor... gcc -E -no-cpp-precomp -I/sw/include 
-L/sw/lib
checking for a BSD-compatible install... /usr/bin/install -c
checking for ranlib... ranlib
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 -znocombreloc... 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... 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 if personality LINUX32 can be set... 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 sys/socket.h usability... yes
checking sys/socket.h presence... yes
checking for sys/socket.h... yes
checking for net/if.h... 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 struct ifreq.ifr_flags... yes
checking for struct ifreq.ifr_hwaddr... no
checking for struct ifreq.ifr_netmask... no
checking for struct ifreq.ifr_broadaddr... yes
checking for struct ifreq.ifr_addr... 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 Carbon/Carbon.h usability... yes
checking Carbon/Carbon.h presence... yes
checking for Carbon/Carbon.h... yes
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 malloc/malloc.h usability... yes
checking malloc/malloc.h presence... yes
checking for malloc/malloc.h... yes
checking for CancelMenuTracking... no
checking whether netdb declares h_errno... yes
checking for working alloca.h... yes
checking for alloca... 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 dup2... 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 bcopy... yes
checking for bcmp... 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 res_init... yes
checking for setsid... yes
checking for strerror... yes
checking for fpathconf... yes
checking for select... yes
checking for mktime... yes
checking for euidaccess... no
checking for getpagesize... (cached) yes
checking for tzset... yes
checking for setlocale... yes
checking for utimes... 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 index... yes
checking for rindex... 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... no
checking for getdelim... no
checking for mremap... no
checking for memmove... yes
checking for fsync... yes
checking for bzero... yes
checking for memset... yes
checking for memcmp... yes
checking for difftime... yes
checking for memcpy... yes
checking for mempcpy... no
checking for mblen... (cached) yes
checking for mbrlen... (cached) yes
checking for posix_memalign... no
checking sys/un.h usability... yes
checking sys/un.h presence... yes
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... yes
checking for working mktime... yes
checking for getloadavg... yes
checking for pstat_getdynamic... no
checking for kstat_open in -lkstat... no
checking for getloadavg... yes
checking whether getloadavg requires setgid... no
checking for _LARGEFILE_SOURCE value needed for large files... no
checking for fseeko... yes
checking getopt.h usability... yes
checking getopt.h presence... yes
checking for getopt.h... yes
checking for getopt_long_only... yes
checking whether optreset is declared... yes
checking whether getpgrp requires zero arguments... yes
checking for strftime... yes
checking for grantpt... yes
checking for getpt... no
checking for tparm in -lncurses... yes
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 struct tm.tm_zone... (cached) yes
checking for struct timezone... 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 sys/ioctl.h usability... yes
checking sys/ioctl.h presence... yes
checking for sys/ioctl.h... yes
checking whether system supports dynamic ptys... no
checking for pid_t... yes
checking for unistd.h... (cached) 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 size_t... yes
checking for mbstate_t... yes
checking for C restrict keyword... __restrict
checking for C restricted array declarations... yes

Configured for `powerpc-apple-darwin8.4.0'.

  Where should the build process find the source code?    /.../gnu/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 -I/sw/include 
-L/sw/lib -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?                   yes

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: executing default commands
creating src/epaths.h
creating lib-src/Makefile
creating src/Makefile

$ make
Your tree does not include the compiled Lisp files.
You need to do `make bootstrap' to build Emacs.
Emacs now requires Texinfo version 4.2.
make: *** [maybe_bootstrap] Error 1

$ make bootstrap
(cd src;      make  mostlyclean)
...
gcc -I/sw/include -L/sw/lib -c -fpascal-strings -DMAC_OSX -I../mac/src   
-Demacs -DHAVE_CONFIG_H   -I. -I/.../gnu/emacs/src -fpascal-strings -DMAC_OSX 
-I../mac/src -Dtemacs -g -O2  lastfile.c
gcc -I/sw/include -L/sw/lib -Demacs -DHAVE_CONFIG_H   -I. -I/.../gnu/emacs/src 
-fpascal-strings -DMAC_OSX -I../mac/src -Dtemacs -g -O2   
/.../gnu/emacs/src/prefix-args.c -o prefix-args
echo "dispnew.o frame.o scroll.o xdisp.o  window.o charset.o coding.o 
category.o ccl.o cm.o term.o xfaces.o   emacs.o keyboard.o macros.o keymap.o 
sysdep.o buffer.o filelock.o insdel.o marker.o minibuf.o fileio.o dired.o 
filemode.o cmds.o casetab.o casefiddle.o indent.o search.o regex.o undo.o 
alloc.o data.o doc.o editfns.o callint.o eval.o floatfns.o fns.o print.o 
lread.o abbrev.o syntax.o unexmacosx.o bytecode.o process.o callproc.o 
region-cache.o sound.o atimer.o doprnt.o strftime.o intervals.o textprop.o 
composite.o md5.o  mac.o macterm.o macfns.o macmenu.o macselect.o fontset.o 
fringe.o image.o  terminfo.o lastfile.o     " > buildobj.lst
gcc -I/sw/include -L/sw/lib  -prebind -framework Carbon -framework QuickTime 
-Xlinker -headerpad -Xlinker 690  -o temacs pre-crt0.o dispnew.o frame.o 
scroll.o xdisp.o  window.o charset.o coding.o category.o ccl.o cm.o term.o 
xfaces.o   emacs.o keyboard.o macros.o keymap.o sysdep.o buffer.o filelock.o 
insdel.o marker.o minibuf.o fileio.o dired.o filemode.o cmds.o casetab.o 
casefiddle.o indent.o search.o regex.o undo.o alloc.o data.o doc.o editfns.o 
callint.o eval.o floatfns.o fns.o print.o lread.o abbrev.o syntax.o 
unexmacosx.o bytecode.o process.o callproc.o region-cache.o sound.o atimer.o 
doprnt.o strftime.o intervals.o textprop.o composite.o md5.o  mac.o macterm.o 
macfns.o macmenu.o macselect.o fontset.o fringe.o image.o  terminfo.o 
lastfile.o         -lncurses   
ld: warning prebinding disabled because dependent library: 
/sw/lib/libncurses.5.dylib is not prebound
ld: /usr/lib/crt1.o illegal reference to symbol: __objcInit defined in 
indirectly referenced dynamic library /usr/lib/libobjc.A.dylib
make[2]: *** [temacs] Error 1
make[1]: *** [bootstrap-build] Error 2
make: *** [bootstrap] Error 2

$ uname -a
Darwin Secondhand-Powerbook.local 8.4.0 Darwin Kernel Version 8.4.0: Tue Jan  3 
18:22:10 PST 2006; root:xnu-792.6.56.obj~1/RELEASE_PPC Power Macintosh powerpc

$ ls -ailt /sw/lib/*curses.*
370209 lrwxr-xr-x   1 root  admin      22 Dec 26  2003 
/sw/lib/libncurses.5.dylib -> libncurses.5.0.3.dylib
370211 lrwxr-xr-x   1 root  admin      22 Dec 26  2003 /sw/lib/libncurses.dylib 
-> libncurses.5.0.3.dylib
370212 lrwxr-xr-x   1 root  admin      26 Dec 26  2003 
/sw/lib/libncurses.dylib.5 -> /sw/lib/libncurses.5.dylib
370208 -rw-r--r--   1 root  admin  377736 Nov 13  2003 
/sw/lib/libncurses.5.0.3.dylib
370210 -rw-r--r--   1 root  admin  637440 Nov 13  2003 /sw/lib/libncurses.a
370213 -rw-r--r--   1 root  admin     724 Nov 13  2003 /sw/lib/libncurses.la

$ ls -ailt /usr/lib/*objc*
2117624 -rwxr-xr-x   1 root  wheel  801160 Nov  6 14:17 /usr/lib/libobjc.A.dylib
2114462 lrwxr-xr-x   1 root  wheel      15 Nov  6 14:12 /usr/lib/libobjc.dylib 
-> libobjc.A.dylib
1740557 -rwxr-xr-x   1 root  wheel  856312 Jul 31  2005 
/usr/lib/libobjc_profile.A.dylib
1451103 lrwxr-xr-x   1 root  wheel      23 Jan 24  2005 
/usr/lib/libobjc.A_profile.dylib -> libobjc_profile.A.dylib
1451105 lrwxr-xr-x   1 root  wheel      23 Jan 24  2005 
/usr/lib/libobjc_profile.dylib -> libobjc_profile.A.dylib

$ 




reply via email to

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