#2833 closed defect (fixed)
gperf required by a2ps-4.14
Reported by: | thomas | Owned by: | |
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | BOOK | Version: | SVN |
Severity: | normal | Keywords: | |
Cc: |
Description ¶
configure of a2ps failed with
... checking for gcc option to accept ISO C89... (cached) none needed checking dependency style of gcc... (cached) gcc3 checking for function prototypes... yes checking for bison... bison -y checking how to suppress newlines using echo... option checking for gperf... no configure: error: Could not find gperf WARNING: Failure in a2ps
After installing gperf-3.0.4 configure writes
... checking how to suppress newlines using echo... option checking for gperf... /usr/bin/gperf checking for gperf - version >= 2.7... no ...
/* Note the NO at the version check */
Checking the config.log shows a completely damaged test source code. Adding a
sed -i "s;GPERF --version |;& head -n 1 |;" configure
fixes that.
Anyone there who saw that too? I'll add that to the book.
Change History (7)
follow-up: 2 comment:1 by , 16 years ago
comment:2 by , 16 years ago
Replying to randy@…:
...
- I'm not sure the sed for the sort command is required any longer.
I can't produce an error using the syntax that is supposed to be bad.
Yes, I also see no errors when leaving that sed out
- We need to pass a parameter so that there is not a long hangup
during the mktime test. See the Gawk page in LFS devel for an example.
Or simply run 'autoconf' first. Unfortunatly I cannot tell much about that auto{make,conf}-voodoo and what it does and so, but http://www.archivum.info/gnu.emacs.bug/2008-08/msg00848.html gave me a hint about that...
Confirmed about the Gperf issue.
Some other notes:
I can't produce an error using the syntax that is supposed to be bad.
during the mktime test. See the Gawk page in LFS devel for an example.