MingW抱怨sed错误?

时间:2012-02-08 08:13:56

标签: gcc makefile mingw configure msys

我正在尝试在MingW环境中编译libnet,。/ configure是没有任何警告的确定,但是抱怨

$ make
sed: -e expression #1, char 15: unknown option to `s'
'case' is not recognized as an internal or external command,
operable program or batch file.
make: *** [all-recursive] Error 1
在使用make -d选项挖掘之后,我怀疑下面的行是问题所在,因为它包含的行让人抱怨

Invoking recipe from Makefile:289 to update target `all-recursive'.
Creating temporary batch file C:\Users\test\AppData\Local\Temp\make3836-1.bat
Batch file contents:
        @echo off
        set fnord $MAKEFLAGS; amf=$2; dot_seen=no; target=`echo all-recursive | sed s/-recursive//`; list='include src sample'; for subdir in $list; do   echo "Making $target in $subdir";   if test "$subdir" = "."; then     dot_seen=yes;     local_target="$target-am";   else     local_target="$target";   fi;   (cd $subdir && make  $local_target)    || case "$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; done; if test "$dot_seen" = "no"; then   make  "$target-am" || exit 1; fi; test -z "$fail"
CreateProcess(C:\Users\test\AppData\Local\Temp\make3836-1.bat,C:\Users\test\AppData\Local\Temp\make3836-1.bat,...)

可以伸手吗?

谢谢!

0 个答案:

没有答案