zoukankan      html  css  js  c++  java
  • 在windows下执行./configure,make,makeinstall源码安装程序spice-gtk

    使用MSYS软件,在我的上一篇博客中有软件下载地址。本文使用MSYS进行源码编译spice-gtk-0.33.

    首先打开MSYS软件,进入你源码所在目录,例如:
    cd  /c/Users/Admi....../Desktop/spice-gtk-0.33       //wsj注意盘符c:用/c代替
    ./configure
    make
    make  install
    在安装前,首先确认你要安装gcc工具链,安装完毕才可进行编译(不懂怎么安装的可以参考我上一篇关于spice安装的博客),另外各个部分版本号一定要对应,另外32位就所有使用到的包、工具全都要32位,一定要保持一致!!

    在make 时出现了第一个错误:
    python  :import  six  ,no  module six。。。。。。
    安装Python的six模块就好,记得位数一致
    pacman -S mingw-w64-i686-python2-six

    第二个错误:
    make时卡在了Generated_client_demarshallers.c这上面,手动执行了一下python spice_codegen.py,发现缺少pyparsing模块,继续安装:
    pacman -S mingw-w64-i686-python2-pyparsing

    接着make,第三个错误:
    *** Error: missing valac! *** You must run autogen.sh or configure --enable-vala
    尝试执行make  clean,然后在./configure时加入
    --enable-vala配置选项,重新make

    第四个错误:
    checking for Text::CSV Perl module... not found
    configure: error: Text::CSV Perl module is required to compile this package

    pacman -S mingw-w64-i686-python2-perl
    重新make

    第五个错误:
    checking for XML::Parser... configure: error: XML::Parser perl module is required for intltool
    然后在MSYS输入 pacman -Sl|grep parser-perl,发现已经安装了,Google之后解决,解决办法:
    MSYS输入:

    perl -e shell -MCPAN
    然后选择y或者是yes
    然后输入:
    install XML::Parser进行安装
    等待安装完毕,继续make

    第六个错误:vncdisplaykeymap.c:98:42: fatal error: vncdisplaykeymap_win322xtkbd.c: No such file or directory
     #include "vncdisplaykeymap_win322xtkbd.c"
    尝试:pacman -S  mingw-w64-i686-gtk-vnc(解决中)

    转自:http://blog.sina.com.cn/s/blog_166ae58120102xvho.html

  • 相关阅读:
    Django(模板语言-自定义filter和simple_tag)
    vue项目创建步骤小结
    scrapy 相关
    face parsing(人脸解析)
    FSRNet: End-to-End Learning Face Super-Resolution with Facial Priors论文阅读
    第一周,深度学习的实用层面
    如何阅读英文文献
    学习笔记
    Joint Super-Resolution and Alignment of Tiny Faces
    Super-FAN:Integrated facial landmark localization and super-resolution of real-world low resolution faces in arbitrary poses with GANs论文阅读
  • 原文地址:https://www.cnblogs.com/liushui-sky/p/9374425.html
Copyright © 2011-2022 走看看