Building and Installing Emacs from Bazaar
If this is the first time you go through it, you'll need to configure
before bootstrapping:
$ ./configure
Some of the files that are included in the Emacs tarball, such as
byte-compiled Lisp files, are not stored in Bazaar. Therefore, to
build from Bazaar you must run "make bootstrap" instead of just
"make":
$ cvs update -dP
$ make bootstrap
Are there options to `bzr pull' that will be necessary as `cvs update
-dP' was?
> Are there options to `bzr pull' that will be necessary as `cvs update
> -dP' was?
No.
If you plan to submit changes, I suggest reading the BzrForEmacsDevs doc, at
http://www.emacswiki.org/emacs-en/BzrForEmacsDevs
Juanma
If you plan to submit changes, I suggest reading the BzrForEmacsDevs
doc, at
http://www.emacswiki.org/emacs-en/BzrForEmacsDevs
Thank you, Juanma, I will.
Sorry if this is a stupid question, but <insertnewbiedisclaimer>.
I've followed the instructions for pulling and installing the bzr
trunk.
How do I start emacs? 'emacs' doesn't work at the command line.
(Using Gentoo linux.)
> How do I start emacs? 'emacs' doesn't work at the command line.
> (Using Gentoo linux.)
After the build, the emacs executable is in the src/ subdirectory. You
can execute it from there.
If you want to execute emacs as any other application, install it with
sudo make install
This is explained on the emacs INSTALL and/or README files.
--
Óscar
Thanks for your reply. However, I did follow the INSTALL.BZR file
for installation instructions. (Including doing a make install.)
Going into the /src directory still generates an 'emacs: command not
found' error.
Did you get any errors for `make install'? You need root privileges to
write to /usr/local/, you know. Emacs should end up in
/usr/local/bin. Is /usr/local/bin in your PATH? What does "echo $PATH"
say on the command line? Is there an emacs executable in
/usr/local/bin?
HTH,
Anselm
--
Anselm Helbig - http://mnemonikk.org
Hi Cena,
> How do I start emacs? 'emacs' doesn't work at the command line.
> (Using Gentoo linux.)
If you only want to use the bleeding edge emacs, you can use the
app-editors/emacs-vcs ebuild from the main portage tree.
Bye,
Tassilo
Modulo bug fixes committed from now until the release, yes.
Juanma
No, it will become 23.2. the one which would become 24 will be
labeled 24.0.50.
is /usr/local/bin in your PATH, ordid you give another target directory
in the make install step?
Stefan
> No, it will become 23.2. the one which would become 24 will be
> labeled 24.0.50.
Oops, I read "24" as "the next release". Sorry for the noise.
Juanma
After reading your response, Juanma, I was curious about the possible
ambiguity in _my_ words. Thanks for clarifying, Eli.
> After reading your response, Juanma, I was curious about the possible
> ambiguity in _my_ words.
No, the ambiguity was fully in my neocortex, assuming I have one.
Juanma
As long as you don't eat antipsychotics you have one.
> As long as you don't eat antipsychotics you have one.
The question is, it is always switched on?
Juanma
A really serious question ... ;-)
The answer is that it should not be. And that it is very good to know
how to switch it off and on.
(And the problem with antipsychotics is unfortunately quite real. This
is not the place to tell about it, but you would not believe what I
have to tell - if you do not take a lot of time to read the newer
research reports.)
> Juanma
>
Yes, I su'ed the install and there is an emacs in /usr/local/bin; /usr/
bin IS in my path. (echo $PATH=
/sbin:/bin:/usr/sbin:/usr/bin). However, attempting to run the emacs
in /usr/local/bin, although clearly 'there', also results in a 'emacs:
command not found.'
Cena
Hi Cena,
> Yes, I su'ed the install and there is an emacs in /usr/local/bin; /usr/
> bin IS in my path. (echo $PATH=
> /sbin:/bin:/usr/sbin:/usr/bin).
Yeah, /usr/bin is in your PATH, but not /usr/local/bin. (BTW, /sbin and
/usr/sbin/ should not be in your normal user's path). So add
export PATH=$PATH:/usr/local/bin
to your ~/.bashrc (or whatever shell you're using).
> However, attempting to run the emacs in /usr/local/bin, although
> clearly 'there', also results in a 'emacs: command not found.'
How do you run it there? Even when you are in /usr/local/bin, you have
to start it with ./emacs. Have a look at this Q&A, which sounds similar
to your problem [1]. If you ask yourself why you cannot execute a
program or script in the current directory by only giving it's name,
read [2] to figure out how you can do that, but also why you don't want
to do so.
Bye,
Tassilo
__________
[1] http://www.computing.net/answers/linux/run-shell-script-on-linux/28735.html
[2] http://www.faqs.org/faqs/unix-faq/faq/part2/section-13.html
So /usr/local/bin is _not_ in your path?
Try
export /PATH=/usr/local/bin:$PATH
emacs
Regards Stefan.