linux - 在 Linux 上编译 libtiff 4.0 beta 时遇到问题

标签 linux gcc compilation libtiff

我正在尝试使用 gcc 将 libtiff 4.0 beta 编译为 Ubuntu 10.10 上的静态库。似乎可以很好地编译 libjpeg 和 libz,它们是依赖项。这是我得到的错误

    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

关于如何解决这个问题有什么想法吗?

最佳答案

安装 g++ 包 。

关于linux - 在 Linux 上编译 libtiff 4.0 beta 时遇到问题,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/5395320/

相关文章:

c - Raspberry Pi 上的 rodata

c++ - 为什么在添加更多变量和/或指令时程序大小保持不变?

具有返回类型的 Java 方法在没有返回语句的情况下编译

linux - 使用 GitHub API 自动化包编译过程

linux - POSIX:FreeBSD 与 Linux 中的管道系统调用

c - gcc 和 GNU ld 链接器 - 生成具有强制固定地址/偏移量的静态链接代码

c - 抑制警告 : the use of `mktemp' is dangerous

linux - Bash:返回值不完整

linux - 解析bash中两个字符串之间的值

ASP.NET 编译模式“自动”与“从不”