Results 1 to 10 of 13
I am trying to learn how to compile from source and having some trouble figuring it out. Hopefully one of you can help steer me in the right direction. Here ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 04-14-2012 #1
Need help compiling emacs from source
I am trying to learn how to compile from source and having some trouble figuring it out. Hopefully one of you can help steer me in the right direction. Here is what I have done on my Ubuntu 32 bit 11.04 minimal installationownloaded emacs-23.4.tar.gz to ~/home/tod/Compile/ - then from that directory ran the following commands:tar -zxvf emacs-23.4.tar.gz./configuresudo make - last line was make: *** [src] Error 2sudo make install - same last line as aboveAfter everything was finished I could not find where it may have installed.whereis emacs returns just "emacs:"Any help?
- 04-14-2012 #2
- 04-14-2012 #3
I ran ./configure again to confirm and I don't see any errors. Everything flies by the screen pretty quickly but I didn't see anything concerning and the final page of the process all looks to be in order. All the questions : does Emacs use -**** all end in no. All the config.status: creating xxxx/makefile all appear to have completed successfully. The final line is creating src/Makefile.
- 04-14-2012 #4
To compile software, I've found it necessary to have kernel headers and other requirements installed.
I think that to do this in Ubuntu, you need to do:
sudo apt-get install build-essential
- 04-14-2012 #5
Gave that a shot but didn't help. Here is a bit more info on the error code:
make: Entering directory /home/tod/Compile/emacs-23.4/lib-src
make: *** No rule to make target '/usr/lib/crt1.0', needed by 'temacs'. Stop.
make: leaving directory
make: *** [src] Error 2
Maybe that helps more?
- 04-15-2012 #6
hoping not to make things worse, I did come across something that looked familiar:
sudo apt-get update && sudo apt-get upgradeCode:
sudo apt-get install build-essential linux-headers-$(uname -r)
- 04-15-2012 #7
Ran all those above but everything was already up to date, so no change.
- 04-15-2012 #8
Well, with a little more research I see a variety of the same error report online as well as some bug reports but haven't been able to figure out the fix. Maybe I will try compiling something different...
Any suggestions on other programs to install to practice compiling from source? Vi and nano are already installed.
- 04-15-2012 #9
- 04-15-2012 #10
I saw the patch yesterday, but I have no idea what to do with it or how to apply it. Any direction would be greatly appreciated.
I don't know if this was the right strategy or not, but I simply deleted all of the files that were created when I extracted the tarball, so I will need to start from scratch. (no big deal) I tried the same process with an older version of emacs and had the same results. I have no idea if the multiple failed "make and make installs" installed files elsewhere that I should be concerned about. Feeling like I am in a bit over my head...