GCC is only a C Compiler. What you need to compile C++ is g++, the GNU C++ compiler. Most distributions package this separately to GCC.
You can see whether or not you have a C++ compiler installed by entering (I think ... It's been a while) `c++ --version' at the command line.


HTH,

Matt

At 08:50 17/06/2003, Robert Tillsley wrote:
Hi Guys

I downloaded and tried to install courier 0.42.2 from source on my Suse 8.1
system.
I discovered I didn't have a compiler, so installed gcc 3.2 from CD(using
the suse setup software).

I had unzipped as root, so it had to delete what I'd unzipped, logged in as
a standard user, battled with file permissions and then untarred.

When I run ./configure it goes for a long time and then has the following
errors:

Checking for c++ compiler default output
configure: error: C++ compliter cannot create executables.

configure: error: c++ : /bin/sh: /configure failed for module.local
configure: error: c++ : /bin/sh: /configure failed for courier

I was wondering if people could suggest what I should be looking to fix. Is
it a problem with gcc or with courier. I'm thinking with gcc as I didn't
choose anything special with the ./configure. Perhaps I might try installing
something else and see if similar problems arise.

Regards

Rob T

*************************************************************
This mail, including any attached files may contain
confidential and privileged information for the sole
use of the intended recipient(s). Any review, use,
distribution or disclosure by others is strictly prohibited.
If you are not the intended receipient (or authorised to
receive information for the recipient), please contact
the sender by reply e-mail and delete all copies of
this message.
*************************************************************
--
SLUG - Sydney Linux User's Group - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug


--
SLUG - Sydney Linux User's Group - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug

Reply via email to