博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
linux下绘图工具dia
阅读量:6897 次
发布时间:2019-06-27

本文共 2351 字,大约阅读时间需要 7 分钟。

 

官网:https://wiki.gnome.org/Apps/Dia

[root@ok Software]# wget --limit-rate=100k ftp://ftp.gnome.org/pub/gnome/sources/dia/0.96/dia-0.96.1.tar.bz2--2016-09-29 20:40:50--  ftp://ftp.gnome.org/pub/gnome/sources/dia/0.96/dia-0.96.1.tar.bz2           => “dia-0.96.1.tar.bz2”Resolving ftp.gnome.org... 130.239.18.173, 130.239.18.165, 2001:6b0:e:2018::165, ...Connecting to ftp.gnome.org|130.239.18.173|:21... connected.Logging in as anonymous ... Logged in!==> SYST ... done.    ==> PWD ... done.==> TYPE I ... done.  ==> CWD (1) /pub/gnome/sources/dia/0.96 ... done.==> SIZE dia-0.96.1.tar.bz2 ... 4445553==> PASV ... done.    ==> RETR dia-0.96.1.tar.bz2 ... done.Length: 4445553 (4.2M) (unauthoritative)100%[======================================>] 4,445,553   12.6K/s   in 6m 37s   2016-09-29 20:47:33 (10.9 KB/s) - “dia-0.96.1.tar.bz2” saved [4445553]
[root@ok data]# mkdir -p /data/app/dia[root@ok Software]# tar -xjvf dia-0.96.1.tar.bz2 [root@ok Software]# cd dia-0.96.1[root@ok dia-0.96.1]# ./configure --prefix=/data/app/dia --enable-gnome下面的报错!!!checking for XML::Parser... configure: error: XML::Parser perl module is required for intltool

这是因为XML-Parser缺失而造成的,解决方法是进行这装下载XML-Parser

[root@ok Software]# yum install perl-XML-Parser[root@ok dia-0.96.1]# ./configure --prefix=/data/app/dia --enable-gnomechecking pkg-config is at least version 0.9.0... yeschecking for GMODULE... configure: error: Package requirements (gmodule-2.0 gobject-2.0) were not met:No package 'gmodule-2.0' foundNo package 'gobject-2.0' foundConsider adjusting the PKG_CONFIG_PATH environment variable if youinstalled software in a non-standard prefix.Alternatively, you may set the environment variables GMODULE_CFLAGSand GMODULE_LIBS to avoid the need to call pkg-config.See the pkg-config man page for more details.又有报错!!!!
[root@ok dia-0.96.1]# yum install libgnomeui-devel[root@ok dia-0.96.1]#make && make install../../libtool: line 1281: g++: command not foundmake[3]: *** [wmf.lo] Error 1make[3]: Leaving directory `/data/Software/dia-0.96.1/plug-ins/wmf'make[2]: *** [all-recursive] Error 1make[2]: Leaving directory `/data/Software/dia-0.96.1/plug-ins'make[1]: *** [all-recursive] Error 1make[1]: Leaving directory `/data/Software/dia-0.96.1'make: *** [all] Error 2
[root@ok dia-0.96.1]# yum -y install gcc+ gcc-c++
[root@ok dia-0.96.1]# make && make install#安装成功!!!!

转载地址:http://ldddl.baihongyu.com/

你可能感兴趣的文章
angularjs等号运算
查看>>
LeetCode: Symmetric Tree 解题报告
查看>>
C# 线程手册 第五章 扩展多线程应用程序 CLR 和 线程
查看>>
html a name href
查看>>
JavaScript中json对象和string对象之间相互转化
查看>>
arm程序的反汇编程序
查看>>
SQL Server 2008数据库的一些基本概念
查看>>
在ASP.NET中重写URL
查看>>
职业化
查看>>
linux进程调度策略(SCHED_OTHER,SCHED_FIFO,SCHED_RR)
查看>>
栈,队列,双端队列
查看>>
提升WordPress站点速度的八个建议
查看>>
love2d教程32--碎图打包器texturepacker
查看>>
POJ1273:Drainage Ditches(最大流入门 EK,dinic算法)
查看>>
[Linux] 安装JBoss - CentOS
查看>>
Neutron 理解 (3): Open vSwitch + GRE/VxLAN 组网 [Netruon Open vSwitch + GRE/VxLAN Virutal Network]...
查看>>
Linq专题之提高编码效率—— 第三篇 你需要知道的枚举类
查看>>
流域水文模拟
查看>>
Linux 中 SVN 重启关闭
查看>>
Vue系列:在vux的popup组件中使用百度地图遇到显示不全的问题
查看>>