General JDE installation problem:
I am using an XEmacs installation that is on a shared drive.
The XEmacs JDE installation procedure says to do this:
1) Unzip the JDE distribution in any convenient directory on your
system.
2) Delete or rename the ..XEmacs/xemacs-packages/etc/jde directory
created by the XEmacs package installer.
3) Follow the instructions given elsewhere in this guide for
updating your .emacs file to include the JDE.
Step 2 is impossible unless you are root.
Is there a way to play with the paths in the top of the .emacs file
to get around Step2?
I have tried the solution that is used for the speedbar version
issue (below) and I get several problems when xemacs loads the .emacs file.
I also have tried compiling/installing my own personal copy of
XEmacs in my home directory, but I run into an obscure error when it gets to
the final portion of the installation process (post compilation).
Does anyone have any suggestions?
Here is the "obscure error" in the compilation...
Installing utilities run internally by XEmacs.
./make-path /home/jprzasny/apps/lib/xemacs-21.1.9/sparc-sun-solaris2.5.1
if test "`(cd /home/jprzasny/apps/lib/xemacs-21.1.9/sparc-sun-solaris2.5.1
&& /bin/pwd)`" != "`/bin/pwd`"; then \
for f in make-path wakeup profile make-docfile digest-doc sorted-doc
movemail cvtmail fakemail yow hexl gnuserv mmencode; do \
(cd .. && /apps/rlbist/bin/install -c lib-src/$f
/home/jprzasny/apps/lib/xemacs-21.1.9/sparc-sun-solaris2.5.1/$f) ; \
done ; \
fi
This procedure cannot be executed from here
It can only be executed from the directory where
the PSBIST software was installed.
*** Error code 1
make: Fatal error: Command failed for target
`/home/jprzasny/apps/lib/xemacs-21.1.9/sparc-sun-solaris2.5.1'
Current working directory /home/jprzasny/to_remove/xemacs-21.1.9/lib-src
*** Error code 1
make: Fatal error: Command failed for target `install-arch-dep'
> > I had tried that too but had the same problem.
> >
> > Here is what was happening. The new version of emacs that I installed
> > already included a version of speedbar which of course is not
> compatiable
> > with the JDE environment. Remember the first one found is used. I needed
> the
> > new one. At first, I used add-to-list but that will only add (actually
> > prepends, why didn't they just name it prepend-to-list) the designated
> path
> > to load-path but only if it does not find one of that name. Still, did
> not
> > work because one did exist already so my new was ignored. What you have
> to
> > do is something like the following (thanks to Eric for the clue) at the
> top
> > of your .emacs or _emacs (windoze variation).
> >
> > (setq load-path (cons (expand-file-name "~/elisp/speedbar-0.11")
> load-path))
> >
> > Of course change the path spec to wherever you have the new version of
> > speedbar.
>
> There are a few misleading points here, so let me clarify them for other
> readers.
>
> The load-path is a set of directories, which tells Emacs where to look
> for things. Emacs will search the load-path in order.
>
> If you execute
> (add-to-list 'load-path (expand-file-name
> "~/elisp/speedbar-0.11"))
>
> That directory will be added at the head of your load-path, so it will
> be searched before the standard Emacs directories.
>
> The only case in which add-to-list does not add the directory is if that
> directory is already in the load-path. That will not be the case here,
> unless
> you have already got it set in your .emacs.
>
> Emacs (at least FSF Emacs) comes with an old version of speedbar in the
> lisp directory. If you use add-to-list as shown above, the newer version
> will shadow the old, and there won't be a problem.
>
> Again, there's no need to use the setq form above.
>
> By the way, NTEmacs can use either .emacs or _emacs for the init file.
> Most people use .emacs, for consistency with other versions.
>
> -Jim
>