[Warning -- long lines ahead]

Building dev.22 on osf4.0d, configured with --enable-htmlized-cfg
(plus most of the kitchen sink, see below), make dies an early
death, like so:


/bin/sh -c './cfg_defs.sh .'
Constructing sed-script help_files.sed
sed     -e '/^#/d' -e '/^$/d' \

        [...]

Creating LYHelp.h
sed: Function s!http://www.hippo.ru/%7Ehvv/lynxcfg_toc.html#alphatoc!alphatoc.html\! 
cannot be parsed.
make: *** [LYHelp.h] Error 2

Seems to me there's a couple inappropriate backslash-escapes of
$'s in the makefile.

Changing makefile.in, thusly:

----cut----

--- orig/makefile.in    Thu Mar 16 22:23:54 2000
+++ makefile.in Thu Mar 16 22:25:32 2000
@@ -338,8 +338,8 @@
        @echo Constructing sed-script $@
        @-rm -f $@ help_files.tmp
        @cat $(srcdir)/lynx_help/help_files.txt > help_files.tmp
-@LYNXCFG_MAKE@ @echo 
's!http://www.hippo.ru/%7Ehvv/lynxcfg_toc.html#alphatoc!alphatoc.html\$(COMPRESS_EXT)!'
 >> help_files.tmp
-@LYNXCFG_MAKE@ @echo 
's!http://www.hippo.ru/%7Ehvv/lynxcfg_toc.html!cattoc.html\$(COMPRESS_EXT)!' >> 
help_files.tmp
+@LYNXCFG_MAKE@ @echo 
+'s!http://www.hippo.ru/%7Ehvv/lynxcfg_toc.html#alphatoc!alphatoc.html$(COMPRESS_EXT)!'
+ >> help_files.tmp
+@LYNXCFG_MAKE@ @echo 
+'s!http://www.hippo.ru/%7Ehvv/lynxcfg_toc.html!cattoc.html$(COMPRESS_EXT)!' >> 
+help_files.tmp
        @ECHO_CC@sed    -e '/^#/d' -e '/^$$/d' \
                -e 's%\(.*\)=\(.*\@.*\)$$%s=@\1@=\2=g%' \
                -e 's%\(.*\)=\(http:.*\)$$%s=@\1@=\2=g%' \

----cut----

seemed to work for me, but I just sort of fiddle randomly, so
caveat ...um... compiler?  Maybe it just depends on the sed?

Configure stuff, in case it's relevant (note no gzip-help):


#! /usr/local/bin/tcsh

./configure --prefix=${HOME} --enable-find-leaks \
--disable-full-paths --with-screen=slang \
--enable-addrlist-page --enable-default-colors \
--enable-file-upload --enable-htmlized-cfg \
--enable-read-eta --enable-source-cache \
--enable-externs --enable-cgi-links \
--enable-change-exec --enable-exec-links \
--enable-exec-scripts --enable-internal-links \
--enable-nsl-fork --with-zlib


-- 
Michael Warner
<[EMAIL PROTECTED]>

Reply via email to