emacs alternative?
I posted here before to say that emacs in OE doesn't build on my machine as the Makefile's being generated by autotools are being corrupted somehow. I've not been able to get to the bottom of it at all.
I thought I saw a post here recently that mentioned an embedded version of an emacs editor but can't find any such email. Maybe I imagined it. If anybody knows of the alternative which does build or perhaps knows why the Makefile's would be corrupted I'd be very glad to hear from you.
bitbake emacs gives me:
ERROR: Function do_compile failed
NOTE: Task failed: ('function do_compile failed', '/home/john/programming/openmoko/shr/shr-unstable/tmp/work/armv4t-oe-linux- gnueabi/emacs-22.3-r1/temp/log.do_compile.9130')
ERROR: Logfile of failure stored in: /home/john/programming/openmoko/shr/shr- unstable/tmp/work/armv4t-oe-linux-gnueabi/emacs-22.3- r1/temp/log.do_compile.9130
Log data follows:
| NOTE: make -j 4 QEMU=qemu-arm -s 1048576 -L /home/john/programming/openmoko/shr/shr-unstable/tmp/work/armv4t-oe-linux- gnueabi/emacs-22.3-r1/qemu-treedir
| cd lib-src; make all - --jobserver-fds=10,11 -j \
| CC='arm-oe-linux-gnueabi-gcc -march=armv4t -mtune=arm920t -mthumb-
interwork -mthumb' CFLAGS='-isystem/home/john/programming/openmoko/shr/shr- unstable/tmp/sysroots/armv4t-oe-linux-gnueabi/usr/include -fexpensive- optimizations -fomit-frame-pointer -frename-registers -Os' CPPFLAGS='- D_BSD_SOURCE -isystem/home/john/programming/openmoko/shr/shr- unstable/tmp/sysroots/armv4t-oe-linux-gnueabi/usr/include' \
| LDFLAGS='-Wl,-O1 -Wl,--hash-style=gnu -Wl,-znocombreloc' MAKE='make'
| make[1]: Entering directory `/home/john/programming/openmoko/shr/shr- unstable/tmp/work/armv4t-oe-linux-gnueabi/emacs-22.3-r1/emacs-22.3/lib-src' | Makefile:149: *** commands commence before first target. Stop. | make[1]: Leaving directory `/home/john/programming/openmoko/shr/shr- unstable/tmp/work/armv4t-oe-linux-gnueabi/emacs-22.3-r1/emacs-22.3/lib-src'
| make: *** [lib-src] Error 2 | FATAL: oe_runmake failed | ERROR: Function do_compile failed
NOTE: package emacs-22.3-r1: task do_compile: Failed
In the above output the emace-22.3 Makefile in /lib-src is failing at line 149. The Makefile at that line contains:
ALL_CFLAGS = -D_BSD_SOURCE -DHAVE_CONFIG_H
-I. -I../src -I${srcdir} -I${srcdir}/../src ${LDFLAGS} ${CPPFLAGS} ${CFLAGS}
That is there are two lines but there should only be one. For some reason the line is being split into two and make is interpreting the second line (149) starting with "-I" as a command. Like the error says Make don't expect this command before it's read a target for some sort. If I remove this error I'll just move on to the next error where a new line has been inserted. There's a few of them :-(
Quoted 3 lines · On Fri, Nov 05, 2010 at 07:35:25AM +0000, [email protected] wrote:
I posted here before to say that emacs in OE doesn't build on my machine as the Makefile's being generated by autotools are being corrupted somehow. I've not been able to get to the bottom of it at all.
http://article.gmane.org/gmane.comp.handhelds.shr.devel/3131/match=mg
and
emacs-x11_23.1.bb builds in SHR feeds just fine (so you can look there for patches needed by emacs_22.3 - probably emacs-x11-23.1/configure.in.lost.backslashes.patch).
Regards,
Signature · 1 line
Martin 'JaMa' Jansa jabber: [email protected]
Quoted 7 lines · On Friday 05 November 2010 07:44:09 Martin Jansa wrote:
Quoted 3 lines · On Fri, Nov 05, 2010 at 07:35:25AM +0000, [email protected] wrote:
I posted here before to say that emacs in OE doesn't build on my machine as the Makefile's being generated by autotools are being corrupted somehow. I've not been able to get to the bottom of it at all.
http://article.gmane.org/gmane.comp.handhelds.shr.devel/3131/match=mg
Quoted 7 lines
and
emacs-x11_23.1.bb builds in SHR feeds just fine (so you can look there for patches needed by emacs_22.3 - probably
emacs-x11-23.1/configure.in.lost.backslashes.patch).Regards,
Thanks for that I was trying to build the plain emacs without x and having those problems. x11 version does work so thanks for the pointer.
On 11/5/2010 2:35 AM, [email protected] wrote:
...
Quoted 4 lines
I thought I saw a post here recently that mentioned an embedded version of an emacs editor but can't find any such email. Maybe I imagined it. If anybody knows of the alternative which does build or perhaps knows why the Makefile's would be corrupted I'd be very glad to hear from you.
If all you need is a text-based emacs-like editor that works on small embedded devices, build "joe".
-Mike (mwester)