• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Broken Pipe
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Broken Pipe


  • Subject: Re: Broken Pipe
  • From: Giacomo Monari <email@hidden>
  • Date: Wed, 01 Aug 2007 10:39:36 +0200

Jack Repenning ha scritto:
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
Thx a lot Jack! In this way everything seems to work (for now): Xcode returned to compile and also the gnuplot_i interface works well. :)
In your opinion I still have to uninstall and reinstall the Xcode Tools because those directories are missing?
(Note that the position of my gnuplot is pretty strange: it isn't in /usr/bin but in /sw/bin because I installed it with Fink...)



Syd Polk ha scritto:
Something happened to your /usr/bin directory. Is there anything at all in it?
No. And plus note that for example the adress for gnuplot I used in my environment.plist file was pretty strange 'cause it is in /sw/bin (I installed it with Fink). Could be that cause of problems?
However I modified my environment.plist file like Jack Repenning suggested and everything seems to work.
Do you think I still need to uninstall/reinstall Xcode Tools for the missing directories? Could that cause future problems?



Thanks a lot for the help guys, Giacomo



--
Email.it, the professional e-mail, gratis per te: http://www.email.it/f

Sponsor:
Conto Arancio: 4,50% sino a marzo 2008, aprilo adesso!
Clicca qui: http://adv.email.it/cgi-bin/foclick.cgi?mid=6743&d=1-8
_______________________________________________
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


  • Follow-Ups:
    • Re: Broken Pipe
      • From: Jack Repenning <email@hidden>
    • Re: Broken Pipe
      • From: Syd Polk <email@hidden>
    • Re: Broken Pipe
      • From: David Alger <email@hidden>
  • Prev by Date: Re: Xcode-users Digest, Vol 4, Issue 369
  • Next by Date: Re: Control initialised data layout?
  • Previous by thread: Re: Xcode-users Digest, Vol 4, Issue 369
  • Next by thread: Re: Broken Pipe
  • Index(es):
    • Date
    • Thread