configure probs (sed)

robert delius royar r_royar@kih.net
Tue Sep 5 06:44:00 GMT 2000


Look for references to files named Makefile.in.in and Makefile.in in
configure and configure.sub (may also be in some of the sub-folder control
scripts).  I discovered that when sed output to Makefile.in, it zeroed
Makefile.in.in.  I cannot reproduce this from the command line (bash, sh,
or COMMAND.COM), but inside the configure script, it happened every time.  
I edited the configure scripts to reference Makefile.first instead of
Makefile.in.in and renamed all Makefile.in.in files to Makefile.first.  
That solved the problem.  Note that if sed fails in the script, the script
does not catch the error.

I have a Win98SE based system and assumed the error was unique to that
system and not on NT.

On Tue, 5 Sep 2000, John A. Turner wrote:

> [including the cygwin and gnuplot-beta lists as well...]
> 
> "OFDST Winkler Dr., Jens" wrote:
> 
> > > -----Ursprüngliche Nachricht-----
> > > Von:  John A. Turner [SMTP:john.turner@POBox.com]
> > > Gesendet am:  Freitag, 4. August 2000 08:04
> > > An:   XEmacs on NT
> > > Betreff:      configure probs (sed)
> > >
> > > I've been building cygwin/native successfully for a while now, but
> > > after updating both cygwin (to 1.1.3) and cvs'upping XEmacs, I'm
> > > now seeing this during configure:
> > >
> > > creating src/config.h
> > > sed: file conftest.frag line 1: Unterminated `s' command
> > > sed: file conftest.frag line 1: Unterminated `s' command
> > > creating lwlib/config.h
> > > sed: file conftest.frag line 1: Unterminated `s' command
> > > sed: file conftest.frag line 1: Unterminated `s' command
> 
> >         [OFDST Winkler Dr., Jens]  I have the same problems with cygwin
> > 1.1.4 and XEmacs 21.1.12
> >         [OFDST Winkler Dr., Jens]  I searched through the cygwin and XEmacs
> > mailing lists but find only
> >         the description of the problem no resolution. Please help
> 
> I've just been meaning to follow up on this and ask again - here's
> the status for me:
> 
> o I'm now at Cygwin 1.1.4(0.26/3/2) 2000-08-03
> 
> o I'm still unable to configure XEmacs due to the above since my original
>   report
> 
> o my XEmacs tree is up-to-date as of last night
> 
> o I also checked out gnuplot to try building a cygwin version of it (with
>   pm3d, but that's beside the point here) - anyway, I hit the same problem
>   during configure:
> 
> [snip]
> 
> checking for gd.h... yes
> checking for png_info_init in -lpng... no
> - see term/png.trm for download details
> checking for emacs... (cached) t
> checking for pdflatex... (cached) pdflatex
> creating ./config.status
> creating Makefile
> sed: file conftest.s1 line 30: Unterminated `s' command
> creating config/Makefile
> sed: file conftest.s1 line 30: Unterminated `s' command
> creating demo/Makefile
> sed: file conftest.s1 line 30: Unterminated `s' command
> creating docs/Makefile
> sed: file conftest.s1 line 30: Unterminated `s' command
> creating m4/Makefile
> sed: file conftest.s1 line 30: Unterminated `s' command
> creating man/Makefile
> sed: file conftest.s1 line 30: Unterminated `s' command
> creating src/Makefile
> sed: file conftest.s1 line 30: Unterminated `s' command
> creating term/Makefile
> sed: file conftest.s1 line 30: Unterminated `s' command
> creating tutorial/Makefile
> sed: file conftest.s1 line 30: Unterminated `s' command
> creating config.h
> sed: file conftest.frag line 4: Unterminated `s' command
> config.h is unchanged
> configuring in lisp
> running /bin/sh ./configure  --enable-mouse --enable-pm3d --with-x11-driver=gnuplot_x11_pm3d --without-tutorial
> --cache-file=.././config.cache --srcdir=.
> loading cache .././config.cache
> 
> [snip]
> 
> o lastly, while searching the Cygwin archives I found this thread:
> 
>   http://sources.redhat.com/ml/cygwin/2000-06/msg00962.html
> 
>   which seems to indicate it may be a bug in the respective packages
>   rather than Cygwin, but it's not completely clear
> 
> I spent a good bit of time with the XEmacs configure, trying to find the
> actual sed command causing the problems (trying to make it be more verbose,
> not delete temporary files after using, etc.), but I must confess that I
> didn't make much headway.
> 
> any ideas?
> 
> -John Turner
> 
> 

-- 
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Dr. Robert D. Royar      Morehead State University      r.royar@morehead-st.edu
                          Writing Center Director
              <URL: http://people.morehead-st.edu/fs/r.royar >
        Stop the murder: Distribute photographs of undercover police
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=



--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com



More information about the Cygwin mailing list