all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* net/tramp build error
@ 2007-09-04  1:57 d.henman
  2007-09-04 20:43 ` Michael Albinus
  0 siblings, 1 reply; 3+ messages in thread
From: d.henman @ 2007-09-04  1:57 UTC (permalink / raw)
  To: emacs-devel


I still encounter a bootstrap build error generated when compiling the 
emacs/lisp/net/tramp-fish.el  file.

----  in brief:
Compiling /usr/cvs/emacs/lisp/./net/tramp-cache.el
Wrote /usr/cvs/emacs/lisp/net/tramp-cache.elc
Compiling /usr/cvs/emacs/lisp/./net/tramp-fish.el
Loading subst-ksc...
Loading subst-gb2312...
Loading subst-big5...
Loading subst-jis...

In toplevel form:
net/tramp-fish.el:156:1:Error: Searching for program: no such file or directory, reg
make[2]: *** [compile] Error 1
make[2]: Leaving directory `/usr/cvs/emacs/lisp'
make[1]: *** [bootstrap-build] Error 2
make[1]: Leaving directory `/usr/cvs/emacs'
make: *** [bootstrap] Error 2
----

line 156 of tramp-fish.el where the build croaks is:

-->    (require 'tramp)

---- but the file tramp.el is in the directory ../emacs/lisp/net   (listing )
---- here is a directory snapshot of net after the build breakdown
$ ls  /usr/cvs/emacs/lisp/net/tramp*
 /usr/cvs/emacs/lisp/net/tramp-cache.el
 /usr/cvs/emacs/lisp/net/tramp-cache.elc
 /usr/cvs/emacs/lisp/net/tramp-fish.el
 /usr/cvs/emacs/lisp/net/tramp-ftp.el
 /usr/cvs/emacs/lisp/net/tramp-gw.el
 /usr/cvs/emacs/lisp/net/tramp-smb.el
 /usr/cvs/emacs/lisp/net/tramp-uu.el
 /usr/cvs/emacs/lisp/net/tramp.el
 /usr/cvs/emacs/lisp/net/trampver.el


----


Question:  Would putting the 'require call inside an 'eval-when-compile solve my
           problem.


Question:  Why is compile not finding "tramp.el"  (tramp.el isn't compiled till later
           the way the build process works, but it should append .el to the "tramp"
           and find it in the current working directory.


Any help is greatly appreciated,
   Darel Henman

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

* Re: net/tramp build error
  2007-09-04  1:57 net/tramp build error d.henman
@ 2007-09-04 20:43 ` Michael Albinus
  2007-09-06 23:37   ` d.henman
  0 siblings, 1 reply; 3+ messages in thread
From: Michael Albinus @ 2007-09-04 20:43 UTC (permalink / raw)
  To: d.henman; +Cc: emacs-devel

"d.henman" <dhenman@gmail.com> writes:

> I still encounter a bootstrap build error generated when compiling the 
> emacs/lisp/net/tramp-fish.el  file.

It's a pity, that nobody else using cygwin did report whether she had
the same problem, or not.

> ----  in brief:
> Compiling /usr/cvs/emacs/lisp/./net/tramp-cache.el
> Wrote /usr/cvs/emacs/lisp/net/tramp-cache.elc
> Compiling /usr/cvs/emacs/lisp/./net/tramp-fish.el
> Loading subst-ksc...
> Loading subst-gb2312...
> Loading subst-big5...
> Loading subst-jis...
>
> In toplevel form:
> net/tramp-fish.el:156:1:Error: Searching for program: no such file or directory, reg
> make[2]: *** [compile] Error 1
> make[2]: Leaving directory `/usr/cvs/emacs/lisp'
> make[1]: *** [bootstrap-build] Error 2
> make[1]: Leaving directory `/usr/cvs/emacs'
> make: *** [bootstrap] Error 2
> ----
>
> line 156 of tramp-fish.el where the build croaks is:
>
> -->    (require 'tramp)
>
> ---- but the file tramp.el is in the directory ../emacs/lisp/net   (listing )

I believe tramp.el was found. The lines "Loading subst-*..." are an
indication for this, because they are related to tramp.el's "coding:
utf-8;" cookie. tramp-fish.el hasn't such a cookie.

Could you, please, remove the first line of tramp.el, and rerun your build?

> Any help is greatly appreciated,
>    Darel Henman

Best regards, Michael.

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

* Re: net/tramp build error
  2007-09-04 20:43 ` Michael Albinus
@ 2007-09-06 23:37   ` d.henman
  0 siblings, 0 replies; 3+ messages in thread
From: d.henman @ 2007-09-06 23:37 UTC (permalink / raw)
  To: Michael Albinus; +Cc: d. henman, emacs-devel


Thanks Michael for the hint.  Deleteing the one line didn't work, since it requires files that requires files that also set utf.  Even with those deleted it didn't work, but I do believe that it has something to do with the coding system as you suggested
 and maybe its because I'm in a Japanese language environment, that my build problem arises with regard to "tramp".

Regards,
  Darel Henman

------

Michael Albinus <michael.albinus@gmx.de> wrote:

> "d.henman" <dhenman@gmail.com> writes:
> 
> > I still encounter a bootstrap build error generated when compiling the 
> > emacs/lisp/net/tramp-fish.el  file.
> 
> It's a pity, that nobody else using cygwin did report whether she had
> the same problem, or not.
> 
> > ----  in brief:
> > Compiling /usr/cvs/emacs/lisp/./net/tramp-cache.el
> > Wrote /usr/cvs/emacs/lisp/net/tramp-cache.elc
> > Compiling /usr/cvs/emacs/lisp/./net/tramp-fish.el
> > Loading subst-ksc...
> > Loading subst-gb2312...
> > Loading subst-big5...
> > Loading subst-jis...
> >
> > In toplevel form:
> > net/tramp-fish.el:156:1:Error: Searching for program: no such file or directory, reg
> > make[2]: *** [compile] Error 1
> > make[2]: Leaving directory `/usr/cvs/emacs/lisp'
> > make[1]: *** [bootstrap-build] Error 2
> > make[1]: Leaving directory `/usr/cvs/emacs'
> > make: *** [bootstrap] Error 2
> > ----
> >
> > line 156 of tramp-fish.el where the build croaks is:
> >
> > -->    (require 'tramp)
> >
> > ---- but the file tramp.el is in the directory ../emacs/lisp/net   (listing )
> 
> I believe tramp.el was found. The lines "Loading subst-*..." are an
> indication for this, because they are related to tramp.el's "coding:
> utf-8;" cookie. tramp-fish.el hasn't such a cookie.
> 
> Could you, please, remove the first line of tramp.el, and rerun your build?
> 
> > Any help is greatly appreciated,
> >    Darel Henman
> 
> Best regards, Michael.

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

end of thread, other threads:[~2007-09-06 23:37 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-09-04  1:57 net/tramp build error d.henman
2007-09-04 20:43 ` Michael Albinus
2007-09-06 23:37   ` d.henman

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.