|
From: | Jim T. |
Subject: | Help with configuring emacs for Mac OS X (Carbon, not X11) |
Date: | Wed, 28 Sep 2005 22:54:34 -0400 |
User-agent: | Microsoft-Entourage/10.0.0.1309 |
cvs -z3 -d:ext:address@hidden:/cvsroot/emacs co emacs
cd emacs
./configure --enable-carbon-app --without-x
make bootstrap
sudo make install
What operating system and machine description files should Emacs use?It seemed odd to me that the Xpm/jpeg/tiff/ungif/png stuff didn’t get detected, but I decided to “make” and see what happens:
`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
image.c:5396: warning: pointer targets in passing argument 1 of 'slurp_file' differ in signednessWell that failed miserably. :-( I tried my other method of compiling emacs (for X11, using “configure —without-carbon”), and all the graphic formats became enabled (except for ungif, due to a failure w/ EGifPutExtensionLast – is that a known problem?) and make worked fine.
image.c: In function 'png_load':
image.c:6244: error: 'kQTFileTypePNG' undeclared (first use in this function)
image.c: In function 'tiff_load':
image.c:7116: error: 'kQTFileTypeTIFF' undeclared (first use in this function)
image.c: In function 'gif_load':
image.c:7500: error: 'Movie' undeclared (first use in this function)
image.c:7500: error: parse error before "movie"
image.c:7502: error: 'Track' undeclared (first use in this function)
image.c:7502: error: parse error before "track"
image.c:7503: error: 'Media' undeclared (first use in this function)
image.c:7535: error: 'kQTFileTypeGIF' undeclared (first use in this function)
image.c:7547: error: 'movie' undeclared (first use in this function)
image.c:7570: error: 'kDataRefExtensionMacOSFileType' undeclared (first use in this function)
image.c:7583: error: 'HandleDataHandlerSubType' undeclared (first use in this function)
image.c:7608: error: 'track' undeclared (first use in this function)
image.c:7609: error: 'media' undeclared (first use in this function)
### Use -ljpeg if available, unless `--with-jpeg=no'.I read that first “if” as “if you don’t have X11, skip this whole JPEG section”. How come the JPEG section and the other graphic sections are disabled in non-X11 configs? I know this used to work for Carbon, but I don’t have the old configure script to figure out what changed.
HAVE_JPEG=no
if test "${HAVE_X11}" = "yes"; then
if test "${with_jpeg}" != "no"; then
[Prev in Thread] | Current Thread | [Next in Thread] |