This is the mail archive of the
gdb-prs@sources.redhat.com
mailing list for the GDB project.
gdb/708: Can't build 5.3 branch (and probably trunk).
- From: ac131313 at redhat dot com
- To: gdb-gnats at sources dot redhat dot com
- Cc: rmccall at sikorsky dot com
- Date: 17 Sep 2002 23:56:38 -0000
- Subject: gdb/708: Can't build 5.3 branch (and probably trunk).
- Reply-to: ac131313 at redhat dot com
>Number: 708
>Category: gdb
>Synopsis: Can't build 5.3 branch (and probably trunk).
>Confidential: no
>Severity: serious
>Priority: high
>Responsible: unassigned
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Tue Sep 17 16:58:01 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator: ac131313@redhat.com
>Release: 5.2.90_20020917
>Organization:
>Environment:
>Description:
> On Tue, Sep 17, 2002 at 06:03:14PM -0400, Andrew Cagney wrote:
>
> > Suggest grabbing a snapshot from the latest (5.3) branch:
> > ftp://sources.redhat.com/pub/gdb/snapshots/branch/. That way we know
> > it is fixed in the next GDB release.
>
>
> OK, I grabbed gdb+dejagnu.tar.bz2 which appears to be symlinked to
> gdb+dejagnu-5.2.90_20020917.tar.bz2. I am getting a configure error:
>
> checking whether make sets ${MAKE}... (cached) yes
> configure: error: source directory already configured; run make
> distclean there first
> configure: error:
> .../../../../gdb+dejagnu-5.2.90_20020917/dejagnu/example/calc/configure
> failed for example/calc
> Configure in /export/home0/software/build/build-gdb/dejagnu failed,
> exiting.
I think the snapshot (and hence the release :-() process is leaving a stray file behind. (I also recall someone mentioning this before :-( ).
Look for config.cache, config.log, Makefile, or similar.
The work around is to delete the dejagnu directory from the unpacked source tree.
Andrew
> The config.log file in the calc subdirectory looks clean (though there
> is a confdefs.h file left over containing only a single newline
> character):
>
> This file contains any messages produced by compilers while
> running configure, to aid debugging if configure makes a mistake.
>
> configure:562: checking for a BSD compatible install
> configure:615: checking whether build environment is sane
> configure:672: checking whether make sets ${MAKE}
>
> I then tried the suggested action of running make distclean in the GDB
> source directory but that results in:
>
> make: *** No rule to make target `distclean'. Stop.
>
> I get the same error in the dejagnu subdirectory but I get a different
> error in the dejagnu/example subdirectory:
>
> Makefile:317: warning: overriding commands for target `check-recursive'
> Makefile:111: warning: ignoring old commands for target
> `check-recursive'
> make: *** No rule to make target `../config.status', needed by
> `Makefile'. Stop.
>
> In the dejagnu/example/calc subdirectory, I get the same error minus
> the two warnings.
>
> Does anyone know how to get around this problem? Should I try
> yesterday's snapshot instead? I am building GDB in a separate directory
> outside of the source tree as I usually do and the source tree is clean
> from the tarball.
>
> Thanks for the help!
>
> Ron McCall
>
>How-To-Repeat:
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted: