From owner-freebsd-ports@FreeBSD.ORG Fri Sep 6 16:05:45 2013 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 106B1AE3; Fri, 6 Sep 2013 16:05:45 +0000 (UTC) (envelope-from wenheping@gmail.com) Received: from mail-qc0-x232.google.com (mail-qc0-x232.google.com [IPv6:2607:f8b0:400d:c01::232]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id B30792B61; Fri, 6 Sep 2013 16:05:44 +0000 (UTC) Received: by mail-qc0-f178.google.com with SMTP id r5so1800466qcx.23 for ; Fri, 06 Sep 2013 09:05:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=597nLyZXyHzN9ayEYExlsG8iIZQbJm8hbG4JnRTO5sU=; b=bkaVXMICdb0OdT2tJzz+N2+/jEXBcytEUtXpor6dnCB4WpmRDZIF/o+urIp4eWPWxk He5vhkQqGJdHCM2GsMy4ey+A745ArLWRECFo2RirTsQGVktXMLUdIDqLbhyRke0oTR0x mvZevGwURF4RPZnkpZK91ADS/Ne/J/2Tl7+p+6RgaqKRtex7ubqUgdMD0GqfoGjzpch6 0LEzyRj9VjSlMsP+HTEjyQxHziz0G/xmoapUZTvYcZpC1+GUeftyqeTm1rSFMLbIwBEL /Je2lbfZkGvrOvkT7PAP/BfcupzZfGwcQpJl8Stt6YhshzvDKpMshOPK784//kIwRvQC fSsg== MIME-Version: 1.0 X-Received: by 10.49.27.137 with SMTP id t9mr3865708qeg.70.1378483543753; Fri, 06 Sep 2013 09:05:43 -0700 (PDT) Received: by 10.49.14.69 with HTTP; Fri, 6 Sep 2013 09:05:43 -0700 (PDT) In-Reply-To: References: <5226E1ED.9050405@metrico.lu> <52286E4E.4070605@metrico.lu> <52287923.8010908@metrico.lu> Date: Sat, 7 Sep 2013 00:05:43 +0800 Message-ID: Subject: Re: Mapserver shp2img From: wen heping To: Frank Broniewski Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.14 Cc: Wen Heping , "freebsd-ports@freebsd.org" X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 06 Sep 2013 16:05:45 -0000 Would you test with this simple patch? Thanks ! wen Index: Makefile =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- Makefile (revision 326520) +++ Makefile (working copy) @@ -187,7 +187,7 @@ do-install: .for f in ${PROG_FILES} - ${INSTALL_SCRIPT} ${WRKSRC}/${f} ${PREFIX}/bin + ${INSTALL_SCRIPT} ${WRKSRC}/.libs/${f} ${PREFIX}/bin .endfor ${INSTALL_PROGRAM} ${WRKSRC}/.libs/libmapserver-${PORTVERSION}.so ${PREFIX}/lib 2013/9/6 wen heping > I shall look into that later. > > wen > > > 2013/9/5 Frank Broniewski > >> Another thing I noticed: While doing >> >> # pkg_delete -d mapserver-6.2.1_2 >> >> I receive errors concerning the Python mapscript module: >> >> >> pkg_delete: file '/usr/local/lib/python2.7/**site-packages/mapscript.py' >> doesn't exist >> pkg_delete: file '/usr/local/lib/python2.7/**site-packages/mapscript.pyc= ' >> doesn't exist >> pkg_delete: file '/usr/local/lib/python2.7/**site-packages/_mapscript.so= ' >> doesn't exist >> pkg_delete: file '/usr/local/lib/python2.7/** >> site-packages/MapScript-6.2.1-**py2.7.egg-info' doesn't exist >> pkg_delete: couldn't entirely delete package `mapserver-6.2.1_2' >> (perhaps the packing list is incorrectly specified?) >> >> This is probably not intended, isn't it? >> >> I've got the following (leftover) eggs from previous installations left >> in /usr/local/lib/python2.7/site-**packages >> >> drwxr-xr-x 3 root wheel 512 Sep 12 2012 >> MapScript-6.0.1-py2.7-freebsd-**9.0-RELEASE-amd64.egg >> drwxr-xr-x 3 root wheel 512 Jul 1 09:32 >> MapScript-6.2.0-py2.7-freebsd-**9.1-RELEASE-p3-amd64.egg >> drwxr-xr-x 3 root wheel 512 Sep 4 08:50 >> MapScript-6.2.0-py2.7-freebsd-**9.1-RELEASE-p4-amd64.egg >> drwxr-xr-x 3 root wheel 512 Sep 5 13:33 >> MapScript-6.2.1-py2.7-freebsd-**9.1-RELEASE-p6-amd64.egg >> >> >> >> Frank >> >> Am 2013-09-05 13:43, schrieb Frank Broniewski: >> >> Any ideas? Is it just me or everyone else? >>> >>> Frank >>> >>> Am 2013-09-04 09:31, schrieb Frank Broniewski: >>> >>>> Hi all, >>>> >>>> I've a problem with my mapserver installation, the utility shp2img isn= 't >>>> working, which is kind of odd. I get the following error when invoking >>>> it: >>>> >>>> /usr/local/bin/shp2img: error: `/usr/local/bin/.libs/shp2img' does not >>>> exist >>>> This script is just a wrapper for shp2img. >>>> See the libtool documentation for more information. >>>> >>>> I don't know what I shall do about that error now. On my Ubuntu machin= e, >>>> shp2img is a binary and not a shell script like on FreeBSD. While >>>> looking at the script, the error is invoked at the end of it (lines 20= 5 >>>> - 207): >>>> >>>> 189 if test -f "$progdir/$program"; then >>>> 190 # Add our own library path to LD_LIBRARY_PATH >>>> 191 >>>> LD_LIBRARY_PATH=3D"/usr/ports/**graphics/mapserver/work/** >>>> mapserver-6.2.1/.libs:/usr/**local/lib:$LD_LI >>>> >>>> >>>> 192 >>>> 193 # Some systems cannot cope with colon-terminated >>>> LD_LIBRARY_PATH >>>> 194 # The second colon is a workaround for a bug in BeOS R4 sed >>>> 195 LD_LIBRARY_PATH=3D`$ECHO "$LD_LIBRARY_PATH" | /usr/bin/sed >>>> 's/::*$//'` >>>> 196 >>>> 197 export LD_LIBRARY_PATH >>>> 198 >>>> 199 if test "$libtool_execute_magic" !=3D "%%%MAGIC variable%%%"= ; >>>> then >>>> 200 # Run the actual program with our arguments. >>>> 201 func_exec_program ${1+"$@"} >>>> 202 fi >>>> 203 else >>>> 204 # The program doesn't exist. >>>> 205 $ECHO "$0: error: \`$progdir/$program' does not exist" 1>&2 >>>> 206 $ECHO "This script is just a wrapper for $program." 1>&2 >>>> 207 $ECHO "See the libtool documentation for more information." >>>> 1>&2 >>>> 208 exit 1 >>>> 209 fi >>>> >>>> This is rather confusing as I don't know what role the libtool plays a= nd >>>> what I can gain from reading the rather exhaustive documentation ... >>>> >>>> >>>> Any hints? >>>> >>>> Many thanks, >>>> >>>> Frank >>>> >>>> >>> >>> >> >> -- >> Frank BRONIEWSKI >> >> METRICO s.=C3=A0 r.l. >> g=C3=A9om=C3=A8tres >> technologies d'information g=C3=A9ographique >> rue des Romains 36 >> L-5433 NIEDERDONVEN >> >> t=C3=A9l.: +352 26 74 94 - 28 >> fax.: +352 26 74 94 99 >> http://www.metrico.lu >> > >