* tramp 2.1.3 compile funkiness
@ 2005-08-18 21:38 zl
2005-08-19 9:08 ` Peter Dyballa
2005-08-22 9:13 ` Michael Albinus
0 siblings, 2 replies; 19+ messages in thread
From: zl @ 2005-08-18 21:38 UTC (permalink / raw)
Hey, group,
Just yesterday compiled tramp. Got a bunch of errors during the
compile-- see session copy below. And I've tried all kinds of syntax
and can't get a tramp connection (though I can ssh just fine).
TIA for making my life worth living again... or just getting this
working for me.
# uname -a
Linux dellap 2.6.11.4-21.8-default #1 Tue Jul 19 12:42:37 UTC 2005 i686
i686 i386 GNU/Linux
Here's the files after unpacking (tar xvzf ....):
# ll
tramp-2.1.3:
total 280
drwxr-x--- 8 zl zl 4096 Aug 17 22:21 .
drwxr-x--- 6 zl zl 4096 Aug 17 22:57 ..
-rw-r----- 1 zl zl 99 Jun 1 2004 .cvsignore
-rw-r----- 1 zl zl 814 Mar 3 2002 CONTRIBUTORS
-rw-r----- 1 zl zl 19996 Jan 16 2005 ChangeLog
-rw-r----- 1 zl zl 4591 Sep 19 2004 INSTALL
-rw-r----- 1 zl zl 1119 Jan 16 2005 MANIFEST
-rw-r----- 1 root root 7339 Aug 17 22:21 Makefile
-rw-r----- 1 zl zl 1708 Oct 17 2004 Makefile.XEmacs
-rw-r----- 1 zl zl 7252 Oct 10 2004 Makefile.in
-rw-r----- 1 zl zl 1934 Mar 22 2003 README
-rw-r----- 1 zl zl 1339 Jun 6 2004 README-CVS
-rw-r----- 1 zl zl 9025 Dec 30 2004 aclocal.m4
-rw-r----- 1 root root 8295 Aug 17 22:21 config.log
-rwxr-x--- 1 zl zl 21790 Aug 17 22:21 config.status
-rwxr-x--- 1 zl zl 110994 Jan 16 2005 configure
-rw-r----- 1 zl zl 5647 Jan 16 2005 configure.ac
drwxr-x--- 2 zl zl 4096 Aug 17 22:21 contrib
drwxr-x--- 2 root root 4096 Aug 17 22:22 info
drwxr-x--- 2 zl zl 4096 Aug 17 22:22 lisp
-rw-r----- 1 zl zl 465 Oct 17 2004 package-info.in
drwxr-x--- 2 zl zl 4096 Jan 16 2005 test
-rw-r----- 1 zl zl 35 Jul 14 2003 test.makefile
drwxr-x--- 2 zl zl 4096 Aug 17 22:23 texi
drwxr-x--- 2 zl zl 4096 Jan 16 2005 tramp2
dellap:/home/zl/linux/tarballs # cd tramp
dellap:/home/zl/linux/tarballs/tramp # pwd
/home/zl/linux/tarballs/tramp
dellap:/home/zl/linux/tarballs/tramp # ./configure --with-config
--prefix=/usr/share
configure: Tramp 2.1.3
checking for gmake... gmake
checking for reasonable gmake version... ok
checking whether gmake sets $(MAKE)... yes
checking for emacs... yes
checking for emacs flavor... emacs
checking for emacs version... ok
checking for base64.el... ok
checking for format-spec.el... not found
configure: error: Use --with-contrib for implementation supplied with Tramp
dellap:/home/zl/linux/tarballs/tramp # ./configure --with-contrib
--prefix=/usr/share
configure: Tramp 2.1.3
checking for gmake... gmake
checking for reasonable gmake version... ok
checking whether gmake sets $(MAKE)... yes
checking for emacs... yes
checking for emacs flavor... emacs
checking for emacs version... ok
checking for base64.el... ok
checking for format-spec.el... linked to contrib directory
checking for md5.el... ok
checking for password.el... linked to contrib directory
checking for uudecode.el... ok
checking for run-at-time.el... ok
checking for makeinfo... makeinfo
checking for reasonable makeinfo version... ok
checking for texi2dvi... texi2dvi
checking for reasonable texi2dvi version... ok
checking for install-info... install-info
checking for installation chapter... yes
checking for japanese manual... no
checking prefix... /usr/share
checking datadir... ${prefix}/share
checking lispdir... $(datadir)/emacs/site-lisp
checking infodir... $(prefix)/info
checking for ftp-upload... no
configure: creating ./config.status
config.status: creating Makefile
config.status: creating contrib/Makefile
config.status: creating lisp/Makefile
config.status: creating lisp/trampver.el
config.status: creating texi/Makefile
config.status: creating texi/trampver.texi
dellap:/home/zl/linux/tarballs/tramp # make
make[1]: Entering directory `/home/zl/linux/tarballs/tramp-2.1.3/lisp'
emacs --no-site-file -batch --eval "(add-to-list 'load-path \".\")" -f
batch-byte-compile trampver.el
Wrote /home/zl/linux/tarballs/tramp-2.1.3/lisp/trampver.elc
Done
emacs --no-site-file -batch --eval "(add-to-list 'load-path \".\")" -f
batch-byte-compile tramp.el
While compiling tramp-handle-insert-directory in file
/home/zl/linux/tarballs/tramp-2.1.3/lisp/tramp.el:
** reference to free variable ls-lisp-use-insert-directory-program
While compiling the end of the data in file
/home/zl/linux/tarballs/tramp-2.1.3/lisp/tramp.el:
** The following functions are not known to be defined:
byte-compiler-options, set-file-times
Wrote /home/zl/linux/tarballs/tramp-2.1.3/lisp/tramp.elc
Done
emacs --no-site-file -batch --eval "(add-to-list 'load-path \".\")" -f
batch-byte-compile tramp-smb.el
Loading /usr/lib/emacs/21.3/i586-suse-linux/fns-21.3.1.el (source)...
While compiling the end of the data in file
/home/zl/linux/tarballs/tramp-2.1.3/lisp/tramp-smb.el:
** The function `byte-compiler-options' is not known to be defined.
Wrote /home/zl/linux/tarballs/tramp-2.1.3/lisp/tramp-smb.elc
Done
emacs --no-site-file -batch --eval "(add-to-list 'load-path \".\")" -f
batch-byte-compile tramp-util.el
Loading /usr/lib/emacs/21.3/i586-suse-linux/fns-21.3.1.el (source)...
While compiling the end of the data in file
/home/zl/linux/tarballs/tramp-2.1.3/lisp/tramp-util.el:
** The function `add-menu-button' is not known to be defined.
Wrote /home/zl/linux/tarballs/tramp-2.1.3/lisp/tramp-util.elc
Done
emacs --no-site-file -batch --eval "(add-to-list 'load-path \".\")" -f
batch-byte-compile tramp-uu.el
Wrote /home/zl/linux/tarballs/tramp-2.1.3/lisp/tramp-uu.elc
Done
emacs --no-site-file -batch --eval "(add-to-list 'load-path \".\")" -f
batch-byte-compile tramp-vc.el
Loading /usr/lib/emacs/21.3/i586-suse-linux/fns-21.3.1.el (source)...
While compiling tramp-handle-vc-user-login-name in file
/home/zl/linux/tarballs/tramp-2.1.3/lisp/tramp-vc.el:
** file-attributes called with 2 arguments, but accepts only 1
While compiling the end of the data in file
/home/zl/linux/tarballs/tramp-2.1.3/lisp/tramp-vc.el:
** The function `byte-compiler-options' is not known to be defined.
Wrote /home/zl/linux/tarballs/tramp-2.1.3/lisp/tramp-vc.elc
Done
emacs --no-site-file -batch --eval "(add-to-list 'load-path \".\")" -f
batch-byte-compile trampcache.el
While compiling tramp-cache-set in file
/home/zl/linux/tarballs/tramp-2.1.3/lisp/trampcache.el:
** reference to free variable tramp-cache-data
** assignment to free variable tramp-cache-data
While compiling tramp-cache-get in file
/home/zl/linux/tarballs/tramp-2.1.3/lisp/trampcache.el:
** reference to free variable tramp-cache-data
While compiling the end of the data in file
/home/zl/linux/tarballs/tramp-2.1.3/lisp/trampcache.el:
** The function `tramp-get-buffer' is not known to be defined.
Wrote /home/zl/linux/tarballs/tramp-2.1.3/lisp/trampcache.elc
Done
emacs --no-site-file -batch --eval "(add-to-list 'load-path \".\")" -f
batch-byte-compile tramp-ftp.el
Loading /usr/lib/emacs/21.3/i586-suse-linux/fns-21.3.1.el (source)...
Wrote /home/zl/linux/tarballs/tramp-2.1.3/lisp/tramp-ftp.elc
Done
emacs --no-site-file -batch --eval "(add-to-list 'load-path \".\")" -f
batch-byte-compile password.el
Wrote /home/zl/linux/tarballs/tramp-2.1.3/lisp/password.elc
Done
emacs --no-site-file -batch --eval "(add-to-list 'load-path \".\")" -f
batch-byte-compile format-spec.el
Wrote /home/zl/linux/tarballs/tramp-2.1.3/lisp/format-spec.elc
Done
make[1]: Leaving directory `/home/zl/linux/tarballs/tramp-2.1.3/lisp'
make[1]: Entering directory `/home/zl/linux/tarballs/tramp-2.1.3/texi'
makeinfo --no-split --footnote-style=end -D emacs -D nojamanual \
-D installchapter -o ../info/tramp tramp.texi
texi2dvi -b -c -t "@set emacs" -t "@set nojamanual" -t "@set
installchapter" tramp.texi
This is pdfeTeXk, Version 3.141592-1.21a-2.2 (Web2C 7.5.4)
file:line:error style messages enabled.
entering extended mode
(/tmp/t2d12013/xtr/tramp.texi (/usr/share/texmf/tex/texinfo/texinfo.tex
Loading texinfo [version 2005-01-30.17]: Basics, pdf, fonts, page headings,
tables, conditionals, indexing, sectioning, toc, environments, defuns,
macros,
cross references, insertions, (/usr/share/texmf/tex/plain/dvips/epsf.tex)
localization, and turning on texinfo input format.)
(/home/zl/linux/tarballs/tramp-2.1.3/texi/trampver.texi) [1] [2] Chapter 1
Cross reference values unknown; you must run TeX again. [1]
Underfull \hbox (badness 10000) in paragraph at lines 353--357
[]@textrm For in-line trans-fers, @textsc tramp @textrm is-sues a
com-mand lik
e `@texttt mimencode -b
Underfull \hbox (badness 10000) in paragraph at lines 353--357
@texttt /path/to/remote/file[]@textrm '[], waits un-til the out-put has
ac-cu-
mu-lated in the
Chapter 2 [2] [3] [4] Chapter 3 [5] [6]
(/home/zl/linux/tarballs/tramp-2.1.3/texi/trampinst.texi
(/home/zl/linux/tarballs/tramp-2.1.3/texi/trampver.texi) Chapter 4 [7] [8]
Overfull \hbox (22.90572pt too wide) in paragraph at lines 85--91
[]@textrm By de-fault, @texttt make install[] @textrm will in-stall
@textsc tra
mp@textrm 's files in `@texttt /usr/local/share/emacs/site-lisp[]@textrm
'[]|
[9]) Chapter 5 [10] [11] [12] [13] [14] [15]
Underfull \hbox (badness 7116) in paragraph at lines 967--972
@textrm isn't avail-able. In-stead of, you can use UNC file names like
Underfull \hbox (badness 6859) in paragraph at lines 967--972
@textrm `@texttt //melancholia/daniel$$/.emacs[]@textrm '[]. The only
dis-ad-v
an-tage is that
[16] [17] [18] [19]
Underfull \hbox (badness 10000) in paragraph at lines 1277--1280
[]@textrm This func-tion parses files which are syn-tac-ti-cal
equiv-a-lent to
Underfull \hbox (badness 3240) in paragraph at lines 1277--1280
@textrm `@texttt ~/.ssh/known_hosts[]@textrm '[]. Since there are no
user name
s spec-i-fied in
Underfull \hbox (badness 2134) in paragraph at lines 1284--1286
[]@textrm This func-tion re-turns the host nick-names de-fined by
@texttt Host
[] @textrm en-tries in
Overfull \hbox (3.18579pt too wide) in paragraph at lines 1290--1293
[]@textrm SSH2 pars-ing of di-rec-to-ries `@texttt
/etc/ssh2/hostkeys/*[]@text
rm '[] and `@texttt ~/ssh2/hostkeys/*[]@textrm '[].|
[20] [21] [22] [23]
Underfull \hbox (badness 10000) in paragraph at lines 1666--1676
@textrm The backup file name of `@texttt
/su:root@localhost:/etc/secretfile[]@t
extrm '[] would be
[24] Chapter 6 [25] [26]
Underfull \hbox (badness 3323) in paragraph at lines 1820--1825
[]@textrm To log in to the re-mote ma-chine as a spe-cific user, you use
the sy
n-tax
Underfull \hbox (badness 2846) in paragraph at lines 1820--1825
@textrm `@texttt /@textttsl user@texttt @@textttsl machine@texttt
:/@textttsl p
ath/to.file[]@textrm '[]. That means that con-nect-ing to @texttt
melancholia[]
Underfull \hbox (badness 6608) in paragraph at lines 1820--1825
@textrm as @texttt daniel[] @textrm and edit-ing `@texttt
.emacs[]@textrm '[] i
n your home di-rec-tory you would spec-ify
[27]
Overfull \hbox (40.9228pt too wide) in paragraph at lines 1865--1869
[]@textrm Then, a @textsc tramp @textrm file-name would look like this:
`@textt
t /@textttsl method@texttt ://@textttsl user@texttt @@textttsl
machine@texttt :
@textttsl port@texttt /@textttsl path/to.file[]@textrm '[].|
Overfull \hbox (74.0676pt too wide) in paragraph at lines 1870--1872
[]@textrm The last ex-am-ple from the pre-vi-ous sec-tion would look
like this:
`@texttt /ssh://daniel@melancholia/.emacs[]@textrm '[]. |
[28] Chapter 7 [29] [30] Chapter 8 [31] [32] [33] [34] [35]
Overfull \hbox (4.30467pt too wide) in paragraph at lines 2311--2313
[]@textrm See also the Emacs Wiki (@texttt
http://www.emacswiki.org/cgi-bin/wi
ki/TrampMode[]@textrm )|
[36] Chapter 9 [37] [38] [39] Chapter 10 [40] Chapter 11 [41] [42]
(Concept Index) [43] [44] [45] [46] (./tramp.toc [-1]) [-2] )
(see the transcript file for additional information)
Output written on tramp.dvi (50 pages, 120204 bytes).
Transcript written on tramp.log.
This is pdfeTeXk, Version 3.141592-1.21a-2.2 (Web2C 7.5.4)
file:line:error style messages enabled.
entering extended mode
(/tmp/t2d12013/xtr/tramp.texi (/usr/share/texmf/tex/texinfo/texinfo.tex
Loading texinfo [version 2005-01-30.17]: Basics, pdf, fonts, page headings,
tables, conditionals, indexing, sectioning, toc, environments, defuns,
macros,
cross references, insertions, (/usr/share/texmf/tex/plain/dvips/epsf.tex)
localization, and turning on texinfo input format.) (./tramp.aux)
(/home/zl/linux/tarballs/tramp-2.1.3/texi/trampver.texi) [1] [2] Chapter 1
[1]
Underfull \hbox (badness 10000) in paragraph at lines 353--357
[]@textrm For in-line trans-fers, @textsc tramp @textrm is-sues a
com-mand lik
e `@texttt mimencode -b
Underfull \hbox (badness 10000) in paragraph at lines 353--357
@texttt /path/to/remote/file[]@textrm '[], waits un-til the out-put has
ac-cu-
mu-lated in the
Chapter 2 [2] [3] [4] Chapter 3 [5] [6]
(/home/zl/linux/tarballs/tramp-2.1.3/texi/trampinst.texi
(/home/zl/linux/tarballs/tramp-2.1.3/texi/trampver.texi) Chapter 4 [7] [8]
Overfull \hbox (22.90572pt too wide) in paragraph at lines 85--91
[]@textrm By de-fault, @texttt make install[] @textrm will in-stall
@textsc tra
mp@textrm 's files in `@texttt /usr/local/share/emacs/site-lisp[]@textrm
'[]|
[9]) Chapter 5 [10] [11] [12] [13] [14] [15]
Underfull \hbox (badness 7116) in paragraph at lines 967--972
@textrm isn't avail-able. In-stead of, you can use UNC file names like
Underfull \hbox (badness 6859) in paragraph at lines 967--972
@textrm `@texttt //melancholia/daniel$$/.emacs[]@textrm '[]. The only
dis-ad-v
an-tage is that
[16] [17] [18] [19]
Underfull \hbox (badness 10000) in paragraph at lines 1277--1280
[]@textrm This func-tion parses files which are syn-tac-ti-cal
equiv-a-lent to
Underfull \hbox (badness 3240) in paragraph at lines 1277--1280
@textrm `@texttt ~/.ssh/known_hosts[]@textrm '[]. Since there are no
user name
s spec-i-fied in
Underfull \hbox (badness 2134) in paragraph at lines 1284--1286
[]@textrm This func-tion re-turns the host nick-names de-fined by
@texttt Host
[] @textrm en-tries in
Overfull \hbox (3.18579pt too wide) in paragraph at lines 1290--1293
[]@textrm SSH2 pars-ing of di-rec-to-ries `@texttt
/etc/ssh2/hostkeys/*[]@text
rm '[] and `@texttt ~/ssh2/hostkeys/*[]@textrm '[].|
[20] [21] [22] [23]
Underfull \hbox (badness 10000) in paragraph at lines 1666--1676
@textrm The backup file name of `@texttt
/su:root@localhost:/etc/secretfile[]@t
extrm '[] would be
[24] Chapter 6 [25] [26]
Underfull \hbox (badness 3323) in paragraph at lines 1820--1825
[]@textrm To log in to the re-mote ma-chine as a spe-cific user, you use
the sy
n-tax
Underfull \hbox (badness 2846) in paragraph at lines 1820--1825
@textrm `@texttt /@textttsl user@texttt @@textttsl machine@texttt
:/@textttsl p
ath/to.file[]@textrm '[]. That means that con-nect-ing to @texttt
melancholia[]
Underfull \hbox (badness 6608) in paragraph at lines 1820--1825
@textrm as @texttt daniel[] @textrm and edit-ing `@texttt
.emacs[]@textrm '[] i
n your home di-rec-tory you would spec-ify
[27]
Overfull \hbox (40.9228pt too wide) in paragraph at lines 1865--1869
[]@textrm Then, a @textsc tramp @textrm file-name would look like this:
`@textt
t /@textttsl method@texttt ://@textttsl user@texttt @@textttsl
machine@texttt :
@textttsl port@texttt /@textttsl path/to.file[]@textrm '[].|
Overfull \hbox (74.0676pt too wide) in paragraph at lines 1870--1872
[]@textrm The last ex-am-ple from the pre-vi-ous sec-tion would look
like this:
`@texttt /ssh://daniel@melancholia/.emacs[]@textrm '[]. |
[28] Chapter 7 [29] [30] Chapter 8 [31] [32] [33] [34] [35]
Overfull \hbox (4.30467pt too wide) in paragraph at lines 2311--2313
[]@textrm See also the Emacs Wiki (@texttt
http://www.emacswiki.org/cgi-bin/wi
ki/TrampMode[]@textrm )|
[36] Chapter 9 [37] [38] [39] Chapter 10 [40] Chapter 11 [41] [42]
(Concept Index) [43] [44] (./tramp.cps [45]) [46] (./tramp.toc [-1]) [-2] )
(see the transcript file for additional information)
Output written on tramp.dvi (50 pages, 152704 bytes).
Transcript written on tramp.log.
makeinfo --no-split --html -D emacs -D nojamanual -D installchapter -o
tramp-emacs.html tramp.texi
makeinfo --no-split --html -D xemacs -D nojamanual -D installchapter
-o tramp-xemacs.html tramp.texi
rm -f tramp.html
ln -s tramp-emacs.html tramp.html
make[1]: Leaving directory `/home/zl/linux/tarballs/tramp-2.1.3/texi'
dellap:/home/zl/linux/tarballs/tramp # make install
make[1]: Entering directory `/home/zl/linux/tarballs/tramp-2.1.3/lisp'
mkdir -p /usr/share/share/emacs/site-lisp
install -m644 trampver.el tramp.el tramp-smb.el tramp-util.el
tramp-uu.el tramp-vc.el trampcache.el tramp-ftp.el password.el
format-spec.el trampver.elc tramp.elc tramp-smb.elc tramp-util.elc
tramp-uu.elc tramp-vc.elc trampcache.elc tramp-ftp.elc password.elc
format-spec.elc /usr/share/share/emacs/site-lisp
make[1]: Leaving directory `/home/zl/linux/tarballs/tramp-2.1.3/lisp'
make[1]: Entering directory `/home/zl/linux/tarballs/tramp-2.1.3/texi'
install -m644 ../info/tramp /usr/share/info
make[1]: Leaving directory `/home/zl/linux/tarballs/tramp-2.1.3/texi'
dellap:/home/zl/linux/tarballs/tramp #
--
A lot of us are working harder than we want, at things we don't like to
do. Why? ...In order to afford the sort of existence we don't care to live.
-- Bradford Angier
^ permalink raw reply [flat|nested] 19+ messages in thread
* Re: tramp 2.1.3 compile funkiness
2005-08-18 21:38 tramp 2.1.3 compile funkiness zl
@ 2005-08-19 9:08 ` Peter Dyballa
2005-08-22 9:13 ` Michael Albinus
1 sibling, 0 replies; 19+ messages in thread
From: Peter Dyballa @ 2005-08-19 9:08 UTC (permalink / raw)
Cc: GNU Emacs List
Am 18.08.2005 um 23:38 schrieb zl:
> Got a bunch of errors during the compile-- see session copy below.
There are no errors -- just usual messages that come from the fact that
Lisp is late-binding? (I just don't remember the exact term -- did you
never compile an Emacs or one of its packages yourself?). TeX ran in
perfection ...
--
Mit friedvollen Grüßen
Pete
Never be led astray onto the path of virtue.
^ permalink raw reply [flat|nested] 19+ messages in thread
* Re: tramp 2.1.3 compile funkiness
2005-08-18 21:38 tramp 2.1.3 compile funkiness zl
2005-08-19 9:08 ` Peter Dyballa
@ 2005-08-22 9:13 ` Michael Albinus
2005-08-26 17:17 ` ken
[not found] ` <mailman.5157.1125078882.20277.help-gnu-emacs@gnu.org>
1 sibling, 2 replies; 19+ messages in thread
From: Michael Albinus @ 2005-08-22 9:13 UTC (permalink / raw)
Cc: GNU Emacs List
zl <gebser@speakeasy.net> writes:
> Hey, group,
Hi,
> Just yesterday compiled tramp. Got a bunch of errors during the
> compile-- see session copy below. And I've tried all kinds of syntax
As Peter already wrote, this are warnings only. Nasty (we should
decrease the noise in make), but nothing serious AFAICS.
> and can't get a tramp connection (though I can ssh just fine).
Here we would need more details. Which filename syntax did you apply
(example)? Are there error messages, or just a hanging Emacs?
If you believe you did everything right, you could submit a bug report
with "M-x tramp-submit-bug". It will contain more information for
analysis.
> TIA for making my life worth living again... or just getting this
> working for me.
Best regards, Michael.
^ permalink raw reply [flat|nested] 19+ messages in thread
* Re: tramp 2.1.3 compile funkiness
2005-08-22 9:13 ` Michael Albinus
@ 2005-08-26 17:17 ` ken
2005-08-27 20:14 ` Michael Albinus
[not found] ` <mailman.5157.1125078882.20277.help-gnu-emacs@gnu.org>
1 sibling, 1 reply; 19+ messages in thread
From: ken @ 2005-08-26 17:17 UTC (permalink / raw)
Cc: GNU Emacs List
Michael Albinus wrote:
> zl <gebser@speakeasy.net> writes:
>
>
>>Just yesterday compiled tramp. Got a bunch of errors during the
>>compile-- see session copy below. And I've tried all kinds of syntax
>
> As Peter already wrote, this are warnings only. Nasty (we should
> decrease the noise in make), but nothing serious AFAICS.
>
>>and can't get a tramp connection (though I can ssh just fine).
>
> Here we would need more details. Which filename syntax did you apply
> (example)? Are there error messages, or just a hanging Emacs?
[user@host]/filename [=> create (local) subdirectory]
[user@host]:/filename [=> create (local) subdirectory]
[user@host.domain.tld]:/filename [=> create (local) subdirectory]
[user@host.domain.tld]:filename [=> create (local) subdirectory]
/user@host.domain.tld:/path/filename [=> ftp failure]
/[user@host.domain.tld]:~/filename [=> ftp failure]
/[user@host.domain.tld]/path/file [=> create (local) subdirectory]
In the case of the ftp failure message, I'm promted for a password
first, then the ftp failure message comes up. I believe that emacs is
trying to do ange-ftp.
In the case of the "create directory" errors, emacs (I'm guessing) is
trying to create a file on the local machine.
So does anyone know the correct syntax for tramp these days?
tnx,
ken
>
> If you believe you did everything right, you could submit a bug report
> with "M-x tramp-submit-bug". It will contain more information for
> analysis.
>
>>TIA for making my life worth living again... or just getting this
>>working for me.
>
> Best regards, Michael.
>
--
A lot of us are working harder than we want, at things we don't like to
do. Why? ...In order to afford the sort of existence we don't care to live.
-- Bradford Angier
^ permalink raw reply [flat|nested] 19+ messages in thread
* Re: tramp 2.1.3 compile funkiness
[not found] ` <mailman.5157.1125078882.20277.help-gnu-emacs@gnu.org>
@ 2005-08-26 19:54 ` rgb
2005-09-15 22:41 ` rgb
0 siblings, 1 reply; 19+ messages in thread
From: rgb @ 2005-08-26 19:54 UTC (permalink / raw)
FWIW, I use ange-ftp all day every day.
Starting about 2 weeks ago I'm unable to connect using the
CVS version. But since I've got my own mods for Guardian
host support plugged in I can't say if some change requires
me to update my mods or if it's just broke. The CVS version
as of 7 Aug works fine so I'm using that until I have time
to figure out whats wrong. I don't have access to a host
that talks to vanilla ange-ftp.
Try the older version of ange-ftp and if it starts working
for you it will save me a whole lot of trouble ;-)
^ permalink raw reply [flat|nested] 19+ messages in thread
* Re: tramp 2.1.3 compile funkiness
2005-08-26 17:17 ` ken
@ 2005-08-27 20:14 ` Michael Albinus
2005-09-01 19:04 ` tramp2 not loading (?) (was: Re: tramp 2.1.3 compile funkiness) ken
0 siblings, 1 reply; 19+ messages in thread
From: Michael Albinus @ 2005-08-27 20:14 UTC (permalink / raw)
Cc: help-gnu-emacs
ken <gebser@speakeasy.net> writes:
> [user@host]/filename [=> create (local) subdirectory]
>
> [user@host]:/filename [=> create (local) subdirectory]
>
> [user@host.domain.tld]:/filename [=> create (local) subdirectory]
>
> [user@host.domain.tld]:filename [=> create (local) subdirectory]
>
> /user@host.domain.tld:/path/filename [=> ftp failure]
>
> /[user@host.domain.tld]:~/filename [=> ftp failure]
>
> /[user@host.domain.tld]/path/file [=> create (local) subdirectory]
I assume you are using GNU Emacs. XEmacs has a different filename
syntax, and both could be configured to use the "other" syntax, but we
don't want to complicate it already at the beginning ... If you want
to prove it, you might check via "C-h v tramp-syntax". The result
should be "ftp".
This case, /user@host.domain.tld:/path/filename would be OK. Taking
ange-ftp instead of could mean that Tramp isn't loaded. You can check
it with "M-: (featurep 'tramp)", which should return "t". Anyway, it
might be a good idea to put "(require 'tramp)" in your .emacs, given
the load-path includes the Tramp lisp directory.
If that is fine, there might be a problem with the chosen method. Per
default, it should be "ssh". You can prove it with "C-h v
tramp-default-method". But there are some exceptions, you'll see them
with "C-h v tramp-default-method-alist". Read the explanation what
they are good for.
If all these settings are too nasty for you, you might give the method
explicitely. /ssh:user@host.domain.tld:/path/filename should guide you
to your target.
> tnx,
> ken
Best regards, Michael.
^ permalink raw reply [flat|nested] 19+ messages in thread
* tramp2 not loading (?) (was: Re: tramp 2.1.3 compile funkiness)
2005-08-27 20:14 ` Michael Albinus
@ 2005-09-01 19:04 ` ken
2005-09-02 7:48 ` tramp2 not loading (?) Michael Albinus
0 siblings, 1 reply; 19+ messages in thread
From: ken @ 2005-09-01 19:04 UTC (permalink / raw)
Cc: Michael Albinus
On Sat, 27 Aug 2005 22:14:31 +0200
Michael Albinus <michael.albinus@gmx.de> wrote:
> ken <gebser@speakeasy.net> writes:
>
> > ....
> >
> > /[user@host.domain.tld]:~/filename [=> ftp failure]
> >
> > /[user@host.domain.tld]/path/file [=> create (local) subdirectory]
>
> I assume you are using GNU Emacs.
Correct.
I should also amend: I'm actually using tramp2
(if that makes a difference).
# ll /usr/share/emacs/site-lisp/tramp2/
total 132
drwxr-x--- 2 zl zl 4096 Jan 16 2005 .
drwxr-xr-x 7 root root 4096 Sep 1 12:25 ..
-rw-r----- 1 zl zl 2063 Dec 6 2001 tramp2-cache.el
-rw-r----- 1 zl zl 3217 Dec 6 2001 tramp2-compat.el
-rw-r----- 1 zl zl 5845 Dec 6 2001 tramp2-enc.el
-rw-r----- 1 zl zl 2932 Dec 6 2001 tramp2-hack.el
-rw-r----- 1 zl zl 29105 Dec 6 2001 tramp2-ops.el
-rw-r----- 1 zl zl 5257 Dec 6 2001 tramp2-util.el
-rw-r----- 1 zl zl 61138 Dec 6 2001 tramp2.el
> .... If you want
> to prove it, you might check via "C-h v tramp-syntax". The result
> should be "ftp".
"C-h v tramp-syntax RETURN" says "[No match]".
"C-h v tramp2-syntax RETURN" also says "[No match]".
> This case, /user@host.domain.tld:/path/filename would be OK. Taking
> ange-ftp instead of could mean that Tramp isn't loaded. You can check
> it with "M-: (featurep 'tramp)", which should return "t".
It returns "nil", but "M-: (featurep 'tramp2)" returns 't'.
> Anyway, it
> might be a good idea to put "(require 'tramp)" in your .emacs, given
> the load-path includes the Tramp lisp directory.
This is in my ~/.emacs:
(add-to-list 'load-path "/usr/share/emacs/site-lisp/tramp2/")
(require 'tramp2)
In fact, I did "C-x C-e" with the point at the end of each line
immediately before trying to open a remote file. Still no go.
Does emacs have any other diagnostics I can run which would help
figure this out?
> ....
Michael, thanks very much for your help.
--
A lot of us are working harder than we want, at things we don't like to
do. Why? ...In order to afford the sort of existence we don't care to live.
-- Bradford Angier
^ permalink raw reply [flat|nested] 19+ messages in thread
* Re: tramp2 not loading (?)
2005-09-01 19:04 ` tramp2 not loading (?) (was: Re: tramp 2.1.3 compile funkiness) ken
@ 2005-09-02 7:48 ` Michael Albinus
2005-09-02 15:39 ` ken
0 siblings, 1 reply; 19+ messages in thread
From: Michael Albinus @ 2005-09-02 7:48 UTC (permalink / raw)
Cc: help-gnu-emacs
ken <gebser@speakeasy.net> writes:
> I should also amend: I'm actually using tramp2
> (if that makes a difference).
It does. tramp2 is a code basis which hasn't been completed (and
nobody is working on it actively). So please use the code under
<tramp path>/lisp.
> # ll /usr/share/emacs/site-lisp/tramp2/
That's surprising. I believe Tramp's Makefile doesn't install tramp2
anywhere. How did you get it at this location?
Best regards, Michael.
^ permalink raw reply [flat|nested] 19+ messages in thread
* Re: tramp2 not loading (?)
2005-09-02 7:48 ` tramp2 not loading (?) Michael Albinus
@ 2005-09-02 15:39 ` ken
2005-09-03 10:55 ` Michael Albinus
0 siblings, 1 reply; 19+ messages in thread
From: ken @ 2005-09-02 15:39 UTC (permalink / raw)
Cc: help-gnu-emacs
On Fri, 02 Sep 2005 09:48:54 +0200
Michael Albinus <michael.albinus@gmx.de> wrote:
> ken <gebser@speakeasy.net> writes:
>
> > I should also amend: I'm actually using tramp2
> > (if that makes a difference).
>
> It does. tramp2 is a code basis which hasn't been completed (and
> nobody is working on it actively). So please use the code under
> <tramp path>/lisp.
Okay. That seems to be the problem. Since deleting the tramp2
directory under site-lisp, I don't have any tramp files anymore. It
looks like I'm starting over with tramp.
What/which tramp version should I use? I don't remember where I got the
tramp2 tarball, just that I got it fairly recently... within the past
couple of months. I'm running Suse 9.3 Pro and would prefer an
appropriate RPM so that the install data is put into the RPM database.
Failing such a package, I wouldn't be averse to using the old-style
tarred-up package.
>
> > # ll /usr/share/emacs/site-lisp/tramp2/
>
> That's surprising. I believe Tramp's Makefile doesn't install tramp2
> anywhere. How did you get it at this location?
When I compiled the source, the resulting code appeared under the subdir
where the tarball was unpacked to (under a user home directory). Since
it wasn't going to run from there, I moved it manually to under
/usr/share/emacs/site-lisp/.
>
> Best regards, Michael.
Thanks again for the help.
ken
--
A lot of us are working harder than we want, at things we don't like to
do. Why? ...In order to afford the sort of existence we don't care to
live. -- Bradford Angier
^ permalink raw reply [flat|nested] 19+ messages in thread
* Re: tramp2 not loading (?)
2005-09-02 15:39 ` ken
@ 2005-09-03 10:55 ` Michael Albinus
2005-09-16 11:49 ` tramp " ken
0 siblings, 1 reply; 19+ messages in thread
From: Michael Albinus @ 2005-09-03 10:55 UTC (permalink / raw)
Cc: help-gnu-emacs
ken <gebser@speakeasy.net> writes:
> What/which tramp version should I use? I don't remember where I got the
> tramp2 tarball, just that I got it fairly recently... within the past
> couple of months. I'm running Suse 9.3 Pro and would prefer an
> appropriate RPM so that the install data is put into the RPM database.
> Failing such a package, I wouldn't be averse to using the old-style
> tarred-up package.
I don't know a Tramp RPM package (which doesn't mean anything, 'cause
I'm using Debian).
Tramp tarballs can be found at <http://ftp.gnu.org/gnu/tramp/>. The
stable release is 2.0 (2.0.50 the recent one). Tramp 2.1 is the
developer release. Don't mix this scheme with the subdirectory
"tramp2" in the tarball. Installation instructions are in file INSTALL.
> Thanks again for the help.
> ken
Best regards, Michael.
^ permalink raw reply [flat|nested] 19+ messages in thread
* Re: tramp 2.1.3 compile funkiness
2005-08-26 19:54 ` tramp 2.1.3 compile funkiness rgb
@ 2005-09-15 22:41 ` rgb
0 siblings, 0 replies; 19+ messages in thread
From: rgb @ 2005-09-15 22:41 UTC (permalink / raw)
> Starting about 2 weeks ago I'm unable to connect using the
> CVS version. But since I've got my own mods for Guardian
> host support plugged in I can't say if some change requires
> me to update my mods or if it's just broke. The CVS version
> as of 7 Aug works fine so I'm using that until I have time
> to figure out whats wrong. I don't have access to a host
> that talks to vanilla ange-ftp.
>
> Try the older version of ange-ftp and if it starts working
> for you it will save me a whole lot of trouble ;-)
I don't know about the OP's but the one I mention above
was a bug and it's been tracked down and fixed.
I've not checked if the fix has made it to CVS yet but if
not it should be there soon.
^ permalink raw reply [flat|nested] 19+ messages in thread
* Re: tramp not loading (?)
2005-09-03 10:55 ` Michael Albinus
@ 2005-09-16 11:49 ` ken
2005-09-16 14:39 ` Michael Albinus
` (2 more replies)
0 siblings, 3 replies; 19+ messages in thread
From: ken @ 2005-09-16 11:49 UTC (permalink / raw)
Starting over. I removed (by hand) the tramp2 installed earlier and
installed (from tramp.el):
;; Version: $Id: tramp.el,v 2.95 2002/04/10 17:16:25 kaig Exp $
Untarred under my home, then copied them to the traditional place for a
system-wide install:
/usr/share/emacs/site-lisp/tramp # ll
total 264
drwxr-x--- 2 root root 4096 Sep 10 22:43 .
drwxr-xr-x 7 root root 4096 Sep 10 22:42 ..
-rw-rw---- 1 6104 6100 1953 Mar 3 2002 tramp-util.el
-rw-r----- 1 6104 6100 19658 Dec 29 2001 tramp-vc.el
-rw-r----- 1 6104 6100 225748 Apr 10 2002 tramp.el
-rw-rw---- 1 6104 6100 3480 Feb 28 2001 trampcache.el
Put this into my ~/.emacs:
(add-to-list 'load-path "/usr/share/emacs/site-lisp/tramp/")
(require 'tramp) ;errors out
Put the point after the closing paren of each line and did "C-x C-e"
The first properly displayed the load-path in the echo area, but the
second yeilded this pile of confusion:
<snip>
Debugger entered--Lisp error: (file-error "Cannot open load file"
"tramp") require(tramp)
eval((require (quote tramp)))
eval-last-sexp-1(nil)
eval-last-sexp(nil)
call-interactively(eval-last-sexp)
recursive-edit()
byte-code("Æ\b!Ç È !\n?
Éed\"\vV4ebÊ\v¥y`\x1cdbÊ\v¥\vZy\f`|)ËcebÌÍ !Î @Ï=KÐÑÒ\"Ó ÌÔ
!ÒÕÒ\x1d\x1e\x17\x1e\x18ÌÔ!Ö ,Õ" [debugger-buffer debugger-args noninteractive
debugger-batch-max-lines middlestart buffer-read-only pop-to-buffer
debugger-mode debugger-setup-buffer count-lines 2 "...\n" message
buffer-string kill-emacs debug backtrace-debug 3 t debugger-reenable ""
nil recursive-edit standard-output inhibit-trace] 3) debug(error
(file-error "Cannot open load file" "tramp")) require(tramp)
eval((require (quote tramp)))
eval-last-sexp-1(nil)
eval-last-sexp(nil)
call-interactively(eval-last-sexp)
recursive-edit()
byte-code("Æ\b!Ç È !\n?
Éed\"\vV4ebÊ\v¥y`\x1cdbÊ\v¥\vZy\f`|)ËcebÌÍ !Î @Ï=KÐÑÒ\"Ó ÌÔ
!ÒÕÒ\x1d\x1e\x17\x1e\x18ÌÔ!Ö ,Õ" [debugger-buffer debugger-args noninteractive
debugger-batch-max-lines middlestart buffer-read-only pop-to-buffer
debugger-mode debugger-setup-buffer count-lines 2 "...\n" message
buffer-string kill-emacs debug backtrace-debug 3 t debugger-reenable ""
nil recursive-edit standard-output inhibit-trace] 3) debug(error
(file-error "Cannot open load file" "tramp")) require(tramp)
eval((require (quote tramp)))
eval-last-sexp-1(nil)
eval-last-sexp(nil)
call-interactively(eval-last-sexp)
recursive-edit()
byte-code("Æ\b!Ç È !\n?
Éed\"\vV4ebÊ\v¥y`\x1cdbÊ\v¥\vZy\f`|)ËcebÌÍ !Î @Ï=KÐÑÒ\"Ó ÌÔ
!ÒÕÒ\x1d\x1e\x17\x1e\x18ÌÔ!Ö ,Õ" [debugger-buffer debugger-args noninteractive
debugger-batch-max-lines middlestart buffer-read-only pop-to-buffer
debugger-mode debugger-setup-buffer count-lines 2 "...\n" message
buffer-string kill-emacs debug backtrace-debug 3 t debugger-reenable ""
nil recursive-edit standard-output inhibit-trace] 3) debug(error
(file-error "Cannot open load file" "tramp")) require(tramp)
eval((require (quote tramp)))
eval-last-sexp-1(nil)
eval-last-sexp(nil)
call-interactively(eval-last-sexp)
recursive-edit()
byte-code("Æ\b!Ç È !\n?-Éed\"\vV4ebÊ\v¥y`\x1cdbÊ\v¥\vZy\f`|)Ëceb
ÌÍ !Î @Ï=ÐÑÒ\"Ó ÌÔ!ÒÕÒ\x1d\x1e\x17\x1e\x18ÌÔ!Ö ,Õ" [debugger-buffer
debugger-args noninteractive debugger-batch-max-lines middlestart
buffer-read-only pop-to-buffer debugger-mode debugger-setup-buffer
count-lines 2 "...\n" message buffer-string kill-emacs debug
backtrace-debug 3 t debugger-reenable "" nil recursive-edit
standard-output inhibit-trace] 3) debug(error (file-error "Cannot open
load file" "tramp")) require(tramp)
eval((require (quote tramp)))
eval-last-sexp-1(nil)
eval-last-sexp(nil)
call-interactively(eval-last-sexp)
recursive-edit()
byte-code("Æ\b!Ç È !\n?K-Éed\"\vV4ebÊ\v¥y`\x1cdbÊ\v¥\vZy\f`|)Ëc
ebÌÍ !Î @Ï=ÐÑÒ\"Ó ÌÔ!ÒÕÒ\x1d\x1e\x17\x1e\x18ÌÔ!Ö ,Õ" [debugger-buffer
debugger-args noninteractive debugger-batch-max-lines middlestart
buffer-read-only pop-to-buffer debugger-mode debugger-setup-buffer
count-lines 2 "...\n" message buffer-string kill-emacs debug
backtrace-debug 3 t debugger-reenable "" nil recursive-edit
standard-output inhibit-trace] 3) debug(error (file-error "Cannot open
load file" "tramp")) require(tramp)
eval((require (quote tramp)))
eval-last-sexp-1(nil)
eval-last-sexp(nil)
call-interactively(eval-last-sexp)
</snip>
Just to make sure the above *Backtrace* wasn't lying to me, I tried "C-x
C-f" and used the format /user@host.domain.tld:.emacs and, as expected,
emacs tried to use ange-ftp.
The version of emacs I'm using, if it matters, is 21.3.1.
Anyone know what's going on here?
tia,
ken
^ permalink raw reply [flat|nested] 19+ messages in thread
* Re: tramp not loading (?)
2005-09-16 11:49 ` tramp " ken
@ 2005-09-16 14:39 ` Michael Albinus
2005-09-16 15:44 ` Kevin Rodgers
[not found] ` <mailman.7299.1126885772.20277.help-gnu-emacs@gnu.org>
2 siblings, 0 replies; 19+ messages in thread
From: Michael Albinus @ 2005-09-16 14:39 UTC (permalink / raw)
Cc: help-gnu-emacs
ken <gebser@speakeasy.net> writes:
> Starting over. I removed (by hand) the tramp2 installed earlier and
> installed (from tramp.el):
>
> ;; Version: $Id: tramp.el,v 2.95 2002/04/10 17:16:25 kaig Exp $
Oh my god, that's pretty old. Please take Tramp 2.0.50 from
<http://ftp.gnu.org/gnu/tramp/>.
> tia,
> ken
Best regards, Michael.
^ permalink raw reply [flat|nested] 19+ messages in thread
* Re: tramp not loading (?)
2005-09-16 11:49 ` tramp " ken
2005-09-16 14:39 ` Michael Albinus
@ 2005-09-16 15:44 ` Kevin Rodgers
2005-09-17 13:29 ` tramp not loading (?)... ftp session instead ken
[not found] ` <mailman.7299.1126885772.20277.help-gnu-emacs@gnu.org>
2 siblings, 1 reply; 19+ messages in thread
From: Kevin Rodgers @ 2005-09-16 15:44 UTC (permalink / raw)
ken wrote:
> Starting over. I removed (by hand) the tramp2 installed earlier and
> installed (from tramp.el):
>
> ;; Version: $Id: tramp.el,v 2.95 2002/04/10 17:16:25 kaig Exp $
>
> Untarred under my home, then copied them to the traditional place for a
> system-wide install:
>
> /usr/share/emacs/site-lisp/tramp # ll
> total 264
> drwxr-x--- 2 root root 4096 Sep 10 22:43 .
> drwxr-xr-x 7 root root 4096 Sep 10 22:42 ..
> -rw-rw---- 1 6104 6100 1953 Mar 3 2002 tramp-util.el
> -rw-r----- 1 6104 6100 19658 Dec 29 2001 tramp-vc.el
> -rw-r----- 1 6104 6100 225748 Apr 10 2002 tramp.el
> -rw-rw---- 1 6104 6100 3480 Feb 28 2001 trampcache.el
>
> Put this into my ~/.emacs:
>
> (add-to-list 'load-path "/usr/share/emacs/site-lisp/tramp/")
> (require 'tramp) ;errors out
>
> Put the point after the closing paren of each line and did "C-x C-e"
>
> The first properly displayed the load-path in the echo area, but the
> second yeilded this pile of confusion:
>
> <snip>
> Debugger entered--Lisp error: (file-error "Cannot open load file"
"tramp")
> require(tramp)
> eval((require (quote tramp)))
> eval-last-sexp-1(nil)
> eval-last-sexp(nil)
> call-interactively(eval-last-sexp)
Is your uid 6104 or your gid 6100? Because that is the only user and
group allowed to read the tramp*.el files in your
/usr/share/emacs/site-lisp/tramp directory.
--
Kevin Rodgers
^ permalink raw reply [flat|nested] 19+ messages in thread
* Re: tramp not loading (?)
[not found] ` <mailman.7299.1126885772.20277.help-gnu-emacs@gnu.org>
@ 2005-09-16 19:27 ` Chris McMahan
2005-09-16 20:14 ` Drew Adams
` (2 more replies)
0 siblings, 3 replies; 19+ messages in thread
From: Chris McMahan @ 2005-09-16 19:27 UTC (permalink / raw)
In a similar thread...
Has ANYONE managed to get tramp to work with Cygwin on an XP box using
the non-cygwin version of emacs?
- Chris
Kevin Rodgers <ihs_4664@yahoo.com> writes:
> ken wrote:
> > Starting over. I removed (by hand) the tramp2 installed earlier and
> > installed (from tramp.el):
> >
> > ;; Version: $Id: tramp.el,v 2.95 2002/04/10 17:16:25 kaig Exp $
> >
> > Untarred under my home, then copied them to the traditional place for a
> > system-wide install:
> >
> > /usr/share/emacs/site-lisp/tramp # ll
> > total 264
> > drwxr-x--- 2 root root 4096 Sep 10 22:43 .
> > drwxr-xr-x 7 root root 4096 Sep 10 22:42 ..
> > -rw-rw---- 1 6104 6100 1953 Mar 3 2002 tramp-util.el
> > -rw-r----- 1 6104 6100 19658 Dec 29 2001 tramp-vc.el
> > -rw-r----- 1 6104 6100 225748 Apr 10 2002 tramp.el
> > -rw-rw---- 1 6104 6100 3480 Feb 28 2001 trampcache.el
> >
> > Put this into my ~/.emacs:
> >
> > (add-to-list 'load-path "/usr/share/emacs/site-lisp/tramp/")
> > (require 'tramp) ;errors out
> >
> > Put the point after the closing paren of each line and did "C-x C-e"
> >
> > The first properly displayed the load-path in the echo area, but the
> > second yeilded this pile of confusion:
> >
> > <snip>
> > Debugger entered--Lisp error: (file-error "Cannot open load file"
> "tramp")
> > require(tramp)
> > eval((require (quote tramp)))
> > eval-last-sexp-1(nil)
> > eval-last-sexp(nil)
> > call-interactively(eval-last-sexp)
>
> Is your uid 6104 or your gid 6100? Because that is the only user and
> group allowed to read the tramp*.el files in your
> /usr/share/emacs/site-lisp/tramp directory.
>
> --
> Kevin Rodgers
>
>
>
--
(. .)
=ooO=(_)=Ooo========================
Chris McMahan | cmcmahan-at-one.net
====================================
^ permalink raw reply [flat|nested] 19+ messages in thread
* RE: tramp not loading (?)
2005-09-16 19:27 ` tramp not loading (?) Chris McMahan
@ 2005-09-16 20:14 ` Drew Adams
2005-09-16 20:25 ` Enila Nero
2005-09-18 9:37 ` Michael Albinus
2 siblings, 0 replies; 19+ messages in thread
From: Drew Adams @ 2005-09-16 20:14 UTC (permalink / raw)
Not I, in any case.
I tried, with help from Kai Grossjohann, but we were unsuccessful.
- Drew
Has ANYONE managed to get tramp to work with Cygwin on an XP box using
the non-cygwin version of emacs?
- Chris
^ permalink raw reply [flat|nested] 19+ messages in thread
* Re: tramp not loading (?)
2005-09-16 19:27 ` tramp not loading (?) Chris McMahan
2005-09-16 20:14 ` Drew Adams
@ 2005-09-16 20:25 ` Enila Nero
2005-09-18 9:37 ` Michael Albinus
2 siblings, 0 replies; 19+ messages in thread
From: Enila Nero @ 2005-09-16 20:25 UTC (permalink / raw)
Chris McMahan <first_initiallastname@one.dot.net> writes:
> In a similar thread...
>
> Has ANYONE managed to get tramp to work with Cygwin on an XP box using
> the non-cygwin version of emacs?
Gave up on it. Happily using Putty
http://www.chiark.greenend.org.uk/~sgtatham/putty/
Bye.
>
> - Chris
>
>
> Kevin Rodgers <ihs_4664@yahoo.com> writes:
>
>> ken wrote:
>> > Starting over. I removed (by hand) the tramp2 installed earlier and
>> > installed (from tramp.el):
>> >
>> > ;; Version: $Id: tramp.el,v 2.95 2002/04/10 17:16:25 kaig Exp $
>> >
>> > Untarred under my home, then copied them to the traditional place for a
>> > system-wide install:
>> >
>> > /usr/share/emacs/site-lisp/tramp # ll
>> > total 264
>> > drwxr-x--- 2 root root 4096 Sep 10 22:43 .
>> > drwxr-xr-x 7 root root 4096 Sep 10 22:42 ..
>> > -rw-rw---- 1 6104 6100 1953 Mar 3 2002 tramp-util.el
>> > -rw-r----- 1 6104 6100 19658 Dec 29 2001 tramp-vc.el
>> > -rw-r----- 1 6104 6100 225748 Apr 10 2002 tramp.el
>> > -rw-rw---- 1 6104 6100 3480 Feb 28 2001 trampcache.el
>> >
>> > Put this into my ~/.emacs:
>> >
>> > (add-to-list 'load-path "/usr/share/emacs/site-lisp/tramp/")
>> > (require 'tramp) ;errors out
>> >
>> > Put the point after the closing paren of each line and did "C-x C-e"
>> >
>> > The first properly displayed the load-path in the echo area, but the
>> > second yeilded this pile of confusion:
>> >
>> > <snip>
>> > Debugger entered--Lisp error: (file-error "Cannot open load file"
>> "tramp")
>> > require(tramp)
>> > eval((require (quote tramp)))
>> > eval-last-sexp-1(nil)
>> > eval-last-sexp(nil)
>> > call-interactively(eval-last-sexp)
>>
>> Is your uid 6104 or your gid 6100? Because that is the only user and
>> group allowed to read the tramp*.el files in your
>> /usr/share/emacs/site-lisp/tramp directory.
>>
>> --
>> Kevin Rodgers
>>
>>
>>
>
> --
> (. .)
> =ooO=(_)=Ooo========================
> Chris McMahan | cmcmahan-at-one.net
> ====================================
^ permalink raw reply [flat|nested] 19+ messages in thread
* Re: tramp not loading (?)... ftp session instead
2005-09-16 15:44 ` Kevin Rodgers
@ 2005-09-17 13:29 ` ken
0 siblings, 0 replies; 19+ messages in thread
From: ken @ 2005-09-17 13:29 UTC (permalink / raw)
On Fri, 16 Sep 2005 09:44:36 -0600
Kevin Rodgers <ihs_4664@yahoo.com> wrote:
> ken wrote:
> > ....
> >
> > /usr/share/emacs/site-lisp/tramp # ll
> > total 264
> > drwxr-x--- 2 root root 4096 Sep 10 22:43 .
> > drwxr-xr-x 7 root root 4096 Sep 10 22:42 ..
> > -rw-rw---- 1 6104 6100 1953 Mar 3 2002 tramp-util.el
> > -rw-r----- 1 6104 6100 19658 Dec 29 2001 tramp-vc.el
> > -rw-r----- 1 6104 6100 225748 Apr 10 2002 tramp.el
> > -rw-rw---- 1 6104 6100 3480 Feb 28 2001 trampcache.el
> >
> > ...
>
> Is your uid 6104 or your gid 6100? Because that is the only user and
> group allowed to read the tramp*.el files in your
> /usr/share/emacs/site-lisp/tramp directory.
Good catch, Kevin. Thanks. Rookie mistake on my part.
Okay, I changed the owner and group to root and did a "chmod 755 *" on
the directory. Now all of this works:
(add-to-list 'load-path "/usr/share/emacs/site-lisp/tramp/")
(require 'tramp)
i.e., putting the point at the end of each line and doing C-x C-e
doesn't bring up the debugger. Thanks!!
But still, when I do "C-x C-f /user@host.domain.tld:~/.bashrc", emacs
tries to open an ftp session.
It might not be related, or maybe it is, but at the end of ~/.emacs is a
hugely long line (stuck in there by Options or something). It's
probably going to wrap in this email, but, as said, in ~/.emacs it's all
on one line (12,160 chars long!!):
'(tramp-methods (quote (("rcp" (tramp-connection-function
tramp-open-connection-rsh) (tramp-rsh-program "rsh") (tramp-rcp-program
"rcp") (tramp-remote-sh "/bin/sh") (tramp-rsh-args nil) (tramp-rcp-args
nil) (tramp-rcp-keep-date-arg "-p") (tramp-su-program nil)
(tramp-su-args nil) (tramp-encoding-command nil) (tramp-decoding-command
nil) (tramp-encoding-function nil) (tramp-decoding-function nil)
(tramp-telnet-program nil) (tramp-telnet-args nil)) ("scp"
(tramp-connection-function tramp-open-connection-rsh) (tramp-rsh-program
"ssh") (tramp-rcp-program "scp") (tramp-remote-sh "/bin/sh")
(tramp-rsh-args ("-e" "none")) (tramp-rcp-args nil)
(tramp-rcp-keep-date-arg "-p") (tramp-su-program nil) (tramp-su-args
nil) (tramp-encoding-command nil) (tramp-decoding-command nil)
(tramp-encoding-function nil) (tramp-decoding-function nil)
(tramp-telnet-program nil) (tramp-telnet-args nil)) ("scp1"
(tramp-connection-function tramp-open-connection-rsh) (tramp-rsh-program
"ssh1") (tramp-rcp-program "scp1") (tramp-remote-sh "/bin/sh")
(tramp-rsh-args ("-e" "none")) (tramp-rcp-args nil)
(tramp-rcp-keep-date-arg "-p") (tramp-su-program nil) (tramp-su-args
nil) (tramp-encoding-command nil) (tramp-decoding-command nil)
(tramp-encoding-function nil) (tramp-decoding-function nil)
(tramp-telnet-program nil) (tramp-telnet-args nil)) ("scp2"
(tramp-connection-function tramp-open-connection-rsh) (tramp-rsh-program
"ssh2") (tramp-rcp-program "scp2") (tramp-remote-sh "/bin/sh")
(tramp-rsh-args ("-e" "none")) (tramp-rcp-args nil)
(tramp-rcp-keep-date-arg "-p") (tramp-su-program nil) (tramp-su-args
nil) (tramp-encoding-command nil) (tramp-decoding-command nil)
(tramp-encoding-function nil) (tramp-decoding-function nil)
(tramp-telnet-program nil) (tramp-telnet-args nil)) ("rsync"
(tramp-connection-function tramp-open-connection-rsh) (tramp-rsh-program
"ssh") (tramp-rcp-program "rsync") (tramp-remote-sh "/bin/sh")
(tramp-rsh-args ("-e" "none")) (tramp-rcp-args ("-e" "ssh"))
(tramp-rcp-keep-date-arg "-t") (tramp-su-program nil) (tramp-su-args
nil) (tramp-encoding-command nil) (tramp-decoding-command nil)
(tramp-encoding-function nil) (tramp-decoding-function nil)
(tramp-telnet-program nil) (tramp-telnet-args nil)) ("ru"
(tramp-connection-function tramp-open-connection-rsh) (tramp-rsh-program
"rsh") (tramp-rcp-program nil) (tramp-remote-sh "/bin/sh")
(tramp-rsh-args nil) (tramp-rcp-args nil) (tramp-rcp-keep-date-arg nil)
(tramp-su-program nil) (tramp-su-args nil) (tramp-encoding-command
"uuencode xxx") (tramp-decoding-command "( uudecode -o - 2>/dev/null ||
uudecode -p 2>/dev/null )") (tramp-encoding-function nil)
(tramp-decoding-function uudecode-decode-region) (tramp-telnet-program
nil) (tramp-telnet-args nil)) ("su" (tramp-connection-function
tramp-open-connection-rsh) (tramp-rsh-program "ssh") (tramp-rcp-program
nil) (tramp-remote-sh "/bin/sh") (tramp-rsh-args ("-e" "none"))
(tramp-rcp-args nil) (tramp-rcp-keep-date-arg nil) (tramp-su-program
nil) (tramp-su-args nil) (tramp-encoding-command "uuencode xxx")
(tramp-decoding-command "( uudecode -o - 2>/dev/null || uudecode -p
2>/dev/null )") (tramp-encoding-function nil) (tramp-decoding-function
uudecode-decode-region) (tramp-telnet-program nil) (tramp-telnet-args
nil)) ("su1" (tramp-connection-function tramp-open-connection-rsh)
(tramp-rsh-program "ssh1") (tramp-rcp-program nil) (tramp-remote-sh
"/bin/sh") (tramp-rsh-args ("-e" "none")) (tramp-rcp-args nil)
(tramp-rcp-keep-date-arg nil) (tramp-su-program nil) (tramp-su-args nil)
(tramp-encoding-command "uuencode xxx") (tramp-decoding-command "(
uudecode -o - 2>/dev/null || uudecode -p 2>/dev/null )")
(tramp-encoding-function nil) (tramp-decoding-function
uudecode-decode-region) (tramp-telnet-program nil) (tramp-telnet-args
nil)) ("su2" (tramp-connection-function tramp-open-connection-rsh)
(tramp-rsh-program "ssh2") (tramp-rcp-program nil) (tramp-remote-sh
"/bin/sh") (tramp-rsh-args ("-e" "none")) (tramp-rcp-args nil)
(tramp-rcp-keep-date-arg nil) (tramp-su-program nil) (tramp-su-args nil)
(tramp-encoding-command "uuencode xxx") (tramp-decoding-command "(
uudecode -o - 2>/dev/null || uudecode -p 2>/dev/null )")
(tramp-encoding-function nil) (tramp-decoding-function
uudecode-decode-region) (tramp-telnet-program nil) (tramp-telnet-args
nil)) ("rm" (tramp-connection-function tramp-open-connection-rsh)
(tramp-rsh-program "rsh") (tramp-rcp-program nil) (tramp-remote-sh
"/bin/sh") (tramp-rsh-args nil) (tramp-rcp-args nil)
(tramp-rcp-keep-date-arg nil) (tramp-su-program nil) (tramp-su-args nil)
(tramp-encoding-command "mimencode -b") (tramp-decoding-command
"mimencode -u -b") (tramp-encoding-function base64-encode-region)
(tramp-decoding-function base64-decode-region) (tramp-telnet-program
nil) (tramp-telnet-args nil)) ("sm" (tramp-connection-function
tramp-open-connection-rsh) (tramp-rsh-program "ssh") (tramp-rcp-program
nil) (tramp-remote-sh "/bin/sh") (tramp-rsh-args ("-e" "none"))
(tramp-rcp-args nil) (tramp-rcp-keep-date-arg nil) (tramp-su-program
nil) (tramp-su-args nil) (tramp-encoding-command "mimencode -b")
(tramp-decoding-command "mimencode -u -b") (tramp-encoding-function
base64-encode-region) (tramp-decoding-function base64-decode-region)
(tramp-telnet-program nil) (tramp-telnet-args nil)) ("smp"
(tramp-connection-function tramp-open-connection-rsh) (tramp-rsh-program
"ssh") (tramp-rcp-program nil) (tramp-remote-sh "/bin/sh")
(tramp-rsh-args ("-e" "none")) (tramp-rcp-args nil)
(tramp-rcp-keep-date-arg nil) (tramp-su-program nil) (tramp-su-args nil)
(tramp-encoding-command "tramp_mimencode") (tramp-decoding-command
"tramp_mimedecode") (tramp-encoding-function base64-encode-region)
(tramp-decoding-function base64-decode-region) (tramp-telnet-program
nil)) ("sm1" (tramp-connection-function tramp-open-connection-rsh)
(tramp-rsh-program "ssh1") (tramp-rcp-program nil) (tramp-remote-sh
"/bin/sh") (tramp-rsh-args ("-e" "none")) (tramp-rcp-args nil)
(tramp-rcp-keep-date-arg nil) (tramp-su-program nil) (tramp-su-args nil)
(tramp-encoding-command "mimencode -b") (tramp-decoding-command
"mimencode -u -b") (tramp-encoding-function base64-encode-region)
(tramp-decoding-function base64-decode-region) (tramp-telnet-program
nil) (tramp-telnet-args nil)) ("sm2" (tramp-connection-function
tramp-open-connection-rsh) (tramp-rsh-program "ssh2") (tramp-rcp-program
nil) (tramp-remote-sh "/bin/sh") (tramp-rsh-args ("-e" "none"))
(tramp-rcp-args nil) (tramp-rcp-keep-date-arg nil) (tramp-su-program
nil) (tramp-su-args nil) (tramp-encoding-command "mimencode -b")
(tramp-decoding-command "mimencode -u -b") (tramp-encoding-function
base64-encode-region) (tramp-decoding-function base64-decode-region)
(tramp-telnet-program nil) (tramp-telnet-args nil)) ("tm"
(tramp-connection-function tramp-open-connection-telnet)
(tramp-rsh-program nil) (tramp-rcp-program nil) (tramp-remote-sh
"/bin/sh") (tramp-rsh-args nil) (tramp-rcp-args nil)
(tramp-rcp-keep-date-arg nil) (tramp-su-program nil) (tramp-su-args nil)
(tramp-encoding-command "mimencode -b") (tramp-decoding-command
"mimencode -u -b") (tramp-encoding-function base64-encode-region)
(tramp-decoding-function base64-decode-region) (tramp-telnet-program
"telnet") (tramp-telnet-args nil)) ("tu" (tramp-connection-function
tramp-open-connection-telnet) (tramp-rsh-program nil) (tramp-rcp-program
nil) (tramp-remote-sh "/bin/sh") (tramp-rsh-args nil) (tramp-rcp-args
nil) (tramp-rcp-keep-date-arg nil) (tramp-su-program nil) (tramp-su-args
nil) (tramp-encoding-command "uuencode xxx") (tramp-decoding-command "(
uudecode -o - 2>/dev/null || uudecode -p 2>/dev/null )")
(tramp-encoding-function nil) (tramp-decoding-function
uudecode-decode-region) (tramp-telnet-program "telnet")
(tramp-telnet-args nil)) ("sum" (tramp-connection-function
tramp-open-connection-su) (tramp-rsh-program nil) (tramp-rcp-program
nil) (tramp-remote-sh "/bin/sh") (tramp-rsh-args nil) (tramp-rcp-args
nil) (tramp-rcp-keep-date-arg nil) (tramp-su-program "su")
(tramp-su-args ("-" "%u")) (tramp-encoding-command "mimencode -b")
(tramp-decoding-command "mimencode -u -b") (tramp-encoding-function
base64-encode-region) (tramp-decoding-function base64-decode-region)
(tramp-telnet-program nil) (tramp-telnet-args nil)) ("suu"
(tramp-connection-function tramp-open-connection-su) (tramp-rsh-program
nil) (tramp-rcp-program nil) (tramp-remote-sh "/bin/sh") (tramp-rsh-args
nil) (tramp-rcp-args nil) (tramp-rcp-keep-date-arg nil)
(tramp-su-program "su") (tramp-su-args ("-" "%u"))
(tramp-encoding-command "uuencode xxx") (tramp-decoding-command "(
uudecode -o - 2>/dev/null || uudecode -p 2>/dev/null )")
(tramp-encoding-function nil) (tramp-decoding-function
uudecode-decode-region) (tramp-telnet-program nil) (tramp-telnet-args
nil)) ("sudm" (tramp-connection-function tramp-open-connection-su)
(tramp-rsh-program nil) (tramp-rcp-program nil) (tramp-remote-sh
"/bin/sh") (tramp-rsh-args nil) (tramp-rcp-args nil)
(tramp-rcp-keep-date-arg nil) (tramp-su-program "sudo") (tramp-su-args
("-u" "%u" "-s")) (tramp-encoding-command "mimencode -b")
(tramp-decoding-command "mimencode -u -b") (tramp-encoding-function
base64-encode-region) (tramp-decoding-function base64-decode-region)
(tramp-telnet-program nil) (tramp-telnet-args nil)) ("sudu"
(tramp-connection-function tramp-open-connection-su) (tramp-rsh-program
nil) (tramp-rcp-program nil) (tramp-remote-sh "/bin/sh") (tramp-rsh-args
nil) (tramp-rcp-args nil) (tramp-rcp-keep-date-arg nil)
(tramp-su-program "sudo") (tramp-su-args ("-u" "%u" "-s"))
(tramp-encoding-command "uuencode xxx") (tramp-decoding-command "(
uudecode -o - 2>/dev/null || uudecode -p 2>/dev/null )")
(tramp-encoding-function nil) (tramp-decoding-function
uudecode-decode-region) (tramp-telnet-program nil) (tramp-telnet-args
nil)) ("multi" (tramp-connection-function tramp-open-connection-multi)
(tramp-rsh-program nil) (tramp-rcp-program nil) (tramp-remote-sh
"/bin/sh") (tramp-rsh-args nil) (tramp-rcp-args nil)
(tramp-rcp-keep-date-arg nil) (tramp-su-program nil) (tramp-su-args nil)
(tramp-encoding-command "mimencode -b") (tramp-decoding-command
"mimencode -u -b") (tramp-encoding-function base64-encode-region)
(tramp-decoding-function base64-decode-region) (tramp-telnet-program
nil) (tramp-telnet-args nil)) ("multiu" (tramp-connection-function
tramp-open-connection-multi) (tramp-rsh-program nil) (tramp-rcp-program
nil) (tramp-remote-sh "/bin/sh") (tramp-rsh-args nil) (tramp-rcp-args
nil) (tramp-rcp-keep-date-arg nil) (tramp-su-program nil) (tramp-su-args
nil) (tramp-encoding-command "uuencode xxx") (tramp-decoding-command "(
uudecode -o - 2>/dev/null || uudecode -p 2>/dev/null )")
(tramp-encoding-function nil) (tramp-decoding-function
uudecode-decode-region) (tramp-telnet-program nil) (tramp-telnet-args
nil)) ("scpx" (tramp-connection-function tramp-open-connection-rsh)
(tramp-rsh-program "ssh") (tramp-rcp-program "scp") (tramp-remote-sh
"/bin/sh") (tramp-rsh-args ("-e" "none" "-t" "-t" "/bin/sh"))
(tramp-rcp-args nil) (tramp-rcp-keep-date-arg "-p")
(tramp-encoding-command nil) (tramp-decoding-command nil)
(tramp-encoding-function nil) (tramp-decoding-function nil)
(tramp-telnet-program nil) (tramp-telnet-args nil)) ("smx"
(tramp-connection-function tramp-open-connection-rsh) (tramp-rsh-program
"ssh") (tramp-rcp-program nil) (tramp-remote-sh "/bin/sh")
(tramp-rsh-args ("-e" "none" "-t" "-t" "/bin/sh")) (tramp-rcp-args nil)
(tramp-rcp-keep-date-arg nil) (tramp-su-program nil) (tramp-su-args nil)
(tramp-encoding-command "mimencode -b") (tramp-decoding-command
"mimencode -u -b") (tramp-encoding-function base64-encode-region)
(tramp-decoding-function base64-decode-region) (tramp-telnet-program
nil) (tramp-telnet-args nil)) ("km" (tramp-connection-function
tramp-open-connection-rsh) (tramp-rsh-program "krlogin")
(tramp-rcp-program nil) (tramp-remote-sh "/bin/sh") (tramp-rsh-args
("-x")) (tramp-rcp-args nil) (tramp-rcp-keep-date-arg nil)
(tramp-su-program nil) (tramp-su-args nil) (tramp-encoding-command
"mimencode -b") (tramp-decoding-command "mimencode -u -b")
(tramp-encoding-function base64-encode-region) (tramp-decoding-function
base64-decode-region) (tramp-telnet-program nil) (tramp-telnet-args
nil)))))
This is part of:
(custom-set-variables
;; custom-set-variables was added by Custom -- don't edit or cut/paste
it!
So how do I do get rid of this? Or at least shorten it? Or should I
just leave it? A lot of it looks redundant.
Thanks again.
ken
--
A lot of us are working harder than we want, at things we don't like to
do. Why? ...In order to afford the sort of existence we don't care to
live. -- Bradford Angier
^ permalink raw reply [flat|nested] 19+ messages in thread
* Re: tramp not loading (?)
2005-09-16 19:27 ` tramp not loading (?) Chris McMahan
2005-09-16 20:14 ` Drew Adams
2005-09-16 20:25 ` Enila Nero
@ 2005-09-18 9:37 ` Michael Albinus
2 siblings, 0 replies; 19+ messages in thread
From: Michael Albinus @ 2005-09-18 9:37 UTC (permalink / raw)
Chris McMahan <first_initiallastname@one.dot.net> writes:
> In a similar thread...
>
> Has ANYONE managed to get tramp to work with Cygwin on an XP box using
> the non-cygwin version of emacs?
I gave up. In the Tramp 2.0.50 manual, I wrote:
The recent Cygwin installation of `ssh' works only with a Cygwinized
GNU Emacs. You can check it by typing `M-x eshell', and starting `ssh
test.machine'. The problem is evident if you see a message like this:
Pseudo-terminal will not be allocated because stdin is not a terminal.
> - Chris
Best regards, Michael.
^ permalink raw reply [flat|nested] 19+ messages in thread
end of thread, other threads:[~2005-09-18 9:37 UTC | newest]
Thread overview: 19+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-08-18 21:38 tramp 2.1.3 compile funkiness zl
2005-08-19 9:08 ` Peter Dyballa
2005-08-22 9:13 ` Michael Albinus
2005-08-26 17:17 ` ken
2005-08-27 20:14 ` Michael Albinus
2005-09-01 19:04 ` tramp2 not loading (?) (was: Re: tramp 2.1.3 compile funkiness) ken
2005-09-02 7:48 ` tramp2 not loading (?) Michael Albinus
2005-09-02 15:39 ` ken
2005-09-03 10:55 ` Michael Albinus
2005-09-16 11:49 ` tramp " ken
2005-09-16 14:39 ` Michael Albinus
2005-09-16 15:44 ` Kevin Rodgers
2005-09-17 13:29 ` tramp not loading (?)... ftp session instead ken
[not found] ` <mailman.7299.1126885772.20277.help-gnu-emacs@gnu.org>
2005-09-16 19:27 ` tramp not loading (?) Chris McMahan
2005-09-16 20:14 ` Drew Adams
2005-09-16 20:25 ` Enila Nero
2005-09-18 9:37 ` Michael Albinus
[not found] ` <mailman.5157.1125078882.20277.help-gnu-emacs@gnu.org>
2005-08-26 19:54 ` tramp 2.1.3 compile funkiness rgb
2005-09-15 22:41 ` rgb
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).