|
From: | Claire Billault |
Subject: | Re: [h-e-w] Perl in shell with portable Emacs installation |
Date: | Sun, 06 Jun 2010 20:48:34 +0200 |
Envoyé de mon iPhone Le 6 juin 2010 à 19:33, address@hidden a écrit :
You might have a look at statlive.org. In particular, I use invocationdirectory to set paths for everything else: ;;Set drive letter or mount point, making the software relocatable.(setq ipoide-root (substring invocation-directory 0 (- (string-match "Emacs" invocation-directory) 1)))See the files at the end of the page on assembling the portable system:http://statlive.org/software/livedvd/assembling.htmlThe project is going through a major upgrade and the goals include trying to script the assembly process for the portable environment and organizingthe project so others can contribute to development.
I have just looked at statlive.org, and I must say I am very impressed, especially at the prospect of having a single installation that could work on Windows AND Mac (and possibly Linux later on). I will toy with it this week, and see how I could integrate Perl.
So far I've finally managed to get Emacs to recognize Strawberry Perl, by adding
(setq exec-path (append exec-path (list (concat usb-drive-letter "Strawberry/perl/bin"))))
to my init file, but when I try to run perl in the shell I now get a "Shell failed with code 53 and no ouput" error. Googling around a bit, it seems this is a dependencies problem, but I'm not quite sure yet how to solve it. I'll continue working on this and on your method.
[Prev in Thread] | Current Thread | [Next in Thread] |