unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#7293: Compilation Error
@ 2010-10-28  0:03 Noah Lavine
  2010-10-28  1:17 ` Glenn Morris
  2010-10-28 14:11 ` Stefan Monnier
  0 siblings, 2 replies; 5+ messages in thread
From: Noah Lavine @ 2010-10-28  0:03 UTC (permalink / raw)
  To: 7293

After running

make distclean
./configure --with-ns       (on Mac OS X),
make

I get

.... (lots of output that seems irrelevant) ....
cd lisp; make all                            \
	  CC='gcc' CFLAGS='-g -O2' CPPFLAGS='' \
	  LDFLAGS='' MAKE='make'
Compiling eshell/esh-util.el
Source file `/Users/noah/Desktop/emacs-repo/trunk/lisp/net/ange-ftp.el'
newer than byte-compiled file
Source file `/Users/noah/Desktop/emacs-repo/trunk/lisp/net/tramp.el'
newer than byte-compiled file
Loading tramp...
Source file `/Users/noah/Desktop/emacs-repo/trunk/lisp/net/trampver.el'
newer than byte-compiled file
Source file `/Users/noah/Desktop/emacs-repo/trunk/lisp/net/tramp-compat.el'
newer than byte-compiled file
Source file `/Users/noah/Desktop/emacs-repo/trunk/lisp/gnus/auth-source.el'
newer than byte-compiled file
Source file `/Users/noah/Desktop/emacs-repo/trunk/lisp/gnus/gnus-util.el'
newer than byte-compiled file
Source file `/Users/noah/Desktop/emacs-repo/trunk/lisp/net/tramp-cmds.el'
newer than byte-compiled file
Source file `/Users/noah/Desktop/emacs-repo/trunk/lisp/net/tramp-ftp.el'
newer than byte-compiled file
Source file `/Users/noah/Desktop/emacs-repo/trunk/lisp/net/tramp-smb.el'
newer than byte-compiled file
Source file `/Users/noah/Desktop/emacs-repo/trunk/lisp/net/tramp-cache.el'
newer than byte-compiled file

In toplevel form:
eshell/esh-util.el:642:13:Error: Cannot open load file: tramp-fish
make[2]: *** [eshell/esh-util.elc] Error 1
make[1]: *** [compile-main] Error 2
make: *** [lisp] Error 2

Thanks for any help,
Noah Lavine





^ permalink raw reply	[flat|nested] 5+ messages in thread

* bug#7293: Compilation Error
  2010-10-28  0:03 bug#7293: Compilation Error Noah Lavine
@ 2010-10-28  1:17 ` Glenn Morris
  2010-10-28  2:17   ` Noah Lavine
  2010-10-28 14:11 ` Stefan Monnier
  1 sibling, 1 reply; 5+ messages in thread
From: Glenn Morris @ 2010-10-28  1:17 UTC (permalink / raw)
  To: Noah Lavine; +Cc: 7293

Noah Lavine wrote:

> make distclean
> ./configure --with-ns       (on Mac OS X),
> make

Please try again with `make bootstrap'.
(Also you did not say what you version you are trying to build.)

> Source file `/Users/noah/Desktop/emacs-repo/trunk/lisp/net/ange-ftp.el'
> newer than byte-compiled file

Lots of stale .elc files.

> eshell/esh-util.el:642:13:Error: Cannot open load file: tramp-fish

Removed from trunk 2010-09-13. Presumably you have stale .elc file
still referring to it.





^ permalink raw reply	[flat|nested] 5+ messages in thread

* bug#7293: Compilation Error
  2010-10-28  1:17 ` Glenn Morris
@ 2010-10-28  2:17   ` Noah Lavine
  2010-10-28  2:59     ` Glenn Morris
  0 siblings, 1 reply; 5+ messages in thread
From: Noah Lavine @ 2010-10-28  2:17 UTC (permalink / raw)
  To: Glenn Morris; +Cc: 7293

That fixes things. I'm sorry - I had assumed make distclean would
remove all of the .elc files, but clearly it didn't.

Thank you!
Noah Lavine

On Wed, Oct 27, 2010 at 9:17 PM, Glenn Morris <rgm@gnu.org> wrote:
> Noah Lavine wrote:
>
>> make distclean
>> ./configure --with-ns       (on Mac OS X),
>> make
>
> Please try again with `make bootstrap'.
> (Also you did not say what you version you are trying to build.)
>
>> Source file `/Users/noah/Desktop/emacs-repo/trunk/lisp/net/ange-ftp.el'
>> newer than byte-compiled file
>
> Lots of stale .elc files.
>
>> eshell/esh-util.el:642:13:Error: Cannot open load file: tramp-fish
>
> Removed from trunk 2010-09-13. Presumably you have stale .elc file
> still referring to it.
>





^ permalink raw reply	[flat|nested] 5+ messages in thread

* bug#7293: Compilation Error
  2010-10-28  2:17   ` Noah Lavine
@ 2010-10-28  2:59     ` Glenn Morris
  0 siblings, 0 replies; 5+ messages in thread
From: Glenn Morris @ 2010-10-28  2:59 UTC (permalink / raw)
  To: 7293-done

Noah Lavine wrote:

> That fixes things. I'm sorry - I had assumed make distclean would
> remove all of the .elc files, but clearly it didn't.

.elc files are supplied precompiled in the distribution tarfiles, and
so are not removed by distclean.





^ permalink raw reply	[flat|nested] 5+ messages in thread

* bug#7293: Compilation Error
  2010-10-28  0:03 bug#7293: Compilation Error Noah Lavine
  2010-10-28  1:17 ` Glenn Morris
@ 2010-10-28 14:11 ` Stefan Monnier
  1 sibling, 0 replies; 5+ messages in thread
From: Stefan Monnier @ 2010-10-28 14:11 UTC (permalink / raw)
  To: Noah Lavine; +Cc: 7293

> After running
> make distclean
> ./configure --with-ns       (on Mac OS X),
> make
[...]
> In toplevel form:
> eshell/esh-util.el:642:13:Error: Cannot open load file: tramp-fish
> make[2]: *** [eshell/esh-util.elc] Error 1
> make[1]: *** [compile-main] Error 2
> make: *** [lisp] Error 2

BTW, if you want to avoid bootstrapping, errors like the above can
often/sometimes be solved by "trying harder".  I.e.

   make -k
   make
   
where the "-k" forces "make" to keep compiling subsequent files,
which will often result in eliminating the source of the problem, so the
subsequent "make" then can finish successfully.


        Stefan





^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2010-10-28 14:11 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-10-28  0:03 bug#7293: Compilation Error Noah Lavine
2010-10-28  1:17 ` Glenn Morris
2010-10-28  2:17   ` Noah Lavine
2010-10-28  2:59     ` Glenn Morris
2010-10-28 14:11 ` Stefan Monnier

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).