Re: Broken Pipe with Xcode
Re: Broken Pipe with Xcode
- Subject: Re: Broken Pipe with Xcode
- From: Jack Repenning <email@hidden>
- Date: Tue, 31 Jul 2007 16:04:01 -0700
On Jul 31, 2007, at 3:27 PM, Giacomo Monari wrote:
I did the normal installation. And before this afternoon all worked
well. But after I suceeded in compiling a program with the gnuplot
interface gnuplot_i (wich needed to create a file environment.plist
in a directory called .MacOSX in my home directory) and made some
little changes to it, this error began to appear...
Ah, that file could be your problem. Open it up (you can use the
Property List Editor that comes with your Developer tools, or any ol'
text editor -- it's probably in XML) and check for a setting for
"PATH". Your error messages indicate that PATH does not contain /usr/
bin (that is, assuming /usr/bin/as actually exists).
If you still need to compile with gnuplot, try something like this:
1. Note down the PATH settings you presently have (which, we suspect,
do not include /usr/bin)
2. in Terminal, move this environment.plist aside, say
mv ~/.MacOSX/environment.plist ~/.MacOSX/environment-save.plist
3. log out, log back in (necessary because this file is read during
login)
4. in Terminal, "echo $PATH", thereby learning what your $PATH ought
to look like
5. put environment.plist back, say
mv ~/.MacOSX/environment-save.plist ~/.MacOSX/environment.plist
6. open it again, as before
7. put whatever you got in step 4 at the front of the PATH setting,
being careful to separate it from the evil stuff that apparently came
from gnuplot with a colon (":").
8. log out and back in again
9. everybody ought to be happy
-==-
Jack Repenning
Chief Technology Officer
CollabNet, Inc.
8000 Marina Boulevard, Suite 600
Brisbane, California 94005
office: +1 650.228.2562
mobile: +1 408.835.8090
raindance: +1 877.326.2337, x844.7461
aim: jackrepenning
skype: jrepenning
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden