• 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: Xcode 2.4: "fatal error: error writing to -: Broken pipe"
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Xcode 2.4: "fatal error: error writing to -: Broken pipe"


  • Subject: Re: Xcode 2.4: "fatal error: error writing to -: Broken pipe"
  • From: Andrés Valenciano <email@hidden>
  • Date: Sun, 13 Aug 2006 11:26:34 -0600

Chris Espinosa wrote:
>
> On Aug 13, 2006, at 9:13 AM, Andrés Valenciano wrote:
>> More info: I did a compilation without problems with an Admin account.
>>
> That's a clue: are you using the same userid as you were before?
Yes, no changes there.

> If you build your project as Admin, then try to run it as a user, you may not
> have privileges to read some of the intermediate and debug files that
> were written by admin.
I did the compilation under and admin account as a test.


I tracked the error but I have no clue about what caused it.


>From the build process in Xcode:
"powerpc-apple-darwin8-gcc-4.0.1: installation problem, cannot exec
'as': No such file or directory"

What? Well the file exists in /usr/bin, if I use the Terminal for the
build gcc-4.0 compilation instruction it works.

Now the man page for powerpc-apple-darwin8-gcc-4.0.1 states that using
-print-search-dirs "...is useful when gcc prints the error message
installation problem, cannot exec cpp0: No such file or directory. "

Using Terminal that parameter shows several directories under
/usr/libexec/gcc/powerpc-apple-darwin8/4.0.1/ and
/usr/lib/gcc/powerpc-apple-darwin8/4.0.1/. It even shows some non
existent directories, like:
/usr/lib/gcc/powerpc-apple-darwin8/4.0.1/../../../../powerpc-apple-darwin8/bin/


After creating a symbolic link in
/usr/libexec/gcc/powerpc-apple-darwin8/4.0.1/ for ld and as, the
compilation works for PPC architecture and to make it work for Intel
architecture I added the same two symbolic links to
/usr/libexec/gcc/i686-apple-darwin8/4.0.1


Now I have two questions:

1. Is that the way to fix it?
2. Why it happened?


Thanks.

-Andrés
 _______________________________________________
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

References: 
 >Xcode 2.4: "fatal error: error closing -: Broken pipe" (From: Andrés Valenciano <email@hidden>)
 >Re: Xcode 2.4: "fatal error: error writing to -: Broken pipe" (was: Re: Xcode 2.4: "fatal error: error closing -: Broken pipe" ) (From: Andrés Valenciano <email@hidden>)
 >Re: Xcode 2.4: "fatal error: error writing to -: Broken pipe" (was: Re: Xcode 2.4: "fatal error: error closing -: Broken pipe" ) (From: Chris Espinosa <email@hidden>)

  • Prev by Date: Re: MS Excel 2004 XLL addin in xcode
  • Next by Date: Re: Xcode 2.4: "fatal error: error closing -: Broken pipe"
  • Previous by thread: Re: Xcode 2.4: "fatal error: error writing to -: Broken pipe" (was: Re: Xcode 2.4: "fatal error: error closing -: Broken pipe" )
  • Next by thread: Re: Xcode 2.4: "fatal error: error closing -: Broken pipe"
  • Index(es):
    • Date
    • Thread