delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2004/01/28/10:16:57

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
X-Authentication-Warning: slinky.cs.nyu.edu: pechtcha owned process doing -bs
Date: Wed, 28 Jan 2004 10:16:33 -0500 (EST)
From: Igor Pechtchanski <pechtcha AT cs DOT nyu DOT edu>
Reply-To: cygwin AT cygwin DOT com
To: David Balazic <david DOT balazic AT hermes DOT si>
cc: cygwin AT cygwin DOT com
Subject: Re: Lost g++ after update
In-Reply-To: <600B91D5E4B8D211A58C00902724252C01BC04D3@piramida.hermes.si>
Message-ID: <Pine.GSO.4.56.0401281005560.5576@slinky.cs.nyu.edu>
References: <600B91D5E4B8D211A58C00902724252C01BC04D3 AT piramida DOT hermes DOT si>
MIME-Version: 1.0

On Wed, 28 Jan 2004, David Balazic wrote:

> A few days ago I downloaded the actual setup.exe ( version 2.416 ) and run
> it to update my cygwin installation.
> I just pressed "Next" on each page. After it finished , I rebooted ( it
> suggested so ).
>
> Then I noticed that I don't have g++ any more :
>
> $ g++ xxx.cpp
> bash: g++: command not found
>
> $ gcc xxx.cpp
> gcc: installation problem, cannot exec `cc1plus': No such file or directory

Install the "gcc-g++" package.  A package search at
<http://cygwin.com/packages/> for "bin/g\+\+.exe" should have found it,
but there seems to be a bug (which I'm looking into) that truncates the
match list before it displays "gcc-g++", which may have prompted this
question.

> I also noticed that "cygcheck -c" reports that the package texinfo is
> not OK (status was something else than OK, don't remember what exactly).

It would have been either "OK" or "Incomplete".  You could have added a
"-v" option to cygcheck to find out exactly what is missing (i.e., run
"cygcheck -cv").

> Then I run setup again and set it to reinstall gcc and texinfo. After that
> texinfo is OK, but g++ is still missing.
>
> Any clue what happened ?
>
> I am now running setup.exe again and manually selecting gcc-g++.
> It just finished. g++ works again.
>
> Why did it disappear ?
>
> Regards,
> David

Because setup by default only upgrades the packages you had installed or
their dependences.  "gcc-g++" was neither.  Reading the release
announcement would have been helpful here.
	Igor
-- 
				http://cs.nyu.edu/~pechtcha/
      |\      _,,,---,,_		pechtcha AT cs DOT nyu DOT edu
ZZZzz /,`.-'`'    -.  ;-;;,_		igor AT watson DOT ibm DOT com
     |,4-  ) )-,_. ,\ (  `'-'		Igor Pechtchanski, Ph.D.
    '---''(_/--'  `-'\_) fL	a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

"I have since come to realize that being between your mentor and his route
to the bathroom is a major career booster."  -- Patrick Naughton

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019