[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Compile error during bootstrap...
From: |
Akim Demaille |
Subject: |
Re: Compile error during bootstrap... |
Date: |
04 Sep 2002 17:32:35 +0200 |
User-agent: |
Gnus/5.0808 (Gnus v5.8.8) XEmacs/21.4 (Honest Recruiter) |
>>>>> "Akim" == Akim Demaille <address@hidden> writes:
>>>>> "Franck" == Franck Lombardi <address@hidden> writes:
Franck> Ed, `delegation_hook', `a2_read_sys_config', `a2_read_config'
Franck> is in the file lib/confg.c.
Franck> This file is generated from lib/confg.gperf with gperf. If
Franck> you don't have gperf, the file lib/confg.c is empty.
Akim> No kidding!!! This must *not* happen again! Let's find a means
Akim> to work around this issue...
I'm installing the following on both branches.
Index: ChangeLog
from Akim Demaille <address@hidden>
* lib/Makefile.am (confg.c): Fail if gperf cannot be run.
Reported by Ed Arthur.
Index: README-cvs
===================================================================
RCS file: /cvsroot/a2ps/a2ps/README-cvs,v
retrieving revision 1.1.2.4
diff -u -u -r1.1.2.4 README-cvs
--- README-cvs 2 Sep 2002 12:47:03 -0000 1.1.2.4
+++ README-cvs 4 Sep 2002 15:33:58 -0000
@@ -13,6 +13,8 @@
- Libtool 1.4.2a
I'm using the Debian package.
+- Gperf 2.7.2
+
Only building the initial full source tree will be a bit painful,
later, a plain `cvs update -P & make' should be sufficient.
Index: lib/Makefile.am
===================================================================
RCS file: /cvsroot/a2ps/a2ps/lib/Makefile.am,v
retrieving revision 1.1.1.1.2.2
diff -u -u -r1.1.1.1.2.2 Makefile.am
--- lib/Makefile.am 18 Apr 2002 16:42:17 -0000 1.1.1.1.2.2
+++ lib/Makefile.am 4 Sep 2002 15:33:59 -0000
@@ -91,9 +91,9 @@
# with modern compilers. And many warnings means many complains from
# user.
confg.c: confg.gperf
- $(GPERF) $(GPERFFLAGS) confg.gperf | \
- sed -e 's/ signed char/ short/g' > confg.c-tmp
- mv confg.c-tmp confg.c
+ $(GPERF) $(GPERFFLAGS) confg.gperf >confg.tmp
+ sed -e 's/ signed char/ short/g' <confg.tmp >confg.c
+ rm -f confg.tmp
#
# Building the header for using liba2ps