I use the Spack package manager (https://github.com/llnl/spack) to wrangle software on various systems. Version 2.12.3 would not build for me, the solution turned out to be to add a dependency on gperf, since it is used in the configure script to sort out the type of the arg to the lookup function. The discussion about the issue and fix are here: https://github.com/LLNL/spack/pull/4551 I think that gperf is needed for 2.12.2 and 2.12.3 but not for earlier versions, but wanted to check in with you for confirmation. Am I correct? Thanks!
Due to the changes has been made in gperf 3.1, we have added the type check of the hash function in configure since 2.12.2. in this sense, gperf is required to build. The problem here is the build fails when you have gperf 3.1 installed because the fcobjshash.h in the tarball was generated with gperf 3.0. you have to remove fcobjshash.h and fcobjshash.gperf in order to regenerate them. See Bug#101280. *** This bug has been marked as a duplicate of bug 101280 ***
Thank you for the explanation!
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.