K framework installation repeatedly fails on MacBookPro 19 OS X Mojave 10.14.6

82 Views Asked by At

I am trying to install Kframework without success. I installed all the dependencies following instructions at https://github.com/kframework/k/tree/master#prerequisite-install-guide and updated the environment variables as suggested.

I have export PATH="~/z3-4.8.7-x64-osx-10.14.6/bin:$PATH" . I am running: brew uninstall kframework brew uninstall z3, and uninstall the version installed outside of brew brew clean && brew update && brew upgrade brew install z3 kframework

Brew install kframework produces the following warning about Command Line Tools: Warning: A newer Command Line Tools release is available. Update them from Software Update in System Preferences or run: softwareupdate --all --install --force

If that doesn't show you any updates, run: sudo rm -rf /Library/Developer/CommandLineTools sudo xcode-select --install

and eventually ends with

<<< ERROR! 143 org.kframework.utils.errorsystem.KEMException: [Error] Critical: Could not start z3 pr ocess (IOException: Cannot run program "z3": error=2, No such file or directory)(Even though my CLT are up to date and installed in the right place ).

  1. My CommanLineTools seem legit. I have Xcode Version 11.3.1 (11C505), and have installed CommanLineTools from a binary I downloaded from apple development site Command_Line_Tools_for_Xcode_11.3.1.dmg

Typing "xcode-select -p" gives /Library/Developer/CommandLineTools

  1. my z3 is : z3 -version Z3 version 4.8.7 - 64 bit (binary downloaded from z3 website) .

I tried this also with Z3 version 4.8.12

Any advice appreciated.

0

There are 0 best solutions below