🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.gdb.bug
Article #2737

Problem on Solaris with gdb 5.1.x

#2737
From: Katz, Amir
Date: Tue, 29 Jan 2002 08:49
26 lines
1857 bytes
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:	Amir_Katz@BMC.com
Technical Details
Message-ID: <F39E5E57288ED311914C00508B5593D70367026D@es01-tlv.bmc.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news.uchicago.edu!newsfeed.cs.wisc.edu!newsfeed.mathworks.com!news.mathworks.com!uunet!nyc.uu.net!ash.uu.net!spool0901.news.uu.net!wendy-fate.uu.net!bug-gdb

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f5053,5b4bad0697792d38,start
X-Google-Attributes: gidf5053,public
X-Google-ArrivalTime: 2002-01-29 00:53:03 PST
x-uunet-gateway: mr1.ash.ops.us.uu.net from bug-gdb to gnu.gdb.bug; Tue, 29 Jan 2002 08:53:02 GMT
Message-ID: <F39E5E57288ED311914C00508B5593D70367026D@es01-tlv.bmc.com>
From: "Katz, Amir" <Amir_Katz@bmc.com>
Subject: Problem on Solaris with gdb 5.1.x
Date: Tue, 29 Jan 2002 02:49:19 -0600
MIME-Version: 1.0
X-Mailer: Internet Mail Service (5.5.2653.19)
Content-Type: text/plain;
 charset="iso-8859-1"
Approved: bug-gdb-request@mail.gnu.org
Newsgroups: gnu.gdb.bug
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news.uchicago.edu!newsfeed.cs.wisc.edu!newsfeed.mathworks.com!news.mathworks.com!uunet!nyc.uu.net!ash.uu.net!spool0901.news.uu.net!wendy-fate.uu.net!bug-gdb
Sender: bug-gdb-request@mail.gnu.org
Lines: 28