delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2004/08/30/12:15:21

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Date: Mon, 30 Aug 2004 12:14:52 -0400 (EDT)
From: Igor Pechtchanski <pechtcha AT cs DOT nyu DOT edu>
Reply-To: cygwin AT cygwin DOT com
To: Peter Ekberg <peda AT axentia DOT se>
cc: cygwin AT cygwin DOT com
Subject: RE: configure-script failure
In-Reply-To: <90459864DAD67D43BDD3D517DEFC2F7D70BF@axon.Axentia.local>
Message-ID: <Pine.GSO.4.61.0408301210440.24572@slinky.cs.nyu.edu>
References: <90459864DAD67D43BDD3D517DEFC2F7D70BF AT axon DOT Axentia DOT local>
MIME-Version: 1.0
X-Scanned-By: MIMEDefang 2.39

On Mon, 30 Aug 2004, Peter Ekberg wrote:

> Igor wrote:
> > On Mon, 30 Aug 2004, Jani tiainen wrote:
> >
> > > Christopher Faylor wrote:
> > > > On Mon, Aug 30, 2004 at 10:21:46AM -0400, Igor Pechtchanski wrote:
> > > >
> > > > > On Mon, 30 Aug 2004, bertrand marquis wrote:
> > > > >
> > > > > > Le lun 30/08/2004 ?  07:50, Jani tiainen a ?crit :
> > > > > >
> > > > > > > Why sometimes running ./configure doesn't work?
> > > > > > >
> > > > > > > Usually it reports that some feature is missing, but running second
> > > > > > > time with same parameters doesn't produce error..
> > > > > > >
> > > > > > > like:
> > > > > > >
> > > > > > > configure --prefix=/target --disable-static
> > > > > > >
> > > > > > > in first run I usually get "no such feature 'static'" (or similiar).
> > > > > > > On second run with exactly same parameters it works.
> > > > > > >
> > > > > > > Any explanations for a such behavior?
> > > > > >
> > > > > > Hello i run through the same problem from times to times running
> > > > > > configure scripts and i didn't find any other solution than running the
> > > > > > configure again.  This is quite borring and i was not able to find any
> > > > > > solution.
> > > > > >
> > > > > > I would also be interested in a solution or an explanation if someone
> > > > > > has one.
> > > > >
> > > > > The usual advice for any configure problem is to look at the config.log
> > > > > file from the failed run of configure (beware, the file is overwritten
> > > > > every time configure is run).  FWIW, you and Jani may have different
> > > > > problems altogether.
> > > >
> > > > However, regardless of whether they are similar or not, we'd actually
> > > > need *details* for figuring out problems like this, i.e.,
> > > >
> > > > http://cygwin.com/problems.html
> > > >
> > > > Otherwise, these messages boil down to:
> > > >
> > > > "I noticed that sometimes my car won't start but then I wait a little
> > > > while and it does!"
> > > >
> > > > "I have the same problem!  Can someone help?"
> > >
> > > Help, it appeared again... =)
> > >
> > > Well here is more info:
> > >
> > > No config.log appears to be generated (or there is previous log, not even
> > > erased), error produced is:
> > >
> > > $ ./configure --disable-gtk-doc --prefix=/target --disable-static
> > > configure: error: invalid feature name: static
> > >
> > > Error seems to change according to last parameter, but not always. Sometimes I
> > > get error regarding "gtk-doc".
> > >
> > > It does appear often, but "randomly". I haven't noticed difference
> > > between several configure scripts run. Observation shows that it might
> > > something to do that configure script is fetched from HD instead of
> > > memory cache..
> >
> > "configure -v"?  "bash -x configure"?  Come on, man, do some
> > *debugging*!
> > 	Igor
>
> Attached is the output of a bash -x run of my testcase, available here:
> http://sources.redhat.com/ml/cygwin/2004-08/msg01025.html

Quoting the relevant part of the attached "bashlog":

+ ac_package=extra-includes
+ expr xextra-includes : '.*[^-_abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789]'
+ echo 'configure: error: invalid package name: extra-includes'
configure: error: invalid package name: extra-includes
+ exit 1

> Looks like a bug to me as "extra-includes" is alphanumeric, which I
> believe is what is being tested.

Yes, it does seem wrong.  Now the question is whether bash is getting the
wrong return code from expr, or whether the && doesn't work properly, or
whether there's some other problem here.  Can you reproduce this under
strace?  I don't suggest that you send the raw strace output to the list,
but examining it might be helpful in tracking this down.
	Igor
-- 
				http://cs.nyu.edu/~pechtcha/
      |\      _,,,---,,_		pechtcha AT cs DOT nyu DOT edu
ZZZzz /,`.-'`'    -.  ;-;;,_		igor AT watson DOT ibm DOT com
     |,4-  ) )-,_. ,\ (  `'-'		Igor Pechtchanski, Ph.D.
    '---''(_/--'  `-'\_) fL	a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

"Happiness lies in being privileged to work hard for long hours in doing
whatever you think is worth doing."  -- Dr. Jubal Harshaw

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019