Official website: 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-- .- the- in -: +: ---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|: +... connected. Logginginch asAnonymous ... Loggedinch!==> 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) -%[======================================>]4,445,553 A.6k/sinch6m 37s .- the- in -: -: -(10.9KB/S)-"dia-0.96.1. tar.bz2 "Saved [4445553]
[Email protected] data]# mkdir-p/data/app/-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- for was for Intltool
This is due to the lack of xml-parser, the solution is to carry out this download Xml-parser
[email protected] software]# Yum install perl-xml-Parser[[email protected] Dia-0.96.1]#./configure--prefix=/data/app/dia--enable-gnomechecking Pkg-config isAt least version0.9.0. .. yeschecking forGmodule Configure:error:Package Requirements (gmodule-2.0gobject-2.0) were not met:no package'gmodule-2.0'Foundno Package'gobject-2.0'Foundconsider Adjusting the pkg_config_path environment variableifyouinstalled SoftwareinchA non-Standard prefix. Alternatively, maySetThe environment variables Gmodule_cflagsand gmodule_libs to avoid the need -call pkg-CONFIG. See the PKG-config Mans page formore details. and an error!!!!
[Email protected] dia-0.96.1]# Yum Install libgnomeui-Devel[[email protected] Dia-0.96.1] #make &&Make install./.. /libtool:line1281: g++: Command not foundmake[3]: * * * [Wmf.lo] Error1make[3]: Leaving directory '/data/software/dia-0.96.1/plug-ins/wmf'make[2]: * * * [all-recursive] Error1make[2]: Leaving directory '/data/software/dia-0.96.1/plug-ins'make[1]: * * * [all-recursive] Error1make[1]: Leaving directory '/data/software/dia-0.96.1'Make: * * * [ALL] Error2
[Email protected] dia-0.96. 1] # yum-y Install gcc+ gcc-c++
[Email protected] dia-0.96. 1] # make && make install# installation success!!!!
Linux under Drawing tool dia