From owner-freebsd-ports@FreeBSD.ORG Wed Mar 19 09:00:57 2014 Return-Path: Delivered-To: ports@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id A2170AAA for ; Wed, 19 Mar 2014 09:00:57 +0000 (UTC) Received: from design24.letzebuerg.net (design24.letzebuerg.net [144.76.164.51]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 5DC91965 for ; Wed, 19 Mar 2014 09:00:57 +0000 (UTC) Received: from [88.207.187.98] (port=56702 helo=[192.168.0.32]) by design24.letzebuerg.net with esmtpsa (TLSv1:DHE-RSA-AES128-SHA:128) (Exim 4.82) (envelope-from ) id 1WQBkU-0006H9-TR for ports@FreeBSD.org; Wed, 19 Mar 2014 09:21:19 +0100 Message-ID: <5329537F.1040504@metrico.lu> Date: Wed, 19 Mar 2014 09:21:19 +0100 From: Frank Broniewski User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.3.0 MIME-Version: 1.0 To: ports@FreeBSD.org Subject: graphics/mapserver Python mapscript fails X-Enigmail-Version: 1.5.2 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - design24.letzebuerg.net X-AntiAbuse: Original Domain - freebsd.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - metrico.lu X-Get-Message-Sender-Via: design24.letzebuerg.net: authenticated_id: brfr@metrico.lu X-Source: X-Source-Args: X-Source-Dir: X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 19 Mar 2014 09:00:57 -0000 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 _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