This is the mail archive of the gdb-prs@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

gdb/519: gdb fails to configure since some configure scripts lack execute permission



>Number:         519
>Category:       gdb
>Synopsis:       gdb fails to configure since some configure scripts lack execute permission
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    unassigned
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Apr 30 13:48:00 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator:     Rainer Orth
>Release:        gdb 5.2 release
>Organization:
>Environment:
Solaris 2.5.1/SPARC
>Description:
configure fails with

running /bin/sh /vol/gnu/src/gdb/gdb-5.2/gdb/testsuite/gdb.base/configure  --prefix=/vol/gnu --disable-nls --cache-file=../.././config.cache --srcdir=/vol/gnu/src/gdb/gdb-5.2/gdb/testsuite/gdb.base
loading site script /vol/gnu/share/config.site
/vol/gnu/src/gdb/gdb-5.2/gdb/testsuite/gdb.base/configure: /vol/gnu/src/gdb/gdb-5.2/gdb/testsuite/gdb.base/configure: cannot execute
/vol/gnu/src/gdb/gdb-5.2/gdb/testsuite/gdb.base/configure: test: unknown operator 2
configure: error: /vol/gnu/src/gdb/gdb-5.2/gdb/testsuite/gdb.base/configure failed for gdb.base
configure: error: /vol/gnu/src/gdb/gdb-5.2/gdb/testsuite/configure failed for testsuite

This happens because this configure script lacks execute permissions in the distribution.  There are some others with the same problem:

./gdb/gdbserver/configure
./gdb/testsuite/gdb.base/configure
./gdb/testsuite/gdb.c++/configure
./gdb/testsuite/gdb.disasm/configure
./gdb/testsuite/gdb.stabs/configure
>How-To-Repeat:
Run configure with the default CONFIG_SHELL (i.e. /bin/sh) on sparc-sun-solaris2.5.1 (the problem happened on e.g. IRIX 6.2 too).
>Fix:
Change permissions.  This needs to be done in the CVS repository to take effect.
>Release-Note:
>Audit-Trail:
>Unformatted:


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]