maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Nokia N900 (https://talk.maemo.org/forumdisplay.php?f=44)
-   -   GNU Emacs 24.0.50.1~bzr99756 for Nokia N900 (https://talk.maemo.org/showthread.php?t=58190)

白い熊 2010-07-10 19:37

GNU Emacs 24.0.50.1~bzr99756 for Nokia N900
 
I've posted a new version of GNU Emacs at: http://kumatux.org/Applications.html

with all dependencies compiled. Previous versions had some dependencies missing, so wouldn't run on a stock clean N900.

Psymastr 2010-07-11 05:29

Re: GNU Emacs 24.0.50.1~bzr99756 for Nokia N900
 
Thanks, can you upload to extras-dev or extras-testing?

eiraku 2010-07-11 06:10

Re: GNU Emacs 24.0.50.1~bzr99756 for Nokia N900
 
Or at least a freely compiled deb. I like the permise of kumatux and all, but the convenience of a deb packages still appeals to me.

白い熊 2010-07-11 11:33

Re: GNU Emacs 24.0.50.1~bzr99756 for Nokia N900
 
No, will not do it. I've built kumatux.org exactly for this purpose, so that you can put any app anywhere, in any dir on the system, and install and run without root privileges.

So that you don't mess with the base system.

If you need debian packages, you'll have to build them yourself...

filologen 2010-07-11 21:49

Re: GNU Emacs 24.0.50.1~bzr99756 for Nokia N900
 
I installed kumatux org and several programs. The xz utility worked fine after the linking but emacs does not. I installed all the kumatux apps to /home/user/kumatux.org-apps but this doesn't seem to work with emacs. When I try to start emacs from the command line I get the following error message:

Code:

Warning: arch-dependent data dir (/media/0/kumatux.org-apps/emacs_24.0.50.1~bzr99756_jj_2010-03-28-203244_fremantle_armel/libexec/emacs/24.0.50/armv7l-unknown-linux-gnueabi/) does not exist.
Warning: arch-independent data dir (/media/0/kumatux.org-apps/emacs_24.0.50.1~bzr99756_jj_2010-03-28-203244_fremantle_armel/share/emacs/24.0.50/etc/) does not exist.
Warning: Lisp directory `/media/0/kumatux.org-apps/emacs_24.0.50.1~bzr99756_jj_2010-03-28-203244_fremantle_armel/share/emacs/24.0.50/site-lisp' does not exist.
Warning: Lisp directory `/media/0/kumatux.org-apps/emacs_24.0.50.1~bzr99756_jj_2010-03-28-203244_fremantle_armel/share/emacs/site-lisp' does not exist.
Warning: Lisp directory `/media/0/kumatux.org-apps/emacs_24.0.50.1~bzr99756_jj_2010-03-28-203244_fremantle_armel/share/emacs/24.0.50/lisp' does not exist.
Warning: Lisp directory `/media/0/kumatux.org-apps/emacs_24.0.50.1~bzr99756_jj_2010-03-28-203244_fremantle_armel/share/emacs/24.0.50/leim' does not exist.
Error: charsets directory (/media/0/kumatux.org-apps/emacs_24.0.50.1~bzr99756_jj_2010-03-28-203244_fremantle_armel/share/emacs/24.0.50/etc/charsets) does not exist.
Emacs will not function correctly without the character map files.
Please check your installation!
Warning: Could not find simple.el nor simple.elc
Cannot open load file: warnings


白い熊 2010-07-12 05:24

Re: GNU Emacs 24.0.50.1~bzr99756 for Nokia N900
 
This means that Emacs hardcodes some paths when compiling.

As you see from your errors it's looking for /media/0/kumatux.org-apps/emacs...

Just mkdir or symlink /media/0/kumatux.org-apps and symlink the emacs... dir from /home/user/ into it and it'll work.

Most apps run fine from anywhere, but seems emacs doesn't...

filologen 2010-07-12 06:58

Re: GNU Emacs 24.0.50.1~bzr99756 for Nokia N900
 
Quote:

Originally Posted by 白い熊 (Post 748772)
This means that Emacs hardcodes some paths when compiling.

As you see from your errors it's looking for /media/0/kumatux.org-apps/emacs...

Just mkdir or symlink /media/0/kumatux.org-apps and symlink the emacs... dir from /home/user/ into it and it'll work.

Most apps run fine from anywhere, but seems emacs doesn't...

Thanks for your reply. After creating the relevant symlink it seems to work fine.

Thanks a lot for making emacs-24 available.

ghsfan 2010-07-14 17:56

Re: GNU Emacs 24.0.50.1~bzr99756 for Nokia N900
 
emacs is looking for libgif.so which doesn't seem to be anywhere on my n900. I didn't see libgif mentioned on kumatux.org. What's the best way to get it?
Thanks.
And thanks for kumatux.org and n900 emacs!

白い熊 2010-07-14 18:16

Re: GNU Emacs 24.0.50.1~bzr99756 for Nokia N900
 
Quote:

Originally Posted by ghsfan (Post 751841)
emacs is looking for libgif.so which doesn't seem to be anywhere on my n900. I didn't see libgif mentioned on kumatux.org.

http://kumatux.org/Applications.html:
apps/emacs_24.0.50.1~bzr99756_jj_2010-03-28-203244_fremantle_armel.tar.xz
— emacs requires apps/giflib_4.1.6_jj_2010-03-25-152025_fremantle_armel.tar.xz

filologen 2010-07-14 18:48

Re: GNU Emacs 24.0.50.1~bzr99756 for Nokia N900
 
Sorry for putting the info in this thread, but it is related to kumatux.org.

I just installed guile (thank you!) and just wanted to let you know that it depends on gmp (which can be downloaded from the kumatux.org site, but which isn't listed as a dependency for guile).

白い熊 2010-07-14 20:16

Re: GNU Emacs 24.0.50.1~bzr99756 for Nokia N900
 
Fixed, thanks for noticing this.

econprof 2010-07-15 01:40

Re: GNU Emacs 24.0.50.1~bzr99756 for Nokia N900
 
I've been having the same problem as filologen - emacs looking for files in /media/0. I went ahead and installed an sd card and mounted it on /media/0. As long as I manually mount the sd card - whether the emacs files are on /media/0/kumatux-org-apps or the files are in the home directory linked to this one - I have no problem. Emacs works fine.

But I haven't figured out how to automatically mount the sdcard (formatted as ext3). I've read many posts about this, but none seem to work with the latest version of the firmware.

Any solutions? Sorry to be somewhat off topic. It's great to have emacs on the n900.

白い熊 2010-07-15 05:42

Re: GNU Emacs 24.0.50.1~bzr99756 for Nokia N900
 
You don't need to mount it to /media/0

Just symlink /media/whathever-it's-mounted-as to /media/0

econprof 2010-07-19 01:12

Re: GNU Emacs 24.0.50.1~bzr99756 for Nokia N900
 
Sumoudou:

I'd appreciate your taking a look at my post: http://talk.maemo.org/showthread.php...263#post756263

Thanks.

[Edit: Nevermind. I think I got this installed correctly now. Thanks again.]

ghsfan 2010-07-20 17:56

Re: GNU Emacs 24.0.50.1~bzr99756 for Nokia N900
 
Quote:

Originally Posted by 白い熊 (Post 751859)
http://kumatux.org/Applications.html:
apps/emacs_24.0.50.1~bzr99756_jj_2010-03-28-203244_fremantle_armel.tar.xz
— emacs requires apps/giflib_4.1.6_jj_2010-03-25-152025_fremantle_armel.tar.xz

Thanks, sorry I was confused.
What is the recommended place to put the libs?
Thanks again.

ghsfan 2010-07-28 21:24

Re: GNU Emacs 24.0.50.1~bzr99756 for Nokia N900
 
Have I asked a bad question or just asked it badly?
Any help would be greatly appreciated.
Thanks.

白い熊 2010-07-29 17:42

Re: GNU Emacs 24.0.50.1~bzr99756 for Nokia N900
 
Quote:

Originally Posted by ghsfan (Post 758220)
What is the recommended place to put the libs?

Any place, that's what kumatux.org was developed for, RTFM!

ghsfan 2010-07-29 18:15

Re: GNU Emacs 24.0.50.1~bzr99756 for Nokia N900
 
Was that necessary? If your intent was for me to go away, you've succeeded.

ghsfan 2010-09-02 17:41

Re: GNU Emacs 24.0.50.1~bzr99756 for Nokia N900
 
Thanks for your hard work and for making this available. I've been using emacs as my IDE for many years and I'm looking forward to having it with me all the time. And I plan to learn org-mode.
Everything's working: switchable full-screen, droid font, and remapped keyboard.
Thanks again.

白い熊 2010-09-03 06:08

Re: GNU Emacs 24.0.50.1~bzr99756 for Nokia N900
 
Great, isn't it!

I use GNU Emacs on the N900 for almost everything.

I've developped the rudimentary frontend to phone functions, working quite well though, that let's you interface with BBDB, so, you have a BBDB database of all your contacts, and can call and send SMS, from it. It stores all the call info, when, what number, and SMS texts right in it... You have an incredible logging tool, which BTW, is superb, you just access any contact, and see when you called it, SMSed...

I've just compiled the current mpd with pulseaudio support for kumatux.org

Should post it soon. It enables you to use EMMS in Emacs, to play all the music, plus it meshes greatly, since it's pulseaudio - frontended, so that when you run navigation, or have an incoming call, the music pauses, everything works...

Plus obviously Gnus, you can do advanced work with email, RSS etc.

Superb!

ghsfan 2010-09-08 17:47

Re: GNU Emacs 24.0.50.1~bzr99756 for Nokia N900
 
That all sounds great, looking forward to it. Thanks.


All times are GMT. The time now is 17:45.

vBulletin® Version 3.8.8