Re: RCS 5.9.0 does not compile on Solaris
Jörn Clausen <[email protected]> Tue, 04 Jun 2013 10:01:10 +0200
| Newsgroups | gmane.comp.version-control.rcs.bugs |
|---|---|
| Message-ID | <[email protected]> |
extract-help now sets a positive return value, so make stops:
gmake[1]: Entering directory `/pkgsrc/source/local/rcs-5.9.0/src'
../build-aux/extract-help -o ci.help ci.c
gmake[1]: *** [ci.help] Error 1
gmake[1]: Leaving directory `/pkgsrc/source/local/rcs-5.9.0/src'
gmake: *** [all-recursive] Error 1
$ .../rcs-5.9.0/src> ../build-aux/extract-help -o ci.help ci.c
$ .../rcs-5.9.0/src> echo $?
1
which probably means, that the last condition in the script still does
not work as expected. The line
#include "b-yacmd.h"
is still not included in the help file.
The solution in pkgsrc (which is the source of this software for me) was
to switch to ksh:
$ .../rcs-5.9.0/src> ksh ../build-aux/extract-help -o ci.help ci.c
$ .../rcs-5.9.0/src> echo $?
0
which also generates the correct include line.
In the end, the pkgsrc maintainer decided not to use the generated
man-pages at all, but to install the pregenerated ones:
* Do not make man pages, use shipped version.
Generating man pages required groff's soelim and pic.
--
Jörn Clausen [email protected]
Hochschulrechenzentrum http://www.uni-bielefeld.de/hrz/
Universität Bielefeld