【问题标题】:error installing gd librarry for mapserver为 mapserver 安装 gd 库时出错
【发布时间】:2015-02-05 05:37:37
【问题描述】:

在编译和安装mapserver-6.4.1的源代码之前,我正在安装所有外部和必需的库

除了libgd,我已经成功安装了所有库。

我已经从here下载了libgd

我按照下面的过程来编译 gd 库。但我在这方面遇到了错误。

[root@localhost /]# cd /usr/local/src/libgd-master

[root@localhost libgd-master]# ./configure

[root@localhost libgd-master]# -bash: ./configure: No such file or directory

【问题讨论】:

  • 尝试bash configure 如果它不起作用,然后发布ls 命令的输出。

标签: linux bash gd rhel5 mapserver


【解决方案1】:

在执行./configure之前 运行

automake

之后将生成文件configure

【讨论】:

  • automake 是源代码目录中的文件还是工具或其他库?我在gdlib源代码目录中搜索,我没有找到像automake这样的文件
  • automake 是一个工具/命令。这将解析configure.ac 文件以生成configure 脚本
【解决方案2】:

为什么不为 libgd 安装系统 rpm?

http://rpm.pbone.net/index.php3/stat/4/idpl/15161687/dir/redhat_el_6/com/libgd2-2.0.33-2_11.el6.x86_64.rpm.html

或者你可能想要 el7 包。

您可以将 automake 作为 autotools 包的一部分进行安装。

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 2016-05-04
    • 1970-01-01
    • 2017-02-04
    • 1970-01-01
    • 2017-11-19
    • 1970-01-01
    • 2012-05-21
    • 1970-01-01
    相关资源
    最近更新 更多