您好我试图在CentOS 7.3上安装qgis-mapserver。
以下是我遵循的步骤:
yum install epel-release
sudo rpm -Uvh http://elgis.argeo.org/repos/6/elgis-release-6-6_0.noarch.rpm
yum search qgis-mapserver
,它是(qgis-mapserver.x86_64 : FCGI based OGC web map server
)yum install qgis-mapserver
,我得到的似乎是依赖性问题这是输出:
Loaded plugins: fastestmirror, langpacks
Loading mirror speeds from cached hostfile
* base: mirror.tobias-wollmann.com
* epel: mirror.de.leaseweb.net
* extras: mirror.crazynetwork.it
* updates: centos.copahost.com
Resolving Dependencies
--> Running transaction check
---> Package qgis-mapserver.x86_64 0:1.8.0-9_0.el6 will be installed
--> Processing Dependency: qgis(x86-64) = 1.8.0-9_0.el6 for package: qgis-mapserver-1.8.0-9_0.el6.x86_64
--> Processing Dependency: libspatialindex.so.1()(64bit) for package: qgis-mapserver-1.8.0-9_0.el6.x86_64
--> Processing Dependency: libqgis_core.so.1.8.0()(64bit) for package: qgis-mapserver-1.8.0-9_0.el6.x86_64
--> Processing Dependency: libqgis_analysis.so.1.8.0()(64bit) for package: qgis-mapserver-1.8.0-9_0.el6.x86_64
--> Running transaction check
---> Package qgis.x86_64 0:1.8.0-9_0.el6 will be installed
--> Processing Dependency: libspatialite.so.2()(64bit) for package: qgis-1.8.0-9_0.el6.x86_64
--> Processing Dependency: libspatialindex.so.1()(64bit) for package: qgis-1.8.0-9_0.el6.x86_64
--> Processing Dependency: libqwtpolar.so.0()(64bit) for package: qgis-1.8.0-9_0.el6.x86_64
--> Processing Dependency: libqwt.so.5()(64bit) for package: qgis-1.8.0-9_0.el6.x86_64
---> Package qgis-mapserver.x86_64 0:1.8.0-9_0.el6 will be installed
--> Processing Dependency: libspatialindex.so.1()(64bit) for package: qgis-mapserver-1.8.0-9_0.el6.x86_64
--> Running transaction check
---> Package libspatialite.x86_64 0:2.4.0-0.6_0.RC4.el6 will be installed
---> Package qgis.x86_64 0:1.8.0-9_0.el6 will be installed
--> Processing Dependency: libspatialindex.so.1()(64bit) for package: qgis-1.8.0-9_0.el6.x86_64
--> Processing Dependency: libqwtpolar.so.0()(64bit) for package: qgis-1.8.0-9_0.el6.x86_64
--> Processing Dependency: libqwt.so.5()(64bit) for package: qgis-1.8.0-9_0.el6.x86_64
---> Package qgis-mapserver.x86_64 0:1.8.0-9_0.el6 will be installed
--> Processing Dependency: libspatialindex.so.1()(64bit) for package: qgis-mapserver-1.8.0-9_0.el6.x86_64
--> Finished Dependency Resolution
Error: Package: qgis-1.8.0-9_0.el6.x86_64 (elgis)
Requires: libqwtpolar.so.0()(64bit)
Error: Package: qgis-1.8.0-9_0.el6.x86_64 (elgis)
Requires: libqwt.so.5()(64bit)
Error: Package: qgis-1.8.0-9_0.el6.x86_64 (elgis)
Requires: libspatialindex.so.1()(64bit)
Error: Package: qgis-mapserver-1.8.0-9_0.el6.x86_64 (elgis)
Requires: libspatialindex.so.1()(64bit)
You could try using --skip-broken to work around the problem
** Found 3 pre-existing rpmdb problem(s), 'yum check' output follows:
ipa-client-4.4.0-14.el7.centos.6.x86_64 has installed conflicts freeipa-client: ipa-client-4.4.0-14.el7.centos.6.x86_64
ipa-client-common-4.4.0-14.el7.centos.6.noarch has installed conflicts freeipa-client-common: ipa-client-common-4.4.0-14.el7.centos.6.noarch
ipa-common-4.4.0-14.el7.centos.6.noarch has installed conflicts freeipa-common: ipa-common-4.4.0-14.el7.centos.6.noarch
非常感谢任何帮助。谢谢
答案 0 :(得分:0)
不再维护ELGIS存储库,使用从Centos 7.x开始的EPEL
该软件包已重命名(从 qgis-mapserver 到 qgis-server )现在调用EPEL Mapserver qgis-server.x86_64 :基于FCGI的OGC网络地图服务器
另见他们的邮件列表。 (http://lists.osgeo.org/pipermail/el/2017-April/thread.html)