I got really confused with installing g510s, also created an issue.
For g510s you need libg15, libg15 seems to install, but I still get that:
r@TABHLx:/usr/local/src/g99$ make
gcc -Wall pkg-config --cflags gtk+-3.0 appindicator3-0.1 -c g510s.c -o g510s.o
/bin/sh: 1: pkg-config: not found
g510s.c:24:10: fatal error: libg15.h: No such file or directory
#include <libg15.h>
^~~~~~~~~~
compilation terminated.
Makefile:4: recipe for target ‘g510s.o’ failed
make: *** [g510s.o] Error 1
What am I missing? What is automake and how does it compare to make?
My specs. (Ubuntu Budgie 18.04)
Ok, without having compiled that thing myswlf yet, but lets go step by step.
You already figured out you need libg15. This seems straight forward from the INSTALL
- you git clone
- cd into the directory
- ./configure
- make
- sudo make install
This should take care of libg15. From your error i assume you checked the other dependencies?
- libg15
- libg15render
- libappindicator3
- pthread
- gtk3
The Install instructions don’t mention a seperate configure step. So, if this is correct with “make” and “sudo make install” it should be done.
The make here throws two errors (maybe related)
- pkg-config: not found
- libg15.h: No such file or directory
Do you have pkg-config installed?
libg15.h “should” be installed as part of the first package, which indicates that that either didn’t work or put that file somewhere, where g510s doesn’t expect it. Can you “find” libg15.h on your System? I can’t make out where the initial install would put that. So, lets start with those things.
- Did you install libg15 as described?
- Are all other dependencies satisfied?
- Is pkg-config installed
- can you “find” libg15.h on your system (other than the download directory for it)
To add to that:
Automake should be installable on Ubuntu from the repositorys. From what i read, you run it instead of make. Since the repo already has the Makefiles, you shouldn’t need autoconf here.
turns out there is a ppa for g510s, but it still needs libg15… reinstalling libus variants allowed me to compile and install libg15 and get the g510s finally working…