Date: Wed, 19 Mar 2014 09:21:19 +0100 From: Frank Broniewski <brfr@metrico.lu> To: ports@FreeBSD.org Subject: graphics/mapserver Python mapscript fails Message-ID: <5329537F.1040504@metrico.lu>
next in thread | raw e-mail | index | archive | help
Hi, I can't seem to build mapserver-6.4.0_1 with Python mapscript. I noticed the following lines at the end of the mapscript build: ===> Registering installation for mapserver-6.4.0_1 pkg-static: lstat(/usr/local/lib/python2.7/site-packages/mapscript.py): No such file or directory pkg-static: lstat(/usr/local/lib/python2.7/site-packages/mapscript.pyc): No such file or directory pkg-static: lstat(/usr/local/lib/python2.7/site-packages/_mapscript.so): No such file or directory pkg-static: lstat(/usr/local/lib/python2.7/site-packages/MapScript-6.4.0-py2.7.egg-info): No such file or directory Installing mapserver-6.4.0_1... done And import mapscript in Python yields an error: File "/usr/local/lib/python2.7/site-packages/MapScript-6.2.1-py2.7-freebsd-9.1-RELEASE-p7-amd64.egg/mapscript.py", line 25, in <module> _mapscript = swig_import_helper() File "/usr/local/lib/python2.7/site-packages/MapScript-6.2.1-py2.7-freebsd-9.1-RELEASE-p7-amd64.egg/mapscript.py", line 21, in swig_import_helper _mod = imp.load_module('_mapscript', fp, pathname, description) ImportError: Shared object "libmapserver-6.2.1.so" not found, required by "_mapscript.so" Apparently there's still an old lib link flying around. Rebuilding Python didn't help though. This is on > uname -a FreeBSD frodo.metrico 9.2-RELEASE-p3 FreeBSD 9.2-RELEASE-p3 #0: Sat Jan 11 03:25:02 UTC 2014 root@amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC amd64 Any ideas? Frank -- Frank BRONIEWSKI METRICO s.à r.l. géomètres technologies d'information géographique rue des Romains 36 L-5433 NIEDERDONVEN tél.: +352 26 74 94 - 28 fax.: +352 26 74 94 99 http://www.metrico.lu
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?5329537F.1040504>