Hi, developers:

I'm using NTEmacs on Windows and MSYS shell.
Then I executed tramp's configure script but it stops saying:

> configure: regenerate autoloads
> Opening output file: no such file or directory, 
> c:/d/tmp/tramp-2.2.0/lisp/tramp-loaddefs.el
> sed: can't read /d/tmp/tramp-2.2.0/lisp/tramp-loaddefs.el: No such file or 
> directory
> make: *** [/d/tmp/tramp-2.2.0/lisp/tramp-loaddefs.el] Error 2

This problem may occur on systems on which the format of absolute pathes are
different between its shell and in emacsen.
Then, some modification below works well on my environment,
and maybe help to some emacsen users on Windozes
and might not affect others I think, but not sure.

--- lisp/Makefile.in.orig       2010-10-28 14:45:41 +0900
+++ lisp/Makefile.in    2010-12-18 18:36:10 +0900
@@ -94,14 +94,14 @@
 $(builddir)/tramp-loaddefs.el: $(LISP_FILES)
 # XEmacs must be advised to put tramp.el definitions at the beginning.
 # We redefine `autoload-trim-file-name', therefore.
-       $(EM) -l autoload                                                   \
+       cd $(builddir) && $(EM) -l autoload                                 \
          --eval "(setq generate-autoload-cookie \";;;###tramp-autoload\")" \
-         --eval "(setq generated-autoload-file \"$...@\")"                 \
+         --eval "(setq generated-autoload-file \"(concat (expand-file-name
\".\") \"/tramp-loaddefs.el\"))" \
          --eval "(setq make-backup-files nil)"                             \
          --eval "(unless (string-equal \"$(EMACS_INFO)\" \"emacs\")        \
                    (defalias 'autoload-trim-file-name                      \
                              'file-name-sans-extension))"                  \
-         -f batch-update-autoloads $(builddir)
+         -f batch-update-autoloads .
 # XEmacs uses hard coded feature `lisp-autoloads'.
        @sed -e s/lisp-autoloads/tramp-loaddefs/g $@ >$...@.$$$$ &&         \
          mv -f $...@.$$$$ $@

I often use tramp and always feel it's very powerful tool.
Thank you for maintenance.

-- 
Yosuke YAMADA

_______________________________________________
Tramp-devel mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/tramp-devel

Reply via email to