`make moc` fails with `libasap_decoder.so moc/libasap_decoder.c:26:10: fatal...
Brought to you by:
pfusik
I am building this, latest git checkout (git commit hash: f855c94), on Artix GNU/Linux (rolling release).
Doing a make moc fails with moc/libasap_decoder.c:26:10: fatal error: config.h: No such file or directory:
libasap_decoder.so
moc/libasap_decoder.c:26:10: fatal error: config.h: No such file or directory
26 | #include "config.h"
| ^~~~~~~~~~
compilation terminated.
make: *** [moc/moc.mk:14: libasap_decoder.so] Error 1
Regards!
What version of MOC are you building against?
mocp --version:pacman -Qql moc-pulse | grep -v '/$':My installation of
mocdoes not include any header files, but the error message looks as it searches forconfig.hin asap's local source repository anyway, not in a system directory.Last edit: Drei Eck 2025-02-09
config.h, common.h, decoder.h and files.h are definitely MOC header files.
Did you follow the "Building the MOC plugin on Unix-like systems" instructions from the INSTALL file?
I asked the package maintainer to include those in the package.
And later I will check which parts of the MOC sources are really needed to build it, and try to adapt.
Regards!
Last edit: Drei Eck 2025-02-09
Yes, installing the MOC header files together with the MOC package suffices, no need to have the complete source.
Sorry for bothering you, my fault.
I ask to close this issue as "not relevant"/ "Spam".
Last edit: Drei Eck 2025-02-09