• configure: error: no acceptable cc found in $PATH


    [lcx@111 mp3blaster-3.2.0]$ ./configure
    creating cache ./config.cache
    checking for a BSD compatible install... /usr/bin/install -c
    checking whether build environment is sane... yes
    checking whether make sets ${MAKE}... yes
    checking for working aclocal-1.4... missing
    checking for working autoconf... missing
    checking for working automake-1.4... missing
    checking for working autoheader... missing
    checking for working makeinfo... missing
    checking for gcc... no
    checking for cc... no
    configure: error: no acceptable cc found in $PATH

    [root@111 mp3]# yum install gcc gcc-c++ gcc-g77
    Setting up Install Process
    Parsing package install arguments
    No package gcc-g77 available.
    Resolving Dependencies


     编译 apache 2.2.6 @ CentOS 5.1

    CentOS 5.1 缺省安装。package 只选择gnome GUI.其他不选。

    configure 错误提示:
    checking whether to enable mod_deflate... configure: error: mod_deflate has been requested but can not be built due to prerequisite failures

    zlib-devel 没装的原因

    yum install gcc zlib-devel openssl-devel(装这个package会有一堆关联包装上)


    mysql需要安装
    gcc-c++
    libstdc++-devel
    ncurses-devel

    php
    需要如下安装包
    libxml2-devel libjpeg-devel libpng-devel freetype-devel libmcrypt-devel mhash-devel
    configure with-imap如果出现如下错误:
    rfc822.h not found .需要 libc-client-devel
    make
    出现错误 : /usr/bin/ld: cannot find -lltdl
    安装了libtool-ltdl
    需要做个软链接ln -s /usr/lib/libltdl.so.3 /usr/lib/libltdl.so

  • 相关阅读:
    VBS修改本机的账号密码
    验证是否为全局编录服务器
    通过CMD命令设置网络参数
    VBS映射网络驱动器 映射网络驱动器
    命令提示符映射网络驱动器
    获得域内包括工作组内的所有计算机及其信息
    VirtualBox安装Redhat9.0
    启动和停止Oracle服务bat脚本
    Vim常用命令
    使用为知笔记客户端发布博客到【博客园】
  • 原文地址:https://www.cnblogs.com/LCX/p/1269347.html
Copyright © 2020-2023  润新知