The ultimate goal is to use GnuPG’s digital signature and encryption features on a mobile device, which involves cross-compilation. First, I’m trying to compile it on the host machine for testing.
GnuPG relies on several libraries—essentially configuration tools for itself, just managed separately. Unfortunately, I got stuck right at the first step. ![]()
libgpg-error is the most fundamental library in this suite, providing the configure script. I downloaded source packages from multiple sources, including the official website and openEuler’s source package, with varying versions, but the compilation issues were identical across all.
On the host system—x86_64 openEuler 2509 DevStation—running ./configure works fine, but make fails with a missing config.h file, even though config.h.in exists in the current directory.
Checking the config.log file, the last section shows:
$ tail config.log
CONFIG_FILES =
CONFIG_HEADERS =
CONFIG_LINKS =
CONFIG_COMMANDS =
$ ./config.status config.h
on hw-pc
config.status:1306: creating config.h
config.status:1487: config.h is unchanged
Manually running this command produces no config.h file.
It shouldn’t be that none of the various source packages compile properly. ![]()