Attempting to build Coin-3.1.3

Latest response

I'm trying to build/install Coin-3.1.3 so I can later install FreeCAD.

I have an RHEL 6 system that's up-to-date, but I keep getting the follwing error when attempting to configure Coin:

configure: error: C++ preprocessor "/lib/cpp" fails sanity check

I've been reading online that it means I don't have a c++ compiler installed, but the process of getting one from RHEL is a bit frustrating. There doesn't seem to be one, comnprehensive C++ package to install.

Can someone give me some guidance on this?

Thanks

Responses

The C++ compiler is in the package gcc-c++.

Running yum install gcc-c++ should get it for you.

Running g++ command returns "command not found"
https://access.redhat.com/site/solutions/20756

I've done that, a couple of times while following one troubleshooting suggestion or another I've read on-line, but I always get the same return:

yum install gcc-c++
Loaded plugins: product-id, refresh-packagekit, security, subscription-manager
This system is receiving updates from Red Hat Subscription Management.
rhel-6-client-rhev-agent-rpms | 3.1 kB 00:00
rhel-6-desktop-rpms | 3.7 kB 00:00
Setting up Install Process
No package gcc-c++ available.
Error: Nothing to do

Could the problem be that I have RHEL 6 Desktop installed? That is, I believe I only built this system as a desktop system and not an all-out development system, which I believe was an option. Can't quite remember, it's been over a year since I built it.

Dale

Yes that's correct. You need the RHEL 6 Workstation channel (the relevant RHEL5 channel is also detailed on the above kbase solution).

If your account doesn't have access to the Workstation channel, Red Hat Sales should be able to help you out.

As a check, I found, under "Add/Remove Software -> Servers -> Server Platform" that the GNU Standard C++ Library is installed. I'd include a screenshot, but I'm not able to here.

Hi Dale,

You should be be able to add images either by editing and attaching them to your original post, or by linking to them using this method

You'll have the library, so you can run software written in C++, but the library does not include the compiler.

Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.