Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

Makefile/gcc problem -'cc1plus'

Posted on 1998-11-04
3
Medium Priority
?
715 Views
Last Modified: 2012-06-21
I was trying to install the algorithm animation software: POLKA, but for some reason, the gcc compiler gives me an error when I run the Makefile:

gcc -I. -I/usr/include/X11 -c polkawidgetathena.C
gcc: installation problem, cannot exec `cc1plus': No such file or directory

      I don't see why it's trying to run 'cc1plus', there's nothing in the Makefile with this, and nothing in the .C file either.  Any ideas where it's getting this from, and how I can get by it?
0
Comment
Question by:sackeri
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
3 Comments
 
LVL 51

Accepted Solution

by:
ahoffmann earned 200 total points
ID: 1638446
Your file extension is .C (capital C), so gcc asumes a C++ file and calls cc1plus.
Fix your gcc installation (including PATH), or rename your file if it is traditional c
0
 

Author Comment

by:sackeri
ID: 1638447
That was it!  Thanks a lot ahoffmann.
0
 

Expert Comment

by:dcjackson
ID: 3089293
I am getting the exact error sackeri was getting except i am using c++.

How should I go about fixing my gcc installation?

Oh, and here is another question:  I have heard that I should use g++ command to compile c++ software.  My gcc command works but the g++ command is not found.

Any ideas?
Thanks
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Setting up Secure Ubuntu server on VMware 1.      Insert the Ubuntu Server distribution CD or attach the ISO of the CD which is in the “Datastore”. Note that it is important to install the x64 edition on servers, not the X86 editions. 2.      Power on th…
The purpose of this article is to demonstrate how we can use conditional statements using Python.
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
Suggested Courses

721 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question