Mailing Lists: Apple Mailing Lists
Image of Mac OS face in stamp
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"



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>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2011 Apple Inc. All rights reserved.