Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Illegal Instruction during install-script #32

Closed
nicklee1990 opened this issue Feb 4, 2018 · 4 comments
Closed

Illegal Instruction during install-script #32

nicklee1990 opened this issue Feb 4, 2018 · 4 comments

Comments

@nicklee1990
Copy link

nicklee1990 commented Feb 4, 2018

OS: OSX High Sierra - 10.13.3
Whilst running the install-script, I encountered the following error:

21171 Illegal instruction: 4 src/bison --version > doc/bison.help.tmp as well as several messages saying XXXX has no symbols

It looks as though this might be a known issue with bison on OSX 10.13. I've tried searching for workarounds but haven't been able to find any so far.

Are there any suggestions for a way round this? I've not got a C++ background so I'm a little bit in the dark on this. I'm only trying to build this as it's required for the Java demo app. Perhaps a Docker container with all the deps pre-installed would be useful here?

Detailed output:

...similar statements
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: lib/libbison.a(unistd.o) has no symbols
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: lib/libbison.a(wctype-h.o) has no symbols
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: lib/libbison.a(xsize.o) has no symbols
  CCLD     src/bison
  GEN      doc/bison.help
/bin/sh: line 1: 21171 Illegal instruction: 4  src/bison --version > doc/bison.help.tmp
make[2]: *** [doc/bison.help] Error 132
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2
@nicklee1990
Copy link
Author

I got past this by just commenting out the bison installation in the install-script after the initial fail since it did actually download bison, but that's not a great workaround!

@unicornss
Copy link
Contributor

Glad you were able to resolve it.
Thanks for the note on install-script.. and we will check and resolve if it still exists in the High Sierra. Thanks -SS

@andreabedini
Copy link

I have the same issue but I got away using brew and the minimal installer script min-install-script

  1. $ brew install cmake gstreamer gst-plugins-good # something else might be needed
  2. $ ./min-install-script
  3. profit

@unicornss
Copy link
Contributor

We will add brew install instructions separately (apart from the full install-script).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants