GithubHelp home page GithubHelp logo

Build fails on MacOS about openocd HOT 6 CLOSED

raspberrypi avatar raspberrypi commented on August 16, 2024
Build fails on MacOS

from openocd.

Comments (6)

aallan avatar aallan commented on August 16, 2024 1

Just made a quick note of this, it'll be in the next docs update. Thanks.

from openocd.

Kristine1975 avatar Kristine1975 commented on August 16, 2024

I had that error, too. It means the installed version of texinfo is too old. This solved the problem for me:

  1. Install a newer texinfo, e.g. using Homebrew: brew install texinfo.
  2. Export the path to the updated texinfo like so:
    • on M1 Macs: export PATH="/opt/homebrew/opt/texinfo/bin:$PATH"
    • on non-M1 Mac's: export PATH="/usr/local/opt/texinfo/bin:$PATH"
  3. Run the build by calling make.

from openocd.

odaki avatar odaki commented on August 16, 2024

For your reference.
When I installed texinfo in brew, it did not create symlink, so it was not used.
I solved this problem by using "brew link texinfo --force" to create symlink.
By the way, the installation binary path for Homebrew for M1 Mac is /opt/homebrew/bin.
Thank you.

from openocd.

dancesWithMachines avatar dancesWithMachines commented on August 16, 2024

Just made a quick note of this, it'll be in the next docs update. Thanks.

I encountered the same issue, related to the wrong path beeing exported, and I spend too much time investigating what was going to be a trivial thing. Please include both paths in the docs, I shouldn't have waste time, looking through github issues for solution.

from openocd.

lurch avatar lurch commented on August 16, 2024

I don't have a M1 Mac myself, but I guess we ought to expand the footnote here:
Screenshot from 2022-09-23 16-58-58

to mention that a different path needs to be added to PATH on Apple Silicon Macs?
ping @aallan

from openocd.

dancesWithMachines avatar dancesWithMachines commented on August 16, 2024

I don't have a M1 Mac myself, but I guess we ought to expand the footnote here

I think this would be sufficient.

to mention that a different path needs to be added to PATH on Apple Silicon Macs?

From my point of view, I think the both paths should be included. The question of how this will be done is of secondary importance.

from openocd.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.