All of lore.kernel.org
 help / color / mirror / Atom feed
* emacs alternative?
@ 2010-11-05  7:35 captain.deadly
  2010-11-05  7:44 ` Martin Jansa
  2010-11-05 13:08 ` Mike Westerhof
  0 siblings, 2 replies; 4+ messages in thread
From: captain.deadly @ 2010-11-05  7:35 UTC (permalink / raw)
  To: openembedded-devel

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 :-(





^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: emacs alternative?
  2010-11-05  7:35 emacs alternative? captain.deadly
@ 2010-11-05  7:44 ` Martin Jansa
  2010-11-05  9:05   ` captain.deadly
  2010-11-05 13:08 ` Mike Westerhof
  1 sibling, 1 reply; 4+ messages in thread
From: Martin Jansa @ 2010-11-05  7:44 UTC (permalink / raw)
  To: openembedded-devel

On Fri, Nov 05, 2010 at 07:35:25AM +0000, captain.deadly@gmail.com 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,

-- 
Martin 'JaMa' Jansa     jabber: Martin.Jansa@gmail.com



^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: emacs alternative?
  2010-11-05  7:44 ` Martin Jansa
@ 2010-11-05  9:05   ` captain.deadly
  0 siblings, 0 replies; 4+ messages in thread
From: captain.deadly @ 2010-11-05  9:05 UTC (permalink / raw)
  To: openembedded-devel

On Friday 05 November 2010 07:44:09 Martin Jansa wrote:
> On Fri, Nov 05, 2010 at 07:35:25AM +0000, captain.deadly@gmail.com 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,

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.



^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: emacs alternative?
  2010-11-05  7:35 emacs alternative? captain.deadly
  2010-11-05  7:44 ` Martin Jansa
@ 2010-11-05 13:08 ` Mike Westerhof
  1 sibling, 0 replies; 4+ messages in thread
From: Mike Westerhof @ 2010-11-05 13:08 UTC (permalink / raw)
  To: openembedded-devel

On 11/5/2010 2:35 AM, captain.deadly@gmail.com wrote:
...
> 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)



^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2010-11-05 13:10 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-11-05  7:35 emacs alternative? captain.deadly
2010-11-05  7:44 ` Martin Jansa
2010-11-05  9:05   ` captain.deadly
2010-11-05 13:08 ` Mike Westerhof

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.