daa84 / neovim-gtk

gtk ui for neovim
GNU General Public License v3.0
716 stars 57 forks source link

Consider adding a list of prerequisite packages #194

Closed filmil closed 5 years ago

filmil commented 5 years ago

make install gives me the following after a while, on ubuntu:

(...snipped...)
/rustlib/x86_64-unknown-linux-gnu/lib/libcore-08e0675cab0aedce.rlib" "-Wl,--end-group" "/usr/local/google/home/fmil/local/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcompiler_builtins-ccce53ba085ea72e.rlib" "-Wl,-Bdynamic" "-lgtk-3" "-lgdk-3" "-latk-1.0" "-lgdk-3" "-lgdk_pixbuf-2.0" "-lgio-2.0" "-lpangocairo-1.0" "-lcairo" "-lcairo-gobject" "-lpango-1.0" "-lgobject-2.0" "-lglib-2.0" "-lgobject-2.0" "-lutil" "-lutil" "-ldl" "-lrt" "-lpthread" "-lgcc_s" "-lc" "-lm" "-lrt" "-lpthread" "-lutil" "-lutil"
  = note: /usr/bin/ld: cannot find -lgtk-3
          /usr/bin/ld: cannot find -lgdk-3
          /usr/bin/ld: cannot find -latk-1.0
          /usr/bin/ld: cannot find -lgdk-3
          /usr/bin/ld: cannot find -lgdk_pixbuf-2.0
          /usr/bin/ld: cannot find -lgio-2.0
          /usr/bin/ld: cannot find -lpangocairo-1.0
          /usr/bin/ld: cannot find -lcairo
          /usr/bin/ld: cannot find -lcairo-gobject
          /usr/bin/ld: cannot find -lpango-1.0
          /usr/bin/ld: cannot find -lgobject-2.0
          /usr/bin/ld: cannot find -lglib-2.0
          /usr/bin/ld: cannot find -lgobject-2.0
          collect2: error: ld returned 1 exit status

Consider listing the -dev packages needed for the thing to compile.

filmil commented 5 years ago

Apologies, I now see that the instructions are at the bottom of the README.md file. If I may suggest, please move the prerequisites up, so that if someone is following instructions they can start from zero and get an installed editor, instead of getting stuck at errors.