Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Failed to enable unit: Unit file joycond.service does not exist #147

Open
J-H-Freedman opened this issue Sep 7, 2024 · 2 comments
Open

Comments

@J-H-Freedman
Copy link

J-H-Freedman commented Sep 7, 2024

Off a fresh install, it does not produce joycond.service

a@pop-os:~$ sudo rm -r joycond/
a@pop-os:~$ sudo git clone https://github.com/DanielOgorchock/joycond.git
Cloning into 'joycond'...
remote: Enumerating objects: 586, done.
remote: Counting objects: 100% (55/55), done.
remote: Compressing objects: 100% (28/28), done.
remote: Total 586 (delta 31), reused 32 (delta 27), pack-reused 531 (from 1)
Receiving objects: 100% (586/586), 108.45 KiB | 1.04 MiB/s, done.
Resolving deltas: 100% (378/378), done.
a@pop-os:~$ sudo cmake joycond/
-- Configuring done
-- Generating done
-- Build files have been written to: /home/a
a@pop-os:~$ sudo systemctl enable --now joycond
Failed to enable unit: Unit file joycond.service does not exist.
a@pop-os:~$ 

What should I do to fix that?

@J-H-Freedman
Copy link
Author

forgot
sudo make install

I feel stupid lol.

@J-H-Freedman
Copy link
Author

J-H-Freedman commented Sep 7, 2024

jumped the gun :(

a@pop-os:~$ sudo make install
[  9%] Building CXX object CMakeFiles/joycond.dir/src/main.cpp.o
[ 18%] Building CXX object CMakeFiles/joycond.dir/src/phys_ctlr.cpp.o
[ 27%] Building CXX object CMakeFiles/joycond.dir/src/virt_ctlr.cpp.o
[ 36%] Building CXX object CMakeFiles/joycond.dir/src/virt_ctlr_passthrough.cpp.o
[ 45%] Building CXX object CMakeFiles/joycond.dir/src/virt_ctlr_combined.cpp.o
[ 54%] Building CXX object CMakeFiles/joycond.dir/src/virt_ctlr_pro.cpp.o
[ 63%] Building CXX object CMakeFiles/joycond.dir/src/epoll_mgr.cpp.o
[ 72%] Building CXX object CMakeFiles/joycond.dir/src/epoll_subscriber.cpp.o
[ 81%] Building CXX object CMakeFiles/joycond.dir/src/ctlr_detector_udev.cpp.o
[ 90%] Building CXX object CMakeFiles/joycond.dir/src/ctlr_mgr.cpp.o
[100%] Linking CXX executable joycond
/usr/bin/ld: cannot open output file joycond: Is a directory
collect2: error: ld returned 1 exit status
make[2]: *** [CMakeFiles/joycond.dir/build.make:241: joycond] Error 1
make[1]: *** [CMakeFiles/Makefile2:100: CMakeFiles/joycond.dir/all] Error 2
make: *** [Makefile:136: all] Error 2
a@pop-os:~$ sudo systemctl enable --now joycond
Failed to enable unit: Unit file joycond.service does not exist.

@J-H-Freedman J-H-Freedman reopened this Sep 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant