Bug 101546 - What versions require gperf to install?
Summary: What versions require gperf to install?
Status: RESOLVED DUPLICATE of bug 101280
Alias: None
Product: fontconfig
Classification: Unclassified
Component: library (show other bugs)
Version: 2.12
Hardware: Other All
: medium normal
Assignee: fontconfig-bugs
QA Contact: Behdad Esfahbod
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-06-21 18:37 UTC by George Hartzell
Modified: 2017-06-22 15:44 UTC (History)
1 user (show)

See Also:
i915 platform:
i915 features:


Attachments

Description George Hartzell 2017-06-21 18:37:20 UTC
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!
Comment 1 Akira TAGOH 2017-06-22 03:15:52 UTC
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 ***
Comment 2 George Hartzell 2017-06-22 15:44:23 UTC
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.