Comments (5)
Thanks for the reply!
In additional to your commands of installing automake, i had to install more to resolve subsequent errors.
So in total before i could get the cargo install jnv command to work i had to run all of:
sudo apt-get install build-essential autoconf automake libtool pkg-config
sudo apt-get install libonig-dev
sudo apt install libclang-dev
export LIBCLANG_PATH=/usr/lib/llvm-14/lib
from jnv.
missing
word_break_chars
Use cargo install jnv --locked
would fix it. The promkit::text_editor::Renderer
field is changed.
from jnv.
@gaschecher Thanks for your reporting! 👍
autoreconf: line 0: exec: autoreconf: not found
I completely overlooked it. There's a dependency on autoconf/automake for building j9
. I'll add this to the documentation later, but for now, please try reinstalling after installing automake.
For Ubuntu:
apt-get install automake
For MacOS:
brew install automake
I reproduced the same error at cargo install jnv
phase after removing automake/autoconf (though I couldn't reproduce it with brew...).
Note that installing automake will also install autoconf.
from jnv.
Not sure if I should open a new issue.
After I installed libclang-dev
instalation fails with
Compiling j9-sys v0.1.3
Compiling j9 v0.1.3
Compiling jnv v0.2.0
error[E0063]: missing field `word_break_chars` in initializer of `promkit::text_editor::Renderer`
--> /home/horseinthesky/.cargo/registry/src/index.crates.io-6f17d22bba15001f/jnv-0.2.0/src/jnv.rs:77:36
|
77 | query_editor_renderer: text_editor::Renderer {
| ^^^^^^^^^^^^^^^^^^^^^ missing `word_break_chars`
For more information about this error, try `rustc --explain E0063`.
error: could not compile `jnv` (bin "jnv") due to 1 previous error
error: failed to compile `jnv v0.2.0`, intermediate artifacts can be found at `/tmp/cargo-installbemFBn`.
To reuse those artifacts with a future compilation, set the environment variable `CARGO_TARGET_DIR` to that path.
I'm on Ubuntu 22.04.
from jnv.
Use
cargo install jnv --locked
would fix it.
Thank you. Installs fine.
from jnv.
Related Issues (20)
- Feature Request: Support JSON stream HOT 8
- Feature: Configure the highlighted 'current' line to NOT be at the top of the screen
- Add jnv to homebrew-core HOT 2
- Not running by default on AlmaLinux 8
- ENH: Support newline delimited JSON (ndjons/jsonl) HOT 7
- Colours are unreadable when used with a light terminal background. HOT 1
- It's a very cool tool, does it work on bash? or it depends on system(Linux/MacOS)? HOT 4
- blinking when using xterm -cm HOT 4
- jnv cannot trigger auto-completion while use array HOT 1
- feature request: Publish as a docker image HOT 5
- Releasing armv7 and arm64 binaries HOT 1
- Fails to execute jq query when the key starts with `@` symbol HOT 4
- Feature Request: configure keymap/colors
- How about replacement `jq` with `jaq`? HOT 5
- Feature Request: Copy current JSON displayed HOT 2
- ENH: Add `-s` slurp mode, turning json-lines into an array
- What terminal settings should you use?
- Specify default query
- Feature Request: Write the output to stdout
- [FR] Support for query history
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 jnv.