Tried to install emacs, now gives error
- date: September 14, 2009
I tried to install emacs with apt-get, it gave an error. Now trying to purge it fails:
:~$ sudo apt-get purge emacs
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package emacs is not installed, so not removed
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
1 not fully installed or removed.
After this operation, 0B of additional disk space will be used.
Setting up emacs22-gtk (22.2-0ubuntu2) ...
update-alternatives: unable to make /usr/share/man/ru/man1/editor.1.gz.dpkg-tmp a symlink to /etc/alternatives/editor.ru.1.gz: No such file or directory
dpkg: error processing emacs22-gtk (--configure):
subprocess post-installation script returned error exit status 2
Errors were encountered while processing:
E: Sub-process /usr/bin/dpkg returned an error code (1)
What can I do?
Help installing emacs, getting a "C compiler cannot create executables" error
- date: September 14, 2008
I did some google work and couldn't really come up with anything. Whenever I type ./configure this is what I get:
checking build system type... i686-pc-linux-gnulibc1
checking host system type... i686-pc-linux-gnulibc1
checking for gcc... gcc
checking for C compiler default output file name...
configure: error: C compiler cannot create executables
See `config.log' for more details.
gdb in emacs
location: ubuntuforums.com - date: March 10, 2010
Been trying to make emacs my development IDE on Linux but somehow I cannot seem to debug from within it.
Here's an example of the steps I've taken to get gdb up and running from within emacs.
I have compiled a very simple C++ test program by issuing the command:
g++ -g test.cpp -o test.so
I then issued another command to get gdb up and running:
Run gdb (like this): gdb test.so
The issue I'm having is the binary loads up just fine but I'm unable to get gdb to run the program.
Tried executing Run from the Gud menu and I get an error message:
Symbol's function definition is void: gud-go
I am also unable to run any commands from within gdb's frame -- after (gdb). I can type them but nothing really happens (like r to run.)
What am I doing wrong? I am using emacs 23 on Ubuntu 9.1.
emacs error when compiling java
location: ubuntuforums.com - date: September 9, 2009
I'm trying to make a very simple program in Java, all it does is print two lines. I'm doing this to see if I can use emacs as my IDE... However when I do C-c C-v C-c, I get this error:
Cannot find JDK's tools jar file (or equivalent).Type M-x describe-function [RET] jde-get-jdk-dir for more info.
I'm using emacs22, with no x support. I've saved the file, compiled it with javac, and run it with java, it works like a charm, however emacs should be able to do it all by itself...
Anyone know what is going on? That error message doesn't help at all...
Edit: I can also run the program from emacs with C-c, C-v, C-r, so compiling is the only thing I can't do...
warning error in emacs about bash script
location: ubuntuforums.com - date: February 20, 2011
I am a new ubuntu user and i installed ubuntu 20 days back.. I am trying to learn lisp and i installed clisp, emacs and slime as said by some of the posts..I followed everything thats written there like editing init.el file and all but when i am starting emacs through terminal i am getting a warning ...
"Warning (initialization): An error occurred while loading `/home/kiran/.emacs.d/init.el':
File error: Cannot open load file, start
and when i debugged it its saying
"/bin/bash: --: invalid option
Usage: /bin/bash [GNU long option] [option] ...
/bin/bash [GNU long option] [option] script-file ...
GNU long options:
-irsD or -c command or -O shopt_option (invocation only)
Emacs: php, flymake, mumoma error
location: ubuntuforums.com - date: May 14, 2011
I use Emacs for php development, using mumamo and flymake. The first time I open a php file after opening emacs, the command fails and I get this backtrace:
find-file-noselect-1(#<buffer index.php> "~/public_html/adm/index.php" nil nil "~/public_html/adm/index.php" (173646 2054))
find-file-noselect("~/public_html/adm/index.php" nil nil t)
call-interactively(find-file nil nil)
Of course, "~/public_html/adm/index.php" is replaced by whatever file I happen to be opening. I don't see an error in that backtrace.
After getting this, I can close the backtrace, re-open the file and php files open fine from that point on.
Anyone know what could be happening?
emacs error in 10.10 not in 9.10
location: ubuntuforums.com - date: February 14, 2011
I'm getting the following error message from emacs when editing a .c file under 10.10 that I do not get under 9.10:
File mode specification error: (void-function c-setup-paragraph-variables)
It appears to be the same version of emacs itself (22.2.1), but a revision of the Ubuntu packaging:
On 10.10 (dpkg formats wider than on 9.10):
ii emacs22 22.2-0ubuntu9 The GNU Emacs editor (Emacs 22)
ii emacs22-bin-common 22.2-0ubuntu9 The GNU Emacs editor's shared, architecture dependent files
ii emacs22-common 22.2-0ubuntu9 The GNU Emacs editor's common infrastructure
ii emacs22-el 22.2-0ubuntu9 GNU Emacs LISP (.el) files
ii emacs22-gtk 22.2-0ubuntu9 The GNU Emacs editor (wi
need help getting keymap set up for emacs strange syntax error
location: ubuntuforums.com - date: December 9, 2008
I'm trying to get a keymap set up on a remote machine so that I can get nice things like shift+home, shift+end highlighting working over a remote terminal. I found this on the EmacsWiki page:
keycode 103 = Up
Shift keycode 103 = F49
keycode 108 = Down
Shift keycode 108 = F50
keycode 106 = Right
Shift keycode 106 = F51
Control keycode 106 = F53
Control Shift keycode 106 = F55
keycode 105 = Left
Shift keycode 105 = F52
Control keycode 105 = F54
Control Shift keycode 105 = F56
keycode 102 = Find
Shift keycode 102 = F57
Control keycode 102 = F59
Control Shift keycode 102 = F61
keycode 107 = Select
Shift keycode 107 = F58
Control keycode 107 = F60
Control Shift keycode 107 = F62
string F49 = "\033O2A"
string F50 = "\033O2B"
string F51 = "\033O2C"
string F52 = "\033O2D"
string F53 = "\033O5C"
string F54 = "\033O5D"
string F55 = "\033O6C"
unexpected error message from emacs in terminal
location: ubuntuforums.com - date: September 28, 2012
So, whenever I execute a command in the terminal calling emacs to open a file, such as "emacs file.c &", I get the following error message:
Warning: Cannot convert string "-*-courier-medium-r-*-*-*-120-*-*-*-*-iso8859-*" to type FontStruct
Warning: Cannot convert string "-*-helvetica-medium-r-*--*-120-*-*-*-*-iso8859-1" to type FontStruct
Why is this happening, and how do I stop it from doing this?
I am running Ubuntu 12.04 with the Xfce desktop environment, which is also known as Xubuntu.
It hasn't caused any major problems yet (emacs works fine) but I'd like to solve the issue that's instigating the message; some searching through internet resources indicates that this could be problematic at some point.
Disclaimer: This is my first post here; I hope I'm doing it right.
Emacs error message
location: ubuntuforums.com - date: September 16, 2008
I recently wrote a new gtk-rc (I think thats what it was called) while following a guide to allow me to change the color of text on my panels. Now when I boot emacs, I get the following message in terminal:
/usr/share/themes/Human-Murrine/gtk-2.0/gtkrc:244: Invalid symbolic color 'selected_bg_color'
/usr/share/themes/Human-Murrine/gtk-2.0/gtkrc:244: error: invalid identifier `selected_bg_color', expected valid identifier
Running Ubuntu 8.04.
Page: 1 2 3 4 5 6 7 8 9 10