Rob S wrote:

> Dear list:
>  
> OS Win XP pro
> Lyx Qt 1.3.2
>  
> Problem:
> Edit --> Reconfigure produces an empty LaTeXConfig.lyx file in
> share\lyx\doc\
>  
> Thus Help --> LaTex Configuration gives a msgbox "Not a Lyx file!"
>  
> Configure script is:
> echo "creating doc/LaTeXConfig.lyx"
> echo "s/@chk_linuxdoc@/$chk_linuxdoc/g" >> chkconfig.sed
> echo "s/@chk_docbook@/$chk_docbook/g" >> chkconfig.sed
> sed -f chkconfig.sed ${srcdir}/doc/LaTeXConfig.lyx.in
>>doc/LaTeXConfig.lyx
>  
> After running configure from a Cmd window text for this is:
>  
> Creating doc/LaTeXConfig.lyx
> Sed: file chkconfig.sed line 1: unknown option to 's'
>  
>  
> Can anyone enlighten me on this please?

Hello Robin.

Can you run the reconfiguration manually please as
        share\lyx\configure --keep-temps
and then have a look at the generated chkconfig.sed file.

Here, the first line of the file is:
[EMAIL PROTECTED]@!August 7, 2003!g

Perhaps your version of sed is choking on the '!' delimiters? Change this 
line to:
s/@chk_date@/August 7, 2003/g
and see if you get to line 2.
        
-- 
Angus

Reply via email to