* CVS HEAD still fails to "make all install" incrementally on NextStep/OSX
@ 2008-12-29 2:17 Randal L. Schwartz
2008-12-29 19:22 ` Dan Nicolaescu
0 siblings, 1 reply; 6+ messages in thread
From: Randal L. Schwartz @ 2008-12-29 2:17 UTC (permalink / raw)
To: emacs-devel
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, and it's not documented.
--
Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095
<merlyn@stonehenge.com> <URL:http://www.stonehenge.com/merlyn/>
Smalltalk/Perl/Unix consulting, Technical writing, Comedy, etc. etc.
See http://methodsandmessages.vox.com/ for Smalltalk and Seaside discussion
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: CVS HEAD still fails to "make all install" incrementally on NextStep/OSX
2008-12-29 2:17 CVS HEAD still fails to "make all install" incrementally on NextStep/OSX Randal L. Schwartz
@ 2008-12-29 19:22 ` Dan Nicolaescu
2008-12-30 17:37 ` Jan Djärv
0 siblings, 1 reply; 6+ messages in thread
From: Dan Nicolaescu @ 2008-12-29 19:22 UTC (permalink / raw)
To: Randal L. Schwartz; +Cc: emacs-devel
merlyn@stonehenge.com (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
infodir=@infodir@
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 @@ x_default_search_path=@x_default_search_
# Location to install Emacs.app on Mac OS X
carbon_appdir=@carbon_appdir@
+# Location to install Emacs.app under NeXT/Open/GNUstep / Cocoa
+ns_appdir=@ns_appdir@
+
# 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...
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: CVS HEAD still fails to "make all install" incrementally on NextStep/OSX
2008-12-29 19:22 ` Dan Nicolaescu
@ 2008-12-30 17:37 ` Jan Djärv
2008-12-30 17:41 ` Randal L. Schwartz
0 siblings, 1 reply; 6+ messages in thread
From: Jan Djärv @ 2008-12-30 17:37 UTC (permalink / raw)
To: Dan Nicolaescu; +Cc: emacs-devel, Randal L. Schwartz
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:
> merlyn@stonehenge.com (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
> infodir=@infodir@
> 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 @@ x_default_search_path=@x_default_search_
> # Location to install Emacs.app on Mac OS X
> carbon_appdir=@carbon_appdir@
>
> +# Location to install Emacs.app under NeXT/Open/GNUstep / Cocoa
> +ns_appdir=@ns_appdir@
> +
> # 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...
>
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: CVS HEAD still fails to "make all install" incrementally on NextStep/OSX
2008-12-30 17:37 ` Jan Djärv
@ 2008-12-30 17:41 ` Randal L. Schwartz
2008-12-30 20:16 ` Jan Djärv
0 siblings, 1 reply; 6+ messages in thread
From: Randal L. Schwartz @ 2008-12-30 17:41 UTC (permalink / raw)
To: Jan Djärv; +Cc: Dan Nicolaescu, emacs-devel
>>>>> "Jan" == Jan Djärv <jan.h.d@swipnet.se> writes:
Jan> mv: rename share/emacs/23.0.60/etc to ./etc: Directory not empty
Jan> mv: rename share/emacs/23.0.60/lisp to ./lisp: Directory not empty
Jan> mv: rename share/emacs/23.0.60/site-lisp to ./site-lisp: Directory not empty
Jan> mv: rename share/info to ./info: Directory not empty
Jan> and similar mv messages for leim. Why the move from share/emacs/*/* to .? It
Jan> just keeps garabage around, as they aren't removed anywhere I could find.
Jan> I don't know if this is the failure Randal sees.
"make install" succeeds, but the resulting app won't work because it
doesn't have the .2 version of the messages, etc.
Yes, this is the error. sorry... i should have clarified the error.
--
Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095
<merlyn@stonehenge.com> <URL:http://www.stonehenge.com/merlyn/>
Smalltalk/Perl/Unix consulting, Technical writing, Comedy, etc. etc.
See http://methodsandmessages.vox.com/ for Smalltalk and Seaside discussion
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: CVS HEAD still fails to "make all install" incrementally on NextStep/OSX
2008-12-30 17:41 ` Randal L. Schwartz
@ 2008-12-30 20:16 ` Jan Djärv
2008-12-31 19:51 ` Randal L. Schwartz
0 siblings, 1 reply; 6+ messages in thread
From: Jan Djärv @ 2008-12-30 20:16 UTC (permalink / raw)
To: Randal L. Schwartz; +Cc: Dan Nicolaescu, emacs-devel
Randal L. Schwartz skrev:
>>>>>> "Jan" == Jan Djärv <jan.h.d@swipnet.se> writes:
>
> Jan> mv: rename share/emacs/23.0.60/etc to ./etc: Directory not empty
> Jan> mv: rename share/emacs/23.0.60/lisp to ./lisp: Directory not empty
> Jan> mv: rename share/emacs/23.0.60/site-lisp to ./site-lisp: Directory not empty
> Jan> mv: rename share/info to ./info: Directory not empty
>
> Jan> and similar mv messages for leim. Why the move from share/emacs/*/* to .? It
> Jan> just keeps garabage around, as they aren't removed anywhere I could find.
>
> Jan> I don't know if this is the failure Randal sees.
>
> "make install" succeeds, but the resulting app won't work because it
> doesn't have the .2 version of the messages, etc.
>
> Yes, this is the error. sorry... i should have clarified the error.
>
That is OK, I think I have fixed it now. That is, it works here :-)
Can you test again?
Jan D.
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2008-12-31 19:51 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-12-29 2:17 CVS HEAD still fails to "make all install" incrementally on NextStep/OSX Randal L. Schwartz
2008-12-29 19:22 ` Dan Nicolaescu
2008-12-30 17:37 ` Jan Djärv
2008-12-30 17:41 ` Randal L. Schwartz
2008-12-30 20:16 ` Jan Djärv
2008-12-31 19:51 ` Randal L. Schwartz
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.