cesanta / homebrew-mos

6 stars 3 forks source link

Mojave 10.14.2 brew install Issue #4

Closed jjlytle closed 5 years ago

jjlytle commented 5 years ago
βžœπŸ’€  ~ brew install mos
==> Installing mos from cesanta/mos
==> Downloading https://github.com/cesanta/mos-tool/archive/750dcb69660fd2e9ab9e31a7934f56fc9b8fa505.tar.gz
Already downloaded: /Users/jeffreylytle/Library/Caches/Homebrew/downloads/941d7cdedaef34ea6dd27e26093c0f17dc179958ff5892bbdcc0a10247bbf314--mos-tool-750dcb69660fd2e9ab9e31a7934f56fc9b8fa505.tar.gz
==> govendor sync
==> make generate
==> go build -o /usr/local/Cellar/mos/2.9.0/bin/mos
Last 15 lines from /Users/jeffreylytle/Library/Logs/Homebrew/mos/03.go:
go
build
-o
/usr/local/Cellar/mos/2.9.0/bin/mos

# cesanta.com/vendor/github.com/zserge/webview
In file included from ../vendor/github.com/zserge/webview/webview.go:27:
In file included from ./webview.h:78:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CoreGraphics.h:8:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGBase.h:12:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFBase.h:72:
/usr/local/include/Block.h:16:3: error: Never include this file directly. Use <lzma.h> instead.
#       error Never include this file directly. Use <lzma.h> instead.
        ^
1 error generated.

If reporting this issue please do so at (not Homebrew/brew or Homebrew/core):
https://github.com/cesanta/homebrew-mos/issues

βžœπŸ’€  ~ mos
zsh: command not found: mos
agisofttm commented 5 years ago

I've different problem as well

wiki:~ vladimirtodorov$ brew install mos ==> Installing mos from cesanta/mos ==> Downloading https://github.com/cesanta/mos-tool/archive/750dcb69660fd2e9ab9e31a7934f56fc9b8fa505.tar.gz Already downloaded: /Users/vladimirtodorov/Library/Caches/Homebrew/downloads/941d7cdedaef34ea6dd27e26093c0f17dc179958ff5892bbdcc0a10247bbf314--mos-tool-750dcb69660fd2e9ab9e31a7934f56fc9b8fa505.tar.gz ==> govendor sync ==> make generate ==> go build -o /usr/local/Cellar/mos/2.9.0/bin/mos Last 15 lines from /Users/vladimirtodorov/Library/Logs/Homebrew/mos/03.go: build -o /usr/local/Cellar/mos/2.9.0/bin/mos

pkg-config --cflags -- libusb-1.0

Package libusb-1.0 was not found in the pkg-config search path. Perhaps you should add the directory containing `libusb-1.0.pc' to the PKG_CONFIG_PATH environment variable No package 'libusb-1.0' found pkg-config: exit status 1

cesanta.com/mos/flash/cc3200

flash/cc3200/ftdi_darwin.go:8:10: fatal error: 'ftdi.h' file not found

include

     ^~~~~~~~

1 error generated.

If reporting this issue please do so at (not Homebrew/brew or Homebrew/core): https://github.com/cesanta/homebrew-mos/issues

rojer commented 5 years ago

our build machine has been upgraded to 10.14 and mos builds just fine on it. not sure what else i can do.

rojer commented 5 years ago

@agisofttm does it help if you run brew install coreutils libftdi libusb-compat pkg-config? we specify all these as build deps, but who knows.

rojer commented 5 years ago

we now provide bottles for Mojave, so build should no longer be an issue (and install should be faster).

agisofttm commented 5 years ago

Sorry for delay - thanks - i'll test πŸ‘