Mirror of the gdb mailing list
 help / color / mirror / Atom feed
From: Ron McCall <ronald.mccall@snet.net>
To: GDB Mailing List <gdb@sources.redhat.com>
Subject: Problem with readline's configure script?
Date: Wed, 24 Dec 2003 23:03:00 -0000	[thread overview]
Message-ID: <20031224230350.GA11478@bender> (raw)

Hi,

I was trying to build GDB 6.0 on Solaris 9 and ran into some errors
while configuring in gdb.  For example:

./configure: $gcc: not found

I tracked the problem down to readline's configure script.  After
configuring in mmalloc, lines in config.cache look like this:

ac_cv_prog_CC=${ac_cv_prog_CC='gcc'}
ac_cv_prog_CPP=${ac_cv_prog_CPP='gcc -E'}

After configuring in readline, lines in config.cache look like this:

ac_cv_prog_CC=${ac_cv_prog_CC=gcc}
ac_cv_prog_CPP=${ac_cv_prog_CPP=$'gcc -E'}

Then, after configuring in sim, lines in config.cache look like this:

ac_cv_prog_CC=${ac_cv_prog_CC='gcc'}
ac_cv_prog_CPP=${ac_cv_prog_CPP='$gcc -E'}

Several other lines besides CPP are affected in this way at this point.
It seems that readline's different quoting scheme confuses the other
configure scripts.

I dumped the environment in readline's configure script immediately
prior to it updating config.cache and found that:

CPP=$'gcc -E'

I did the same thing in mmalloc's configure script and found that:

CPP=gcc -E

So, it seems that the new quoting scheme switch happens earlier in
readline's configure script than where it updates config.cache.  I
started trying to trace the processing of config.cache after it is read
in but got lost pretty quickly.  Does anyone else happen to know where
the problem might be and how to fix it?  In case it matters, I used the
following top-level configure options:

./configure --disable-nls --with-gnu-ld

Please let me know if you need any more information.

Thanks!

Ron McCall


             reply	other threads:[~2003-12-24 23:03 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-12-24 23:03 Ron McCall [this message]
2003-12-24 23:34 ` Daniel Jacobowitz
2003-12-25  2:13   ` Ron McCall

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20031224230350.GA11478@bender \
    --to=ronald.mccall@snet.net \
    --cc=gdb@sources.redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox