zoukankan      html  css  js  c++  java
  • centos 编译安装mono

    yum -y install httpd httpd-devel make glib2-devel libpng-devel libjpeg-devel 
    giflib-devel libtiff-devel libX11-devel gcc* fontconfig-devel bison gettext bzip2  
    libtool automake autoconf wget unzip


    directory we will be installing mono in

    mkdir -p /opt/mono 
    
    cd /tmp

    Download & extract source

    wget http://download.mono-project.com/sources/mono/mono-2.10.2.tar.bz2
    wget http://download.mono-project.com/sources/xsp/xsp-2.10.2.tar.bz2
    wget http://download.mono-project.com/sources/mod_mono/mod_mono-2.10.tar.bz2
    wget http://download.mono-project.com/sources/libgdiplus/libgdiplus-2.10.tar.bz2
    
    tar -xjf mono-2.10.2.tar.bz2
    tar -xjf xsp-2.10.2.tar.bz2
    tar -xjf mod_mono-2.10.tar.bz2
    tar -xjf libgdiplus-2.10.tar.bz2

    compile and install libgdiplus

    cd libgdiplus-2.10./configure --prefix=/opt/mono
    make ; make install

    compile and install mono

    cd ../mono-2.10.2./configure  --prefix=/opt/mono --with-libgdiplus=/opt/mono
    make ; make install

    Set enviroment vars(make sure to also modify ~/.bash_profile)

    export PATH=$PATH:/opt/mono/bin
    export PKG_CONFIG_PATH=/opt/mono/lib/pkgconfig

    compile and install xsp

    cd ../xsp-2.10.2./configure --prefix=/opt/mono
    make ; make install

    compile and install mod_mono

    cd ../mod_mono-2.10./configure --prefix=/opt/mono --with-mono-prefix=/opt/mono
    make ; make install
    
    
    mv /etc/httpd/conf/mod_mono.conf /etc/httpd/conf.d/


    http://stackoverflow.com/questions/14901271/installing-mod-mono-and-xsp4-on-centos-6-3
  • 相关阅读:
    移植thinkPHP的dump()函数
    PHP生成linux命令行进度条
    没有ORM库的时候,通过PDO连接MySQL的方法
    mysql json字符串 解析成对应字段
    linux上安装并启动nginx
    linux上启动redis
    mui的input搜索框里的清除按钮的点击监听事件
    miniui 修改input样式及弹出框按钮文字
    js 删除数组元素的方法
    miniui反选
  • 原文地址:https://www.cnblogs.com/moher/p/3105284.html
Copyright © 2011-2022 走看看