[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-devel] tools: ocaml build error
On Wed, 2011-05-11 at 10:48 +0100, Christoph Egger wrote: > Hi, > > Compiling the ocaml fails: > > Parsing tools/ocaml/libs/xl/../../../../tools/libxl/libxl.idl > sed: 1: "1i(*\ > * AUTO-GENERATED ...": command i expects \ followed by test > gmake[7]: Leaving directory `tools/ocaml/libs/xl' I guess the sed script in tools/ocaml/libs/xl/Makefile has some non-posix-ism in it. Using gnu sed with --posix the following works for me (I dropped the --posix). Does it help ? diff -r 72bba600f23b tools/ocaml/libs/xl/Makefile --- a/tools/ocaml/libs/xl/Makefile Fri May 06 13:51:13 2011 +0100 +++ b/tools/ocaml/libs/xl/Makefile Wed May 11 11:15:50 2011 +0100 @@ -24,7 +24,7 @@ GENERATED_FILES += _libxl_types.inc all: $(INTF) $(LIBS) xl.ml: xl.ml.in _libxl_types.ml.in - $(Q)sed -e '1i(*\ + $(Q)sed -e '1i\(*\ * AUTO-GENERATED FILE DO NOT EDIT\ * Generated from xl.ml.in and _libxl_types.ml.in\ *)\ @@ -33,7 +33,7 @@ xl.ml: xl.ml.in _libxl_types.ml.in < xl.ml.in > xl.ml xl.mli: xl.mli.in _libxl_types.mli.in - $(Q)sed -e '1i(*\ + $(Q)sed -e '1i\(*\ * AUTO-GENERATED FILE DO NOT EDIT\ * Generated from xl.mli.in and _libxl_types.mli.in\ *)\ _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |