linux下绘图工具dia
Posted
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了linux下绘图工具dia相关的知识,希望对你有一定的参考价值。
官网:https://wiki.gnome.org/Apps/Dia
[[email protected] 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]
[[email protected] data]# mkdir -p /data/app/dia [[email protected] Software]# tar -xjvf dia-0.96.1.tar.bz2 [[email protected] Software]# cd dia-0.96.1 [[email protected] 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
[[email protected] Software]# yum install perl-XML-Parser [[email protected] dia-0.96.1]# ./configure --prefix=/data/app/dia --enable-gnome checking pkg-config is at least version 0.9.0... yes checking for GMODULE... configure: error: Package requirements (gmodule-2.0 gobject-2.0) were not met: No package ‘gmodule-2.0‘ found No package ‘gobject-2.0‘ found Consider adjusting the PKG_CONFIG_PATH environment variable if you installed software in a non-standard prefix. Alternatively, you may set the environment variables GMODULE_CFLAGS and GMODULE_LIBS to avoid the need to call pkg-config. See the pkg-config man page for more details. 又有报错!!!!
[[email protected] dia-0.96.1]# yum install libgnomeui-devel [[email protected] dia-0.96.1]#make && make install ../../libtool: line 1281: g++: command not found make[3]: *** [wmf.lo] Error 1 make[3]: Leaving directory `/data/Software/dia-0.96.1/plug-ins/wmf‘ make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/data/Software/dia-0.96.1/plug-ins‘ make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/data/Software/dia-0.96.1‘ make: *** [all] Error 2
[[email protected] dia-0.96.1]# yum -y install gcc+ gcc-c++
[[email protected] dia-0.96.1]# make && make install #安装成功!!!!
以上是关于linux下绘图工具dia的主要内容,如果未能解决你的问题,请参考以下文章
linux打开终端如何启动scala,如何在终端下运行Scala代码片段?