GithubHelp home page GithubHelp logo

Fedora 36 about amp HOT 5 CLOSED

AstroMoon avatar AstroMoon commented on June 2, 2024
Fedora 36

from amp.

Comments (5)

AstroMoon avatar AstroMoon commented on June 2, 2024 1

edit:
got it going in all shells,
thx again!

from amp.

oldaccountdeadname avatar oldaccountdeadname commented on June 2, 2024

Are there any other debug logs present? I.e., the output of cargo build on stderr?

My suspicion (off of no evidence :)) is that you're missing libxcb. You might want to try verifying that it's installed. See https://amp.rs/docs/installation/.

from amp.

AstroMoon avatar AstroMoon commented on June 2, 2024

Thanks for the reply! I am a "Windows refugee" with about six months of distro-hopping to settle on Fedora because of stability and the fact that this distro "just works". While I don't consider myself a newbie, there are many things that I don't know (yet), however, I am very comfortable in the terminal. In the cargo/rust ecosystem, how would I go about checking the debug logs and status of libxcb? I checked all the dependencies and revisited the installation process. Now I see this:

= note: /usr/bin/ld: cannot find -lxcb
    collect2: error: ld returned 1 exit status

error: could not compile amp due to previous error
error: failed to compile amp v0.6.2, intermediate artifacts can be found at /tmp/cargo-install7reBB4

from amp.

oldaccountdeadname avatar oldaccountdeadname commented on June 2, 2024

how would I go about checking the debug logs and status of libxcb?

What shows up when you cargo build or cargo install? It looks like you got it, though:

= note: /usr/bin/ld: cannot find -lxcb
    collect2: error: ld returned 1 exit status

The above is an indication that the build system isn't able to link with libXcb (which amp requires so that copying/pasting uses the system's clipboard). If I'm remembering Fedora right, I'd guess that dnf install libxcb-devel and a retry at compiling would fix it. Have you done that/does it help any?

from amp.

AstroMoon avatar AstroMoon commented on June 2, 2024

wow!
Thanks, after running the 'libxcb' script, it runs.
New issue: works in BASH but not ZSH or FISH (?)

from amp.

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.