Opened 21 years ago

Closed 20 years ago

#1533 closed defect (fixed)

Emacs +x11 cannot be compiled.

Reported by: dxiao@… Owned by: jkh@…
Priority: Normal Milestone:
Component: ports Version: 1.0
Keywords: Cc: waqar@…, pguyot (Paul Guyot), danchr@…
Port:

Description

Here is what I got

[dxiao@xiao dxiao]$ sudo port install +x11 emacs ---> Fetching emacs ---> Verifying checksum for emacs ---> Extracting emacs ---> Configuring emacs ---> Building emacs with target all Error: Target com.apple.build returned: shell command "cd "/Users/dxiao/Garden/darwinports/dports/ editors/emacs/work/emacs-21.2" && make all" returned error 2 Command output: gcc -c -I/usr/X11R6/include -g -O2 -DEMACS_BITMAP_FILES -DHAVE_CONFIG_H -Demacs -I. -I../src -I/Users/dxiao/Garden/darwinports/dports/editors/emacs/work/emacs-21.2/ lwlib -I/Users/dxiao/Garden/darwinports/dports/editors/emacs/work/emacs-21.2/lwlib/../src xlwmenu.c gcc -c -I/usr/X11R6/include -g -O2 -DEMACS_BITMAP_FILES -DHAVE_CONFIG_H -Demacs -I. -I../ src -I/Users/dxiao/Garden/darwinports/dports/editors/emacs/work/emacs-21.2/lwlib -I/Users/ dxiao/Garden/darwinports/dports/editors/emacs/work/emacs-21.2/lwlib/../src lwlib-Xaw.c gcc -c -I/usr/X11R6/include -g -O2 -DEMACS_BITMAP_FILES -DHAVE_CONFIG_H -Demacs -I. -I../ src -I/Users/dxiao/Garden/darwinports/dports/editors/emacs/work/emacs-21.2/lwlib -I/Users/ dxiao/Garden/darwinports/dports/editors/emacs/work/emacs-21.2/lwlib/../src lwlib-utils.c rm -f liblw.a ar cq liblw.a lwlib.o lwlib-Xlw.o xlwmenu.o lwlib-Xaw.o lwlib-utils.o ranlib liblw.a touch stamp-oldxmenu gcc -c -Demacs -DHAVE_CONFIG_H -DUSE_LUCID -I. -I/Users/dxiao/Garden/darwinports/dports/ editors/emacs/work/emacs-21.2/src -I/usr/X11R6/include -g -O2 dispnew.c gcc -c -Demacs -DHAVE_CONFIG_H -DUSE_LUCID -I. -I/Users/dxiao/Garden/darwinports/dports/ editors/emacs/work/emacs-21.2/src -I/usr/X11R6/include -g -O2 frame.c gcc -c -Demacs -DHAVE_CONFIG_H -DUSE_LUCID -I. -I/Users/dxiao/Garden/darwinports/dports/ editors/emacs/work/emacs-21.2/src -I/usr/X11R6/include -g -O2 scroll.c gcc -c -Demacs -DHAVE_CONFIG_H -DUSE_LUCID -I. -I/Users/dxiao/Garden/darwinports/dports/ editors/emacs/work/emacs-21.2/src -I/usr/X11R6/include -g -O2 xdisp.c gcc -c -Demacs -DHAVE_CONFIG_H -DUSE_LUCID -I. -I/Users/dxiao/Garden/darwinports/dports/ editors/emacs/work/emacs-21.2/src -I/usr/X11R6/include -g -O2 xmenu.c gcc -c -Demacs -DHAVE_CONFIG_H -DUSE_LUCID -I. -I/Users/dxiao/Garden/darwinports/dports/ editors/emacs/work/emacs-21.2/src -I/usr/X11R6/include -g -O2 window.c gcc -c -Demacs -DHAVE_CONFIG_H -DUSE_LUCID -I. -I/Users/dxiao/Garden/darwinports/dports/ editors/emacs/work/emacs-21.2/src -I/usr/X11R6/include -g -O2 charset.c gcc -c -Demacs -DHAVE_CONFIG_H -DUSE_LUCID -I. -I/Users/dxiao/Garden/darwinports/dports/ editors/emacs/work/emacs-21.2/src -I/usr/X11R6/include -g -O2 coding.c coding.c: In function `decode_coding_emacs_mule': coding.c:984: warning: comparison is always true due to limited range of data type coding.c:995: warning: comparison is always true due to limited range of data type gcc -c -Demacs -DHAVE_CONFIG_H -DUSE_LUCID -I. -I/Users/dxiao/Garden/darwinports/dports/ editors/emacs/work/emacs-21.2/src -I/usr/X11R6/include -g -O2 category.c gcc -c -Demacs -DHAVE_CONFIG_H -DUSE_LUCID -I. -I/Users/dxiao/Garden/darwinports/dports/ editors/emacs/work/emacs-21.2/src -I/usr/X11R6/include -g -O2 ccl.c gcc -c -Demacs -DHAVE_CONFIG_H -DUSE_LUCID -I. -I/Users/dxiao/Garden/darwinports/dports/ editors/emacs/work/emacs-21.2/src -I/usr/X11R6/include -g -O2 cm.c gcc -c -Demacs -DHAVE_CONFIG_H -DUSE_LUCID -I. -I/Users/dxiao/Garden/darwinports/dports/ editors/emacs/work/emacs-21.2/src -I/usr/X11R6/include -g -O2 term.c gcc -c -Demacs -DHAVE_CONFIG_H -DUSE_LUCID -I. -I/Users/dxiao/Garden/darwinports/dports/ editors/emacs/work/emacs-21.2/src -I/usr/X11R6/include -g -O2 xfaces.c gcc -c -Demacs -DHAVE_CONFIG_H -DUSE_LUCID -I. -I/Users/dxiao/Garden/darwinports/dports/ editors/emacs/work/emacs-21.2/src -I/usr/X11R6/include -g -O2 xterm.c xterm.c: In function `x_set_toolkit_scroll_bar_thumb': xterm.c:8881: error: structure has no member named `scroll_mode' xterm.c:8883: error: structure has no member named `scroll_mode' xterm.c:8894: error: structure has no member named `scroll_mode' make[1]: * [xterm.o] Error 1 make: * [src] Error 2

