[etherlab-dev] Etherlab configure fails

Thomas Elste thomas.elste at imms.de
Tue Mar 9 12:48:16 CET 2010


Hi everyone,

I've tried to install Etherlab 1.3-r589 under Ubuntu 9.10 but
the configure script kept failing with the following error:

checking whether make sets $(MAKE)... yes
checking RTAI path... /usr/realtime
./configure: line 7056: syntax error near unexpected token `;;'
./configure: line 7056: `ac_tool_warned=yes ;;'

After poking around a bit I was able to fix this by changing
the part that reads out the ipipe configuration from kernel
config in configure.ac:

@@ -141,8 +141,7 @@ ipipe_conf=$(make -s -f - -I${linux_dir}
  include .config
  all:
  	@echo -n $(CONFIG_IPIPE)
-EOF
-)
+EOF)
  test "x${ipipe_conf}" == "xy" || \
      AC_MSG_ERROR(not configured)
  AC_MSG_RESULT(yes)

After running bootstrap the configure, make, make install
is working again.
Maybe this is a >=bash-4.0 problem. If someone else
encounters this, a patch is attached.


Regards
Thomas
-------------- next part --------------
A non-text attachment was scrubbed...
Name: configure_fix.patch
Type: application/octet-stream
Size: 371 bytes
Desc: not available
URL: <http://lists.etherlab.org/pipermail/etherlab-dev/attachments/20100309/ac8d67c0/attachment-0003.obj>


More information about the Etherlab-dev mailing list