* C++ compiler not found
@ 2013-04-26 10:52 Brummer, J, Mnr <jbrummer@sun.ac.za>
2013-04-30 9:42 ` Shakthi Kannan
0 siblings, 1 reply; 3+ messages in thread
From: Brummer, J, Mnr <jbrummer@sun.ac.za> @ 2013-04-26 10:52 UTC (permalink / raw)
To: gcc-help
Hi
I was able to access the root folder. Make and the gcc C compiler is now recognized by the system, but now it tells me C++ compiler not found:
root]$ ./configure
Checking for source directory ... /home/Wiggert/Desktop/MSc/root
Configuring for linuxx8664gcc
Checking for GNU Make version >= 3.80 ... ok
Checking for C compiler ... gcc
Checking for C++ compiler ... no C++ compiler g++ found
configure: C++ compiler MUST be installed
See http://root.cern.ch/drupal/content/build-prerequisites
Any ideas?
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: C++ compiler not found
2013-04-26 10:52 C++ compiler not found Brummer, J, Mnr <jbrummer@sun.ac.za>
@ 2013-04-30 9:42 ` Shakthi Kannan
2013-04-30 11:02 ` Jonathan Wakely
0 siblings, 1 reply; 3+ messages in thread
From: Shakthi Kannan @ 2013-04-30 9:42 UTC (permalink / raw)
To: Brummer, J, Mnr; +Cc: gcc-help
Hi,
--- On Fri, Apr 26, 2013 at 4:22 PM, Brummer, J, Mnr
<jbrummer@sun.ac.za> <jbrummer@sun.ac.za> wrote:
| I was able to access the root folder.
\--
Why? You don't need to be root to build software.
---
| root]$ ./configure
\--
You need to create a "build" directory in the GCC source top-level
directory, and run:
$ ../configure
---
| Checking for C++ compiler ... no C++ compiler g++ found
|
| Any ideas?
\--
Install the g++ compiler from your distribution package manager. On
Fedora (for example), you can do:
$ sudo yum install gcc-c++
Also refer:
http://gcc.gnu.org/install/configure.html
SK
--
Shakthi Kannan
http://www.shakthimaan.com
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: C++ compiler not found
2013-04-30 9:42 ` Shakthi Kannan
@ 2013-04-30 11:02 ` Jonathan Wakely
0 siblings, 0 replies; 3+ messages in thread
From: Jonathan Wakely @ 2013-04-30 11:02 UTC (permalink / raw)
To: Shakthi Kannan; +Cc: Brummer, J, Mnr, gcc-help
On 30 April 2013 10:41, Shakthi Kannan wrote:
>
> You need to create a "build" directory in the GCC source top-level
> directory, and run:
>
> $ ../configure
Actually http://gcc.gnu.org/install/configure.html says "building
where objdir is a subdirectory of srcdir is unsupported."
Anyway the simplest solution is to just install the RPM via yum.
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2013-04-30 11:02 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-04-26 10:52 C++ compiler not found Brummer, J, Mnr <jbrummer@sun.ac.za>
2013-04-30 9:42 ` Shakthi Kannan
2013-04-30 11:02 ` Jonathan Wakely
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).