Giter Club home page Giter Club logo

Comments (5)

gaschecher avatar gaschecher commented on May 17, 2024 3

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.

EluvK avatar EluvK commented on May 17, 2024 1

@horseinthesky

missing word_break_chars

Use cargo install jnv --locked would fix it. The promkit::text_editor::Renderer field is changed.

from jnv.

ynqa avatar ynqa commented on May 17, 2024

@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.

horseinthesky avatar horseinthesky commented on May 17, 2024

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.

horseinthesky avatar horseinthesky commented on May 17, 2024

Use cargo install jnv --locked would fix it.

Thank you. Installs fine.

from jnv.

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.