Question

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?

Was it helpful?

Solution

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.

OTHER TIPS

​Install​ the g++ package​.​

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top