[ESS] ESS on CentOS 5 throwing errors
Brian
zenlines at gmail.com
Tue Aug 21 15:05:45 CEST 2012
Hi Emmanuel,
yup, same question here....
The solution below would work unless you don't have the proper
compilers, which would really amaze me.
In org-babel notation:
#+begin_src sh
#!/bin/bash -x
## To be run from ~ i.e. home/USER/
cd ~
# make your own personal bin
mkdir bin
# Download
wget http://ftp.gnu.org/pub/gnu/emacs/emacs-24.1.tar.gz
# Decompress
tar xzf emacs-24.1.tar.gz
# Move into the directory
cd emacs-24.1/
# Configure
./configure --prefix=$HOME/bin
# Compile
make
# I would use 'checkinstall -y' here but the following would also
(hopefully) work
make install
# Now proceed with install ESS!
#+end_src
You can take the bash code in between the two *_src lines, paste it into
a file (properly named), make that file executable and let her rip.
If that doesn't work, then I would first have the head of the IT person
checked, then the OS checked/replaced...
HTH,
Brian
On 08/21/2012 02:49 PM, Vitalie Spinu wrote:
>
> What is the version of emacs? I don't see you having mentioned this
> before. My last guess it that it is just an utterly outdated one.
>
> >> Emmanuel Levy <emmanuel.levy at gmail.com>
> >> on Tue, 21 Aug 2012 14:51:09 +0300 wrote:
>
> > Hi Brian and Vitalie,
> > I uninstalled both emacs and xemacs with YUM, and reinstalled both of
> > them. Re-did the ess install, but I still got the same error messages.
> > I also try to install all possible emacs add-ons (yum install emacs*)
> > and this did not improve things.
>
> >> emacs -Q
>
> > xemacs opens a new file called -Q and emacs tells me ¨unknown
option -Q ¨
>
> >>
> >> How does that look?
> >>
> >> What about commenting out the '(require 'ess-site)'
> >> and then evaluating it when emacs is open:
> >>
> >> M-: (require 'ess-site)
> >> ; or
> >> M-: (load "~/.emacs.d/ess-12.04-4/lisp/ess-site.el")
>
> > It gives me the same error ¨cannot find executable¨
>
> > I know things work well with Ubuntu, this is a desktop machine and not
> > a server so Iĺl just convince the IT person that I cannot allow myself
> > to loose days of work because of the OS. If ESS is trouble I cannot
> > even imagine what its going to be with packages that depend on many
> > uncommon libraries.
>
> > Thanks for your help,
>
> > Emmanuel
>
> >>
> >>
> >> The degugging info may be more informative. If that doesn't help, I am
> >> guessing that compiling emacs on the certain OS will give you a
solution. I
> >> base this on only good experience on multiple platforms when getting a
> >> working version of emacs and putting the ESS lisp code where emacs
can find
> >> it, and firing it up, that is, merely following the instructions at
> >> ess.r-project.org. This has worked for me on Windows,
(X,L,K)Ubuntu, and
> >> Mac OSX. I am hard pressed to believe that it is a problem with
ESS (or
> >> Emacs).
> >>
> >> Try that please.
> >>
> >> Best,
> >> Brian
> >>
>
> > ______________________________________________
> > ESS-help at r-project.org mailing list
> > https://stat.ethz.ch/mailman/listinfo/ess-help
More information about the ESS-help
mailing list