[PlanetCCRMA] compiling from source with gcc/g++ on Fedora Core 1

Kjetil Svalastog Matheussen k.s.matheussen@notam02.no
Wed May 26 07:36:02 2004


On Wed, 26 May 2004, Paul Barrett wrote:

> hi,
> 
> I apologise if this belongs on another list.
> 
> I am attempting to compile a c++ program on linux for the
> first time.  I have a slightly customised install of the
> planetCCRMA FC1 release (with which I have so far been very
> happy.)
> 
> Unfortunately, I don't recall if there were options to
> install or not install gcc/g++ during installation, or what
> I would have selected at the time.
> 
> I get the following error on trying to compile:
> 
> "installation problem, cannot exec `cc1plus': No such file
> or directory"
> 
> I can't find cc1plus anywhere on the system.  I also can't
> find g++ (which is what was used in the Makefile,) although
> I found references online that it had been included now in
> newer versions of gcc (which, I assume, means you no longer
> call it using g++ - that command was unrecognised.)
> 

When you have a problem like this, go to www.pbone.net and
do an advanced search for the file you are missing for the
distribution you are using.

Searching for both g++ and cc1plus gives me the answer that
I should get the "gcc-c++" package. So a "apt-get install gcc-c++"
should solve your problem.


--