In the devel package, the header files under /usr/include/atkmm-1.6/atkmm/ contain #include <atkmmconfig.h> However the header file atkmmconfig.h is missing from the package. This applies to atkmm-devel-2.28.1-2.fc34. I didn't check other Fedora versions.
It looks like the file is installed under /usr/lib64/atkmm-1.6/include/atkmmconfig.h This doesn't seem to be the right location to put a header file. Is this intentional?
Yes, it's done like this to avoid multilib conflicts between -devel packages. config.h files often contain architecture specific defines. How are you using the atkmm headers? If you use pkg-config, it correctly gives you the directories where the headers are installed: `` $ pkg-config --cflags atkmm-1.6 -I/usr/include/atkmm-1.6 -I/usr/lib64/atkmm-1.6/include -I/usr/include/glibmm-2.4 -I/usr/lib64/glibmm-2.4/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sigc++-2.0 -I/usr/lib64/sigc++-2.0/include -I/usr/include/atk-1.0 ```
Thanks Kalev. The issue turned out to be in the cmake package. Apparently that one doesn't use pkgconfig, at least not in a standard way, so one needs to teach cmake about the atkmmconfig.h location. Fortunately there's an upstream fix, for which I opened RHBZ#1944935.