bug-groff
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

groffer from 1.18.1.3 doesn't compile


From: Matthew Burgess
Subject: groffer from 1.18.1.3 doesn't compile
Date: Fri, 06 Oct 2006 21:00:38 +0100
User-agent: Thunderbird 1.5.0.7 (X11/20060922)

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.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]