Build problems on Ubuntu 8.04

Alan Bateman Alan.Bateman at Sun.COM
Mon Apr 21 13:46:38 UTC 2008


Roman Kennke wrote:
> Hi there,
>
> I've just setup a box with the soon-to-be-released Ubuntu 8.04, and see
> a number of problems:
>
> :
>
> Major:
> Compilation of the NIO classes fails, it looks like the generation of a
> couple of source files does not work correctly. Probably this is also a
> problem with missing tools, but I can't figure out what it could be.
> Telling from the genCoder.sh script, this would be sed and awk, but both
> are installed. See javac error below. Any ideas on this one?
>   
This came up recently and is tracked by 6681798. On Ubuntu sh -> dash 
and with 8.04 it appears that the updated version causes a problem for 
the sed based preprocessor that is invoked to replace tokens when 
generating the classes. If you're looking for a quick workaround then 
you can change your /bin/sh to be bash or change the Makefile to invoke 
ssp.sh with /bin/bash or another shell.

-Alan.



More information about the build-dev mailing list