Компиляция Гатлинга не удалась - PullRequest
0 голосов
/ 04 мая 2018

Я пытаюсь собрать https://github.com/gatling/gatling, но компиляция не удалась. Шаги, которые я предпринял:

  1. Установлен sbt с использованием документации .
  2. Клонирование проекта github .
  3. Выполнить sbt compile в каталоге gatling.

Я получаю следующую ошибку:

[error] /home/groot/gatling/gatling-commons/src/main/scala/io/gatling

/commons/util/Arrays.scala:36:32: macro implementation not found: cfor
[error] (the most common reason for that is that you cannot use macro implementations in the same compilation run that defines them)
[error]     cfor(length)(_ > 1, _ - 1) { i =>
[error]                                ^
[error] /home/groot/gatling/gatling-commons/src/main/scala/io/gatling/commons/util/StringHelper.scala:40:23: macro implementation not found: fast
[error] (the most common reason for that is that you cannot use macro implementations in the same compilation run that defines them)
[error]   val EmptyFastring = fast""
[error]                       ^
[error] /home/groot/gatling/gatling-commons/src/main/scala/io/gatling/commons/validation/package.scala:38:20: macro implementation not found: info
[error] (the most common reason for that is that you cannot use macro implementations in the same compilation run that defines them)
[error]         logger.info(message, e)
[error]                    ^
[error] three errors found
[error] (gatling-commons / Compile / compileIncremental) Compilation failed
[error] Total time: 10 s, completed May 4, 2018, 11:30:14 AM

Я не знаю достаточно scala для отладки, как я могу это исправить?

1 Ответ

0 голосов
/ 04 мая 2018

Я выполнил как sudo (sudo sbt compile), и теперь компиляция прошла успешно.

...