Attachments (4)

[PATCH] define XAW_ARROW_SCROLLBARS for Xaw3s version 1.5E.html (4.4 KB) - added by jrogers@… 20 years ago.
Partial? patch
emacs-fixes.diff (876 bytes) - added by danchr@… 20 years ago.
Fix X11 compilation & add new GTK+ variant
emacs.tgz (1.3 KB) - added by pguyot (Paul Guyot) 20 years ago.
Tarball with patches
emacs.2.tgz (1.5 KB) - added by pguyot (Paul Guyot) 20 years ago.
New tarball with more patches

Download all attachments as: .zip

Change History (13)

comment:1 Changed 21 years ago by waqar@…

Owner: changed from darwinports-bugs@… to jkh@…

comment:2 Changed 21 years ago by waqar@…

Cc: waqar@… added; jkh@… removed

Changed 20 years ago by jrogers@…

Partial? patch

comment:3 Changed 20 years ago by danchr@…

Cc: danchr@… added

Changed 20 years ago by danchr@…

Attachment: emacs-fixes.diff added

Fix X11 compilation & add new GTK+ variant

comment:4 Changed 20 years ago by jkh@…

Resolution: fixed
Status: newclosed

2nd fix taken, thanks!

comment:5 Changed 20 years ago by pguyot (Paul Guyot)

Resolution: fixed
Status: closedreopened

Emacs actually still doesn't compile with pure x11 variant. Fixing.

Changed 20 years ago by pguyot (Paul Guyot)

Attachment: emacs.tgz added

Tarball with patches

comment:6 Changed 20 years ago by pguyot (Paul Guyot)

Cc: pguyot@… added

Changed 20 years ago by pguyot (Paul Guyot)

Attachment: emacs.2.tgz added

New tarball with more patches

comment:7 Changed 20 years ago by pguyot (Paul Guyot)

attachments.isobsolete: 01

comment:8 Changed 20 years ago by pguyot (Paul Guyot)

Status: reopenedassigned

comment:9 Changed 20 years ago by pguyot (Paul Guyot)

Resolution: fixed
Status: assignedclosed
Note: See TracTickets for help on using tickets.