keepitreall89
keepitreall89

Reputation: 1230

Trouble compiling libtiff 4.0 beta on linux

I'm trying to compile libtiff 4.0 beta to a static library on Ubuntu 10.10 using gcc. It seems to compile the libjpeg and libz fine, which are dependencies. Here is the error I am getting

    libtool: link: ( cd ".libs" && rm -f "libtiff.la" && ln -s "../libtiff.la" "libtiff.la" )
\
    source='tif_stream.cxx' object='tif_stream.lo' libtool=yes \
    DEPDIR=.deps depmode=none /bin/bash ../config/depcomp \
    /bin/bash ../libtool  --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H -I.      -c -o tif_stream.lo tif_stream.cxx
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -c tif_stream.cxx  -o .libs/tif_stream.o
../libtool: line 990: g++: command not found

Any ideas on how I can fix this?

Upvotes: 0

Views: 1204

Answers (2)

Tom Macdonald
Tom Macdonald

Reputation: 6593

I think that your compile chain is incomplete. On ubuntu, try installing the package called build-essentials. That should pull in all the tools needed to compile c and c++ libraries.

Upvotes: 1

Ignacio Vazquez-Abrams
Ignacio Vazquez-Abrams

Reputation: 798804

​Install​ the g++ package​.​

Upvotes: 3

Related Questions