• ubuntu 可能的依赖包,安装过程中根据需要安装


    /*************依赖包安装****************/
    下面是可能的依赖包,安装过程中根据需要安装

    build-essential gcc g++ make automake autoconf re2c wget cron bzip2 libzip-dev libc6-dev file rcconf flex vim nano bison m4 gawk less make cpp binutils diffutils unzip tar bzip2 libbz2-dev unrar p7zip libncurses5-dev libncurses5 libncurses5-dev libncurses5-dev libtool libevent-dev libpcre3 libpcre3-dev libpcrecpp0 libssl-dev zlibc openssl libsasl2-dev libxml2 libxml2-dev libltdl3-dev libltdl-dev libmcrypt-dev libmysqlclient15-dev zlib1g zlib1g-dev libbz2-1.0 libbz2-dev libglib2.0-0 libglib2.0-dev libpng3 libfreetype6 libfreetype6-dev libjpeg62 libjpeg62-dev libjpeg-dev libpng-dev libpng12-0 libpng12-dev curl libcurl3 libmhash2 libmhash-dev libpq-dev libpq5 gettext libncurses5-dev libcurl4-gnutls-dev libjpeg-dev libpng12-dev libxml2-dev zlib1g-dev libfreetype6 libfreetype6-dev libssl-dev libcurl3 libcurl4-openssl-dev libcurl4-gnutls-dev mcrypt libcap-dev

    依赖安装

    apt-get install -y build-essential gcc g++ make m4 libpcre3 libpcre3-dev libcurl4-gnutls-dev libjpeg62-dev libpng12-dev libmemcached-dev
    dpkg 被中断,您必须手工运行 sudo dpkg --configure -a解决此问题。找了很多解决
    sudo rm /var/lib/dpkg/updates/*
    sudo apt-get update
    sudo apt-get upgrade
    说明:
    sudo rm /var/lib/dpkg/updates/*
    /var/lib/dpkg/updates 資料夾 裏面的檔案 有問題 使得 更新套件出現錯誤
    所以把它完全刪除 下面這個指令會 重新建立
    sudo apt-get update
    更新你的電腦裏的 可以下載套件明細
    sudo apt-get upgrade
    根據上面的套件明細 更新已安裝的套件到最新版本


    //如果php编译过程中报错如下,请安装libcurl4-gnutls-dev:
    //configure: error: Please reinstall the libcurl distribution -
    //easy.h should be in /include/curl/


    //如果php编译过程报错如下,请安装libjpeg62-dev:
    //configure: error: jpeglib.h not found.


    //如果php编译过程报错如下,请安装libpng12-dev:
    //configure: error: png.h not found.


    //安装memcahced扩张时可能报:checking for libmemcached location... configure: error: memcached support requires libmemcached. Use --with-libmemcached-dir=
    to specify the prefix where libmemcached headers and library are located.
    //请安装libmemcached-dev

  • 相关阅读:
    日志框架1---多种日志门面和日志实现初步了解(转载)
    @Autowired 与@Resource的区别(转)
    Spring 之jdbc模板(JdbcTemplate与NamedParameterJdbcTemplate)
    springMVC中的Controller里面定义全局变量
    spring批量更新数据 ---- BatchPreparedStatementSetter
    easyui树查找
    根据ID和parentID利用Java递归获取全路径名称
    一个统一将数据转换为JSON的方法
    上传图片并限制图片格式和大小
    js上传文件(图片)的格式和大小限制
  • 原文地址:https://www.cnblogs.com/yhdsir/p/4885934.html
Copyright © 2020-2023  润新知