Comments (8)
I'd be happy to include this as part of the README.md
, could you create such a PR?
from cargo-spellcheck.
No it errors out:
error: failed to run custom build command for `hunspell-sys v0.3.1`
Caused by:
process didn't exit successfully: `/var/folders/0n/fkgm548x15q996h51xlpc2rh0000gn/T/cargo-install78RxcC/release/build/hunspell-sys-577c44aadb168bc2/build-script-build` (signal: 6, SIGABRT: process abort signal)
--- stderr
dyld[74671]: Library not loaded: @rpath/libclang.dylib
Referenced from: <0A527F70-81F5-3FEF-B909-A98787A7F277> /private/var/folders/0n/fkgm548x15q996h51xlpc2rh0000gn/T/cargo-install78RxcC/release/build/hunspell-sys-577c44aadb168bc2/build-script-build
Reason: tried: '/var/folders/0n/fkgm548x15q996h51xlpc2rh0000gn/T/cargo-install78RxcC/release/deps/libclang.dylib' (no such file), '/var/folders/0n/fkgm548x15q996h51xlpc2rh0000gn/T/cargo-install78RxcC/release/libclang.dylib' (no such file), '/opt/homebrew/Cellar/rust/1.76.0/lib/rustlib/aarch64-apple-darwin/lib/libclang.dylib' (no such file), '/Applications/Xcode.app/Contents/Developer/usr/lib/libclang.dylib' (no such file)
warning: build failed, waiting for other jobs to finish...
error: failed to compile `cargo-spellcheck v0.13.2`, intermediate artifacts can be found at `/var/folders/0n/fkgm548x15q996h51xlpc2rh0000gn/T/cargo-install78RxcC`.
from cargo-spellcheck.
I'm on OS X Ventura (13.4) and setting the following environment variable as @jgrund stated worked for me:
export DYLD_FALLBACK_LIBRARY_PATH="$(xcode-select --print-path)/usr/lib"
from cargo-spellcheck.
On MacOS 14.2, I needed to do the following:
export DYLD_FALLBACK_LIBRARY_PATH="$(xcode-select --print-path)/usr/lib" && cargo install --locked cargo-spellcheck
from cargo-spellcheck.
@Owen-CH-Leung which OS X version did you test your instructions with?
@jgrund I am curious how your setup differs from @Owen-CH-Leung 's
from cargo-spellcheck.
I tested the instructions with macOs Sonoma 14.1.1
from cargo-spellcheck.
I tested the instructions with macOs Sonoma 14.1.1
Do @jgrund's instruction work there too?
from cargo-spellcheck.
@jgrund could you create PR making it per OS X version?
from cargo-spellcheck.
Related Issues (20)
- Spurious "Unexpected item made it into the items" warnings HOT 4
- Word "C++" is tokenized incorrectly and can not be whitelisted HOT 3
- Handle mdbook `book.toml`
- reflow sub command transposes `//` and leading space HOT 7
- Panic hunspell returned non-utf8 sequence HOT 7
- hunspell stumbles over copyright symbol HOT 5
- Broader CI/Docker usage support HOT 6
- How to ignore files HOT 7
- Build failure due to clang HOT 6
- How to add words? HOT 2
- Is there way to skip over doc links in comments? HOT 2
- Interactive fixing seems buggy HOT 3
- Support cargo-binstall HOT 9
- Reduce release artefact download size HOT 2
- Spellcheck doesn't list files when edition is inherited HOT 3
- Adding a footnote gives false positives HOT 2
- Is there a way to ignore commented out code? HOT 2
- Help identifying panic: `assertion failed: plain_range.start <= plain_range.end` HOT 15
- Non determinism with hunspell backend
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cargo-spellcheck.