Re: [jasspa] Build failure on Linux 3.0
- View SourceHi Ulrich,
Thanks for this. Sorry you had to do this.
Not being on the leading edge then not encountered Linux 3 yet, all been Linux 2.x systems.
As for auto tools then this has simply been a lack of time to invest in doing the work.
Thanks for your time here, we will try and get a patch out.
On 19 Aug 2011, at 11:59, Ulrich Mueller <ulm@...> wrote:
> I've noticed that building of Jasspa Microemacs (October 2009 version)
> fails with the Linux 3.0 kernel.
> The problem is due to the new numbering scheme of Linux, which is not
> properly recognised by src/build:
> elif [ $PLATFORM = "Linux" ] ; then
> MACHINE=`uname -m | cut -c 1-3`
> if [ $MACHINE = "arm" ] ; then
> KERNEL_MAJOR=`uname -r | cut -c 1-1`
> KERNEL_MINOR=`uname -r | cut -c 3-3`
> if [ ! -r $MAKEBAS.gmk ] ; then
> The code will look for linux30.gmk which does not exist, and then fall
> back to linux2 (which subsequently fails because it tries linking
> against termcap instead of ncurses).
> As a workaround when packaging Jasspa Microemacs for Gentoo Linux,
> I've hardcoded linux26, see the following patch:
> Maybe in the general case a more elaborate solution is called for.
> BTW, have you ever considered changing the build system to something
> more modern (like Autotools or CMake)?
> This is an unmoderated list, but new members are moderated to ensure that there are no spam users. JASSPA is not responsible for the content of
> any material posted to this list.
> To un-subscribe, send a mail message to
> or visit http://groups.yahoo.com/group/jasspa and
> modify your account settings manually.
> Yahoo! Groups Links