[CentOS] libtiff build error

Thu Jun 1 18:01:06 UTC 2006
Robert Moskowitz <rgm at htt-consult.com>

OK.  Trying to build libtiff here.  Info from

http://www.asteriskguru.com/tutorials/spandsp.html

Libtiff from tar:

ftp://ftp.remotesensing.org/pub/libtiff   3.8.2

put tiff-3.8.2.tar.gz in /root then tar -zxvf tiff-3.8.2.tar.gz

followed by:

/configure
make clean
make

But the make had the following error:

./libtool: line 837: g++: command not found
make[2]: *** [tif_stream.lo] Error 1
make[2]: Leaving directory `/root/tiff-3.8.2/libtiff'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/root/tiff-3.8.2/libtiff'
make: *** [all-recursive] Error 1

and make install did not work:

Making install in port
make[1]: Entering directory `/root/tiff-3.8.2/port'
make[2]: Entering directory `/root/tiff-3.8.2/port'
make[2]: Nothing to be done for `install-exec-am'.
make[2]: Nothing to be done for `install-data-am'.
make[2]: Leaving directory `/root/tiff-3.8.2/port'
make[1]: Leaving directory `/root/tiff-3.8.2/port'
Making install in libtiff
make[1]: Entering directory `/root/tiff-3.8.2/libtiff'
source='tif_stream.cxx' object='tif_stream.lo' libtool=yes \
DEPDIR=.deps depmode=none /bin/sh ../config/depcomp \
/bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. 
-I. -I. -I.      -c -o tif_stream.lo tif_stream.cxx
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I. -I. -I. -c 
tif_stream.cxx  -o .libs/tif_stream.o
./libtool: line 837: g++: command not found
make[1]: *** [tif_stream.lo] Error 1
make[1]: Leaving directory `/root/tiff-3.8.2/libtiff'
make: *** [install-recursive] Error 1

So what is missing?  And where do I start from.

It looks like things are not 'broken' from how far it got.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.centos.org/pipermail/centos/attachments/20060601/45353c8b/attachment-0003.html>