jmacdonald / amp

A complete text editor for your terminal.
https://amp.rs
Other
3.68k stars 105 forks source link

Building fails on Fedora 34 #227

Closed Serif-7 closed 3 years ago

Serif-7 commented 3 years ago

This is my first time trying this software. I installed rust and cargo, plus all dependencies, via dnf, and followed the install instructions exactly. Building failed with the following error codes:

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

error: linking with cc failed: exit code: 1

These seemed to be the most relevant parts of the message. They were in huge blocks of unreadable mess that I couldn't make sense of.

Thanks in advance for any help you might have. I use cargo very rarely.

oldaccountdeadname commented 3 years ago

You need to install the xcb dev package. I don't have fedora installed atm, but I believe it's dnf install xcb-util-devel

Serif-7 commented 3 years ago

You need to install the xcb dev package. I don't have fedora installed atm, but I believe it's dnf install xcb-util-devel

That worked. Thank you.