Am 20.09.2007 um 15:55 schrieb Adrian Robert:
In addition, this release is not as heavily tested as rc2, but hopefully the bug-fix emphasis means it will be more stable.
Hello!I tried to compile this release in Emacs.app in a *compilation* buffer as
./compile --shared-lisp /usr/local
I get these warnings when compiling frame.c:
In file included from frame.c:37:
nsterm.h:674: warning: ‘struct glyph_string’ declared inside
parameter list
nsterm.h:674: warning: its scope is only this definition or
declaration, which is probably not what you want
In file included from frame.c:47:
blockinput.h:65:1: warning: "BLOCK_INPUT" redefined
In file included from frame.c:37:
nsterm.h:31:1: warning: this is the location of the previous definition
In file included from frame.c:47:
blockinput.h:82:1: warning: "UNBLOCK_INPUT" redefined
In file included from frame.c:37:
nsterm.h:33:1: warning: this is the location of the previous definition
or xfaces.c:
In file included from xfaces.c:244:
nsterm.h:674: warning: ‘struct glyph_string’ declared inside
parameter list
nsterm.h:674: warning: its scope is only this definition or
declaration, which is probably not what you want
In file included from xfaces.c:256:
blockinput.h:65:1: warning: "BLOCK_INPUT" redefined
In file included from xfaces.c:244:
nsterm.h:31:1: warning: this is the location of the previous definition
In file included from xfaces.c:256:
blockinput.h:82:1: warning: "UNBLOCK_INPUT" redefined
In file included from xfaces.c:244:
or nsfns.m:
In file included from nsfns.m:35:
nsterm.h:674: warning: ‘struct glyph_string’ declared inside
parameter list
nsterm.h:674: warning: its scope is only this definition or
declaration, which is probably not what you want
In file included from nsterm.m:38:
nsterm.h:674: warning: ‘struct glyph_string’ declared inside
parameter list
nsterm.h:674: warning: its scope is only this definition or
declaration, which is probably not what you want
or nsselect.m:
In file included from nsselect.m:31:
nsterm.h:674: warning: ‘struct glyph_string’ declared inside
parameter list
nsterm.h:674: warning: its scope is only this definition or
declaration, which is probably not what you want
A bit later these failures occur:
.../emacs-23.0.0_NS-9.0rc2a/mkinstalldirs /usr/local/var/games/emacs
touch /usr/local/var/games/emacs/snake-scores
touch: /usr/local/var/games/emacs/snake-scores: Permission denied
make[1]: *** [.../emacs-23.0.0_NS-9.0rc2a/nextstep/build/Emacs.app/
Contents/MacOS/libexec/emacs/23.0.0/powerpc-apple-darwin8.10.0] Error 1
make: *** [install-arch-dep] Error 2
make: *** Waiting for unfinished jobs....
RUNEMACS="`/bin/pwd`/temacs"; cd .../emacs-23.0.0_NS-9.0rc2a/src/../
admin/unidata; make - --jobserver-fds=5,6 - --jobserver-fds=5,6 -j
RUNEMACS="${RUNEMACS}" DSTDIR=.../emacs-23.0.0_NS-9.0rc2a/src/../lisp/
international
rm: /usr/local/share/emacs/23.0.0/leim/leim-list.el: Permission denied
make[2]: Nothing to be done for `all'.
rm: /usr/local/share/emacs/23.0.0/leim/quail: Permission denied
rm: /usr/local/share/emacs/23.0.0/leim/ja-dic: Permission denied
Copying leim files to /usr/local/share/emacs/23.0.0/leim ...
leim-list.el
tar: leim-list.el: Cannot open: File exists
When launching build/Emacs.app it dies with:
Symbol's function definition is void: ns-list-command-keys
The Elisp files in /usr/local/share/emacs/23.0.0 exist from rc1 release.
Compiling it with just ./compile Emacs.app launches. The left fringe
below text is defective: there is some blue line in its middle (like
the mercury in an old thermometer):
<<inline: pastedGraphic.tiff>>
It's not like in the GNU Emacs X client ... Great that the pop-up menus are real pop-ups!
The compile script does not support --enable-locallisppath=... This patch enables the feature:
--- compile.orig 2007-09-18 16:20:43.000000000 +0200
+++ compile 2007-09-27 17:41:34.000000000 +0200
@@ -23,11 +23,18 @@
# Set up path and config variables.
if [ $# -gt 0 ]; then
- if [ $# -ne 2 ] || [ $1 != "--shared-lisp" ]; then
- echo "Usage: $0 [--shared-lisp 'install_root']"
- exit
- fi
- PREFIX=${2}
+ case "$1" in
+ --shared-lisp)
+ PREFIX="${2}"
+ shift ; shift
+ ;;
+ --enable-locallisppath=*)
+ locallisppath=`echo "$1" | sed s/--enable-locallisppath=//`
+ ;;
+ *)
+ echo "Usage: $0 [--shared-lisp 'install_root' --enable-
locallisppath='some path(s)']"
+ exit
+ esac
else
PREFIX=""
fi
@@ -116,6 +123,12 @@
fi
fi
+# Pete's addition for local lisp load-path
+ echo "Local lisp path is being enabled"
+ (cd src; mv epaths.h epaths.h-orig; \
+ printf "s,\(#define PATH_LOADSEARCH \"\),\\\1%s:,\n" "$
{locallisppath}" > locallisppath.sed; \
+ cat epaths.h-orig | sed -f locallisppath.sed > epaths.h; rm
locallisppath.sed)
+ # Go (installs binaries to ./build/Emacs.app, lisp to there or PREFIX) echo "make install" $MAKE -- Greetings Pete A morning without coffee is like something without something else.
------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________ Emacs-app-dev- mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/emacs-app-dev-
