Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com From: "Steven Vernon" To: Subject: Re: Not (?) The Same Old g++ "installation problem, cannot exec" Date: Fri, 28 Feb 2003 14:41:47 -0800 Message-ID: <000001c2df7a$94354b40$8632a8c0@internal.credolink.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 > On Fri, Feb 28, 2003 at 10:39:05AM -0800, Steven Vernon wrote: > >I got the infamous "g++: installation problem, cannot exec `cc1plus': No > >such file or directory" problem on cygwin. I have tried all sorts of > >solutions/investigations, but nothing has helped. > chmod -R a+r / > chmod -R a+x /bin lib/gcc-lib/i686-pc-cygwin/3.2/*.exe > cgf Thanks Christopher, that fixed everything. It even fixed a couple of other problems (such as vi not understanding my terminal and man not working). I still have the remaining question: if I did an install for "all users" why are the permissions wrong for all users to use it properly? Also there was one buggy thing in chmod, which was that it does not appear to like "/": $ chmod -R a+r / chmod: getting attributes of `//bin': No such file or directory chmod: getting attributes of `//cygwin.bat': No such file or directory chmod: getting attributes of `//cygwin.ico': No such file or directory chmod: getting attributes of `//etc': No such file or directory chmod: getting attributes of `//home': No such file or directory chmod: getting attributes of `//lib': No such file or directory chmod: getting attributes of `//packages': No such file or directory chmod: getting attributes of `//sbin': No such file or directory chmod: getting attributes of `//tmp': No such file or directory chmod: getting attributes of `//usr': No such file or directory chmod: getting attributes of `//var': No such file or directory Doing "cd / ; chmod -R a+r ." worked. Thanks again. Steven Vernon Credolink Systems, Inc. -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/