Subject: Re: [htdig] Error in ./configure
From: Gilles Detillieux (email@example.com)
Date: Wed Jul 19 2000 - 12:18:49 PDT
According to Sigfus Oddsson:
> My Linux distribution is Red Hat 6.2, very minimal though - I only installed
> what I considered to be the bare minimum of packages.
> This is my sed version: sed-3.02-6
> Included is my config.status file
> My $SHELL is /bin/bash.
> > > > > When doing a ./configure on the 3.1.5 version of Ht://Dig I
> constantly get
> > > > > this error:
> > > > >
> > > > > sed: file conftest.s1 line 3: Unterminated `s' command
> > > > >
> > > > > Which results in no Makefile and CONFIG being generated so I can't
> > > > > the binary.
In the attached config.status file...
> sed 's/%@/@@/; s/@%/@@/; s/%g$/@g/; /@g$/s/[\\&%]/\\&/g;
> s/@@/%@/; s/@@/@%/; s/@g$/%g/' > conftest.subs <<\CEOF
> /^[ ]*VPATH[ ]*=[^:]*$/d
> s%@CFLAGS@%-O3 -march=pentium -mcpu=pentium -ffast-math -funroll-loops -fomit-frame-pointer -fforce-mem -fforce-addr
> -malign-double -fno-exceptions%g
This seems to be the problem right here. The CFLAGS environment variable
contains an embedded newline character, which is throwing off the sed
script. You should either rerun ./configure with the CFLAGS variable
corrected, if that's how configure got it's CFLAGS setting in the first
place, or you can edit config.status to rejoin the two lines above into
a single line and then execute config.status to build all the necessary
-- Gilles R. Detillieux E-mail: <firstname.lastname@example.org> Spinal Cord Research Centre WWW: http://www.scrc.umanitoba.ca/~grdetil Dept. Physiology, U. of Manitoba Phone: (204)789-3766 Winnipeg, MB R3E 3J7 (Canada) Fax: (204)789-3930
------------------------------------ To unsubscribe from the htdig mailing list, send a message to email@example.com You will receive a message to confirm this.
This archive was generated by hypermail 2b28 : Wed Jul 19 2000 - 02:19:21 PDT