zoukankan      html  css  js  c++  java
  • LAMP编译安装遇到的问题

    apache安装

    1,

    no SSL-C headers found
    configure: error: ...No recognized SSL/TLS toolkit detected
    解决办法:
    安装openssl-devel
    2,

    ........................

    checking for gcc... no
    checking for cc... no
    checking for cl.exe... no
    configure: error: in `/root/httpd-2.2.11/srclib/apr':
    configure: error: no acceptable C compiler found in $PATH
    See `config.log' for more details.
    configure failed for srclib/apr

    查看了一下原来是错误开始于srclib/apr文件,检查gcc编译器时提示没发现并且在系统环境变量$PATH中没有合适的c编译器,以是使用yum -y install gcc来安装gcc编译器/或者用rpm包安装,就可继续安装了


    cmake安装

    1,Cannot find appropriate C++ compiler on this system.

     

    说明缺少c++编译器,因此安装 yum -y install gcc-c++


    用cmake安装mysql

    1,

    Could NOT find Curses (missing:  CURSES_LIBRARY CURSES_INCLUDE_PATH)
    先安装 ncurses-devel 包
    yum install ncurses-devel
    再删除刚才编译生成的 CMakeCache.txt 文件
    rm CMakeCache.txt
    再次执行一次cmake ...
    
    
    
    安装php
    please check your libxml2 installation
    说明没有安装libxml2,没有找到配置文件
    可下载libxml2安装包,并设置--prefix=/usr/local/libxml2.在安装php是,在configure后,-with-libxml-dir=/usr/local/libxml2
    或者使用yum安装 : yum -y install libxml2 libxml2-devel yum安装后,php安装configure后面可以不加--with-libxml
  • 相关阅读:
    tensorflow模型的保存与恢复
    Anaconda Linux端环境管理
    Windows环境下Redis集群部署
    Error fetching https://ruby.taobao.org/:RubySass淘宝镜源无效解决
    ORM 轻量级框架 Dapper(介绍)
    TypeScript 数据类型
    TypeScript 环境搭建
    微信小程序反编译
    利用Fiddler实现手机抓包
    SQL 优化常用查询
  • 原文地址:https://www.cnblogs.com/jiangu66/p/3180300.html
Copyright © 2011-2022 走看看