fairyglade / ly

display manager with console UI
Do What The F*ck You Want To Public License
5.48k stars 306 forks source link

ly not compiling in gentoo (openrc) #365

Closed FordJ2 closed 2 years ago

FordJ2 commented 2 years ago

i created a fresh install of gentoo and wanted to install ly on it bc ly is pretty based. i have installed ly on arch in the past, but have always used a different dm for my previous gentoo installs. im not too sure what to do :/

system information:

$ uname -srm
Linux 5.15.32-gentoo-r1-x86_64 x86_64
$ eselect profile list
Available profile symlink targets:
  [1]   default/linux/amd64/17.1 (stable) *
  [2]   default/linux/amd64/17.1/selinux (stable)
  [3]   default/linux/amd64/17.1/hardened (stable)
  [4]   default/linux/amd64/17.1/hardened/selinux (stable)
  [5]   default/linux/amd64/17.1/desktop (stable)
  [6]   default/linux/amd64/17.1/desktop/gnome (stable)
  [7]   default/linux/amd64/17.1/desktop/gnome/systemd (stable)
  [8]   default/linux/amd64/17.1/desktop/plasma (stable)
  [9]   default/linux/amd64/17.1/desktop/plasma/systemd (stable)
  [10]  default/linux/amd64/17.1/desktop/systemd (stable)
...
$ neofetch --stdout
root@gentoo 
----------- 
OS: Gentoo/Linux x86_64 
Kernel: 5.15.32-gentoo-r1-x86_64 
Shell: bash 5.1.16 
Resolution: 2560x1440 
Terminal: /dev/pts/0 
CPU: AMD Ryzen 5 2600 (12) @ 3.400GHz 
GPU: NVIDIA GeForce GTX 970 
Memory: 175MiB / 32038MiB 

commands used:

$ git clone https://github.com/fairyglade/ly
$ cd ly
$ make
building object obj/src/main.o
src/main.c:1:10: fatal error: argoat.h: No such file or directory
    1 | #include "argoat.h"
      |          ^~~~~~~~~~
compilation terminated.
make: *** [makefile:52: obj/src/main.o] Error 1

would switching to a */desktop profile fix anything?

AnErrupTion commented 2 years ago

@wncry You need to clone with --recurse-submodules, e.g.: git clone --recurse-submodules https://github.com/fairyglade/ly

FordJ2 commented 2 years ago

ah, thank you!