Re: Fixed: C compiler cannot create executables

2008-09-28 Thread Martin Krischik
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Am 27.09.2008 um 23:45 schrieb Jeffrey Goldberg: On Sep 26, 2008, at 4:07 PM, Michel Salim wrote: Wonder if at some point /usr/local got erased, and then some script did a 'touch /usr/local' on your system, recreating it as a file. He said it

Re: Fixed: C compiler cannot create executables

2008-09-28 Thread Anders F Björklund
Martin Krischik wrote: He said it was 13MB. So my guess is that some script did a cp foo /usr/local expected that /usr/local already existed as a directory. This is why the --target-directory was invented (at least for gnu's cp). Very helpful for scripts. Also very helpful is setopt

Re: Fixed: C compiler cannot create executables

2008-09-27 Thread Jeffrey Goldberg
On Sep 26, 2008, at 4:07 PM, Michel Salim wrote: Wonder if at some point /usr/local got erased, and then some script did a 'touch /usr/local' on your system, recreating it as a file. He said it was 13MB. So my guess is that some script did a cp foo /usr/local expected that /usr/local

Re: Fixed: C compiler cannot create executables

2008-09-26 Thread Michel Salim
On Fri, Sep 26, 2008 at 5:45 AM, Otto Roberson Bertsch [EMAIL PROTECTED] wrote: Thanks to Ryan for his very rapid and effective response! The culprit was that /usr/local/ was not a directory but instead a file. That's very strange, but a sudo mv /usr/local /usr/local-off got me going again.