cuter-testing/cuter

Refactor Installation

Opened this issue · 4 comments

  • Fetch z3 and protoc automatically.
  • Be able to compile cuter without proper / meck.

Current master doesn't compile. Is this related to the refactoring?

cuter git:(master) ✗ make
ERLC src/cuter_serial.erl
src/cuter_serial.erl:366: field typedefs undefined in record 'Spec'
src/cuter_serial.erl:365: variable 'Ts' is unused
Makefile:168: recipe for target 'ebin/cuter_serial.beam' failed
make: *** [ebin/cuter_serial.beam] Error 1

AFAIK, CutEr master compiles fine. It's just that CutEr has never been a system that one issued make and everything was built. You need to follow the sequence of steps described in the README.

If you still encounter problems, please supply a complete report of showing your platform, the sequence of commands that you execute starting from the git clone and where it fails.

Apologies for being unclear. Yes, CutEr master compiles fine as a fresh clone.
My updated local repo did not after I pulled updates. I'll just switch to a fresh clone then.

Thanks for your help, @kostis.

Just in case my previous comment was not 100% clear, even after a git pull your updated local repo should also compile fine. But you still need to follow the sequence of commands autoconf; ./configure ...; make depend; make described in the README. It's often not enough to issue a simple make.