Hello,
I had the same problem. I changed in REVISION number from 1 to 1.3. Now I have different problem, maybe because I use gcc4.
Marcela Maslanova

Matthew Burgess wrote:
Hi,

I get the following when trying to compile groff-1.18.1.3:

make[3]: Entering directory `/sources/groff-1.18.1.3/contrib/groffer'
rm -f groffer;
sed -f  \
            -e "s|@g@||g" \
        -e "s|@BINDIR@|/usr/bin|g" \
        -e "s|@libdir@|/usr/lib|g" \
        -e "s|@VERSION@|1.18.1|g" \
-e 1s/a/a/ /sources/groff-1.18.1.3/contrib/groffer/groffer.sh >groffer;
sed: couldn't open file -e: No such file or directory

The problem seems to be that $(SH_DEPS_SED_SCRIPT) in Makefile.sub evaluates to nothing (and I can't see how it could evaluate to anything as there are no other instances of that variable, other than in Changelog). This causes the syntax to sed to be invalid as it's expecting the name of a script file rather than sed expressions.

Given that, is the correct fix for this to simply replace 'sed -f' with 'sed' in the above command? Or is there something deeper going on here and SH_DEPS_SED_SCRIPT should actually be set by something?

Regards,

Matt.

PS: Please cc me as I'm not subscribed.



_______________________________________________
bug-groff mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/bug-groff



_______________________________________________
bug-groff mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/bug-groff

Reply via email to