bug-gdb
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Problem on Solaris with gdb 5.1.x


From: Katz, Amir
Subject: Problem on Solaris with gdb 5.1.x
Date: Tue, 29 Jan 2002 02:49:19 -0600

When I run configure, it goes into an infinite loop.  I traced the problem
to the following statement in 'configure.in', line 1213 in version 5.1.1:

  if [ "`/usr/bin/which $CCBASE`" = "/usr/ucb/cc" ]; then

This line is executed only for Solaris.  The problem is that on Solaris,
/usr/bin/which is a script that reads the user's .cshrc to get the aliases
and the path.  However, in my personal .cshrc file I have a few 'which'
commands, so the configure scripts loops forever, creating more and more
'which' processes, until the system runs out of processes.

The workaround for now is to comment out all the 'which' statements before
the configure, restore them afterwards.

Anyone has a better idea?

Thanks

Amir Katz
Product Development Manager - USA-API
INCONTROL for Security Management
BMC Software Inc.
Phone:  +972-3-645-1145
Fax:            +972-3-766-4617
Mobile: +972-54-429-662
E-mail: address@hidden





reply via email to

[Prev in Thread] Current Thread [Next in Thread]