Сборка M4 в Git для Windows sh - PullRequest
       75

Сборка M4 в Git для Windows sh

0 голосов
/ 21 декабря 2018

У меня буквально нет понятия, из какого файла исходит эта ошибка в строке 213?Есть сценарий sh, на который я должен смотреть ???Что такое файл math.ht?Я пытаюсь собрать M4 на Git для Windows, используя make, и я получаю эту ошибку.Я смог собрать intltools с make из Chocolatey, так что не знаете, в чем проблема?

/usr/bin/sh: -c: line 213: unexpected EOF while looking for matching `''
/usr/bin/sh: -c: line 214: syntax error: unexpected end of file

m4-1.4.17$ make
C:/ProgramData/chocolatey/lib/make/tools/install/bin/make  all-recursive
make[1]: Entering directory 'C:/Users/bjwil/downloads/m4-latest.tar/m4-1.4.17'
Making all in .
make[2]: Entering directory 'C:/Users/bjwil/downloads/m4-latest.tar/m4-1.4.17'
make[2]: Nothing to be done for 'all-am'.
make[2]: Leaving directory 'C:/Users/bjwil/downloads/m4-latest.tar/m4-1.4.17'
Making all in examples
make[2]: Entering directory 'C:/Users/bjwil/downloads/m4-latest.tar/m4-1.4.17/examples'
make[2]: Nothing to be done for 'all'.
make[2]: Leaving directory 'C:/Users/bjwil/downloads/m4-latest.tar/m4-1.4.17/examples'
Making all in lib
make[2]: Entering directory 'C:/Users/bjwil/downloads/m4-latest.tar/m4-1.4.17/lib'
rm -f math.h-t math.h && \
{ echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
  sed -e 's|@''GUARD_PREFIX''@|GL_M4|g' \
      -e 's|@''INCLUDE_NEXT_AS_FIRST_DIRECTIVE''@|include_next|g' \
      -e 's|@''PRAGMA_SYSTEM_HEADER''@|#pragma GCC system_header|g' \
      -e 's|@''PRAGMA_COLUMNS''@||g' \
      -e 's|@''NEXT_AS_FIRST_DIRECTIVE_MATH_H''@|<math.h>|g' \
      -e 's/@''GNULIB_ACOSF''@/0/g' \
      ...
      -e 's|@''REPLACE_SIGNBIT''@|0|g' \
      -e 's|@''REPLACE_SIGNBIT_USING_GCC''@|1|g' \
      -e 's|@''REPLACE_SQRTL''@|0|g' \
      -e 's|@''REPLACE_TRUNC''@|0|g' \
      -e 's|@''REPLACE_TRUNCF''@|0|g' \
      -e 's|@''REPLACE_TRUNCL''@|0|g' \
      -e '/definitions of _GL_FUNCDECL_RPL/r c++defs.h' \
      -e '/definition of _GL_ARG_NONNULL/r arg-nonnull.h' \
      -e '/definition of _GL_WARN_ON_USE/r warn-on-use.h'; \
} > math.h-t && \
mv math.h-t math.h
/usr/bin/sh: -c: line 213: unexpected EOF while looking for matching `''
/usr/bin/sh: -c: line 214: syntax error: unexpected end of file
make[2]: *** [Makefile:2308: math.h] Error 1
make[2]: Leaving directory 'C:/Users/bjwil/downloads/m4-latest.tar/m4-1.4.17/lib'
make[1]: *** [Makefile:1506: all-recursive] Error 1
make[1]: Leaving directory 'C:/Users/bjwil/downloads/m4-latest.tar/m4-1.4.17'
make: *** [Makefile:1461: all] Error 2
...