[Top][All Lists]

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

Re: groffer from doesn't compile

From: Marcela Maslanova
Subject: Re: groffer from doesn't compile
Date: Mon, 09 Oct 2006 13:22:18 +0200
User-agent: Thunderbird (X11/20060913)

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:

I get the following when trying to compile groff-

make[3]: Entering directory `/sources/groff-'
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- >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?



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

bug-groff mailing list

reply via email to

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