michaelballantyne / homebrew-chez

Homebrew tap for installing Chez Scheme (https://github.com/cisco/chezscheme)
14 stars 1 forks source link

Installation failed with this error #1

Open bstarcev opened 7 years ago

bstarcev commented 7 years ago

While installing I got this error: ==> make install InstallSchemeName=chez Last 15 lines from /Users/borislavstarcevic/Library/Logs/Homebrew/chez-scheme/02.make: dyld: Symbol not found: _clock_gettime Referenced from: /private/tmp/chez-scheme-20170324-54722-18teeyc/ta6osx/s/../bin/ta6osx/scheme Expected in: /usr/lib/libSystem.B.dylib

/bin/sh: line 1: 56676 Done echo '(reset-handler abort)' '(base-exception-handler (lambda (c) (fresh-line) (display-condition c) (newline) (reset)))' '(keyboard-interrupt-handler (lambda () (display "interrupted---aborting\n") (reset)))' '(optimize-level 3)' '(debug-level 0)' '(generate-inspector-information #f)' '(collect-trip-bytes (expt 2 24))' '(collect-request-handler (lambda () (collect 0 1)))' '(collect 1 2)' '(compile-library "../nanopass/nanopass.ss" "nanopass.so")' 56678 Trace/BPT trap: 5 | ../bin/ta6osx/scheme -q --libdirs "../nanopass::." --compile-imported-libraries make[4]: [nanopass.so] Error 133 make[4]: Waiting for unfinished jobs.... /bin/sh: line 1: 56675 Done echo '(reset-handler abort)' '(base-exception-handler (lambda (c) (fresh-line) (display-condition c) (newline) (reset)))' '(keyboard-interrupt-handler (lambda () (display "interrupted---aborting\n") (reset)))' '(optimize-level 3)' '(debug-level 0)' '(generate-inspector-information #f)' '(subset-mode (quote system))' '(compile-file "cmacros.ss" "cmacros.so")' 56677 Trace/BPT trap: 5 | ../bin/ta6osx/scheme -q make[4]: [cmacros.so] Error 133 make[3]: [allx] Error 2 make[2]: [bootstrap] Error 2 make[1]: [build] Error 2 make: *** [install] Error 2

Mac OSX 10.11.6 Xcode version 8.2

michaelballantyne commented 7 years ago

Still works for me, but I'm way back on 10.9.5. I don't have a machine with a newer OS X, so unfortunately I can't debug this issue. Happy to accept a pull request if you figure it out, though!

michaelballantyne commented 7 years ago

Other projects with the same error have tickets about it: https://github.com/rvm/rvm/issues/3744

It looks like you might just need to make sure you have the XCode command-line tools installed with:

xcode-select --install