This is the mail archive of the cygwin@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Not (?) The Same Old g++ "installation problem, cannot exec"


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]