emacs-devel
[Top][All Lists]
Advanced

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

Re: CVS HEAD still fails to "make all install" incrementally on NextStep


From: Jan Djärv
Subject: Re: CVS HEAD still fails to "make all install" incrementally on NextStep/OSX
Date: Tue, 30 Dec 2008 18:37:12 +0100
User-agent: Thunderbird 2.0.0.18 (Macintosh/20081105)

I did a fresh checkout and I don't get errors as in make install finishes with an error, but I do get this:

          ( cd /Users/jhd/src/emacs/nextstep/Emacs.app/Contents/Resources ; \
            if test -d share/emacs ; then mv -f share/emacs/*/* . ; fi ; \
            if test -d share/info ; then mv -f share/info . ; fi ; \
            rm -fr share ) ; \
( cd /Users/jhd/src/emacs/nextstep/Emacs.app/Contents/MacOS/libexec ; mv -f emacs/*/*/* . ; rm -fr emacs ) ; \ ( cd /Users/jhd/src/emacs/nextstep/Emacs.app/Contents/MacOS/bin ; rm -f emacs emacs-23* ; \
            ln -sf ../libexec/* .) ; \
        else true ; fi
mv: rename share/emacs/23.0.60/etc to ./etc: Directory not empty
mv: rename share/emacs/23.0.60/lisp to ./lisp: Directory not empty
mv: rename share/emacs/23.0.60/site-lisp to ./site-lisp: Directory not empty
mv: rename share/info to ./info: Directory not empty

and similar mv messages for leim. Why the move from share/emacs/*/* to .? It just keeps garabage around, as they aren't removed anywhere I could find.

I don't know if this is the failure Randal sees.

        Jan D.


Dan Nicolaescu skrev:
address@hidden (Randal L. Schwartz) writes:

  > repeat on OSX with:
> > ./configure --with-ns
  >   make bootstrap install # works so far
  >   touch src/nsterm.m # trigger rebuild, like a cvs pull
  >   make all install # FAILS TO INSTALL
> > workaround is to always: > > make booststrap install # works, but takes a LOT longer > > can someone who made the nextstep/cocoa .app install please fix this? I'd
  > help, but I don't want to reverse engineer it,
Why not?
This is the emacs/Makefile.in patch that added support for NextStep:

Index: Makefile.in
===================================================================
RCS file: /cvsroot/emacs/emacs/Makefile.in,v
retrieving revision 1.356
retrieving revision 1.357
diff -u -3 -p -u -p -r1.356 -r1.357
--- Makefile.in 25 Jun 2008 15:46:23 -0000      1.356
+++ Makefile.in 15 Jul 2008 18:14:52 -0000      1.357
@@ -137,7 +137,7 @@ man1dir=$(mandir)/man1
 address@hidden@
 INFO_FILES=ada-mode autotype calc ccmode cl dbus dired-x ebrowse ediff \
            efaq eintr elisp emacs emacs-mime epa erc eshell eudc       \
-           flymake forms gnus idlwave info message mh-e newsticker     \
+           flymake forms gnus idlwave info message mh-e newsticker ns-emacs \
            nxml-mode org pcl-cvs pgg rcirc reftex remember sasl sc ses \
            sieve speedbar tramp vip viper widget woman smtpmail url
@@ -167,6 +167,9 @@ address@hidden
 # Location to install Emacs.app on Mac OS X
 address@hidden@
+# Location to install Emacs.app under NeXT/Open/GNUstep / Cocoa
address@hidden@
+
 # Where the etc/emacs.desktop file is to be installed.
 desktopdir=$(datarootdir)/applications
@@ -411,6 +414,14 @@ install-arch-dep: mkdir
                (cd $(DESTDIR)${carbon_appdir}/Emacs.app; umask 022; tar -xvf - 
\
                        && cat > /dev/null))) || exit 1; \
        fi
+       if test "${ns_appdir}" != ""; then \
+         umask 022; mkdir -p ${ns_appdir}/Emacs.app; \
+         (cd nextstep/build/Emacs.app; (tar -chf - . | \
+               (cd ${ns_appdir}/Emacs.app; umask 022; tar -xvf - \
+                       && cat > /dev/null))) || exit 1; \
+         ( cd site-lisp ; tar chf - . ) | \
+             ( cd ${datadir}/$(EMACSFULL)/site-lisp ; tar xf - ) \
+       fi
## http://lists.gnu.org/archive/html/emacs-devel/2007-10/msg01672.html
 ## Needs to be the user running install, so configure can't set it.

Debugging this should not be that difficult if you have access to an OSX
machine, which most people here don't...





reply via email to

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