g++ missing

From: Derek Gatherer (d.gatherer@vir.gla.ac.uk)
Date: Thu Dec 11 2003 - 11:35:54 EST


Hi

I'm trying to compile an application that requires g++, on Tru64 5.1B on a
Digital Alphastation 255. There is a line in the Makefile that reads:

# Dependencies: '/bin/sh', 'g++', 'gcc', 'csh', 'perl', 'sed'
CXX := $(filter /%,$(shell /bin/sh -c 'type g++'))
         @echo "ERROR: 'g++' GNU C++ compiler not found"

When I make, it fails at that point:

yoda:MUMmer3.10 58 > gnumake check
ERROR: could not find working directory
ERROR: 'g++' GNU C++ compiler not found
check complete

I'm not sure why, as I have installed gcc-3.3.1, and I thought that would
by default install g++

I tried to configure gcc-3.3.1 to use g++ using ./configure
--enable-languages=g++

and the configure failed with:

configure: error:
The following requested languages were not found: g++
The following languages were available: c ada c++ f77 java objc treelang
Configure in /mnt/yoda/yd2/gath01d/downloads/gcc-3.3.1/gcc failed, exiting.

A straight ./configure of gcc3.3.1 succeeds with the config.status file
reading:

# cat config.status
#!/bin/sh
# This file was generated automatically by configure. Do not edit.
# This directory was configured as follows:
./configure
--with-gcc-version-trigger=/mnt/yoda/yd2/gath01d/downloads/gcc-3.3.1/gcc/version.c
--host=alpha-dec-osf5.1 --norecursion
# using "mt-frag"

I then proceeded with make and install for gcc-3.3.1. However, that is no
use, as make fails on the package I need to compile, as above.

Is this something to do with gcc-3.3.1, or is there something else I need
to load to make sure I have g++?

Apologies if this is a GNU question, but the GNU documentation seems to
suggest that gcc-3.3.1 ought to give me g++, so I wonder if there is
something about Tru64 that is getting in the way....

Thanks for all assistance

Derek
_________________________

Derek Gatherer Ph.D. Cert.Ed.
Computer Officer
Institute of Virology
Church St.
Glasgow G11 5JR

Phone: +44 141 330 6268
Fax: +44 141 337 2236
Email: d.gatherer@vir.gla.ac.uk
Website: http://www.vir.gla.ac.uk



This archive was generated by hypermail 2.1.7 : Sat Apr 12 2008 - 10:49:46 EDT