From owner-freebsd-ports@FreeBSD.ORG Thu Jun 7 13:51:50 2012 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B4572106564A for ; Thu, 7 Jun 2012 13:51:50 +0000 (UTC) (envelope-from brfr@metrico.lu) Received: from design11.letzebuerg.net (design11.letzebuerg.net [46.4.49.2]) by mx1.freebsd.org (Postfix) with ESMTP id 3D6818FC1B for ; Thu, 7 Jun 2012 13:51:50 +0000 (UTC) Received: from [88.207.199.134] (port=50167 helo=[192.168.0.110]) by design11.letzebuerg.net with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.77) (envelope-from ) id 1Scd7r-0006CL-Fm; Thu, 07 Jun 2012 15:51:48 +0200 Message-ID: <4FD0B201.9020406@metrico.lu> Date: Thu, 07 Jun 2012 15:52:01 +0200 From: Frank Broniewski User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:12.0) Gecko/20120428 Thunderbird/12.0.1 MIME-Version: 1.0 To: Rainer Hurling References: <4FD04971.5050005@gwdg.de> <4FD0A0E2.40801@metrico.lu> <4FD0A453.1030703@gwdg.de> In-Reply-To: <4FD0A453.1030703@gwdg.de> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - design11.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-Source: X-Source-Args: X-Source-Dir: Cc: freebsd-ports@freebsd.org Subject: Re: [CFT] gdal 1.9.1 update and other changes X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 07 Jun 2012 13:51:50 -0000 Yes, that worked. I tested it with py-gdal. First I had some problems because there were some other programs depending gdal-grass (QGIS, Grass GIS) which linked to the older gdal libs, but after deleting gdal-grass, I could import the module into python and run successfully some tests against some scripts I had written. >>>> (2) graphics/py-gdal asks for option NUMPY several times, even once more >>>> if it wants to install (after build). I can confirm this too ... I will test if the other languages compile asap. Btw, is it possible to compile more than one port at the same time? Or is this not advisable? Frank Am 07.06.2012 14:53, schrieb Rainer Hurling: > Am 07.06.2012 14:38 (UTC+1) schrieb Frank Broniewski: >> Hi, >> >> I can confirm Rainers observation with swig13 and libkml, otherwise gdal >> builds and installs fine. >> Since I'm new to FreeBSD I still need to figure out what I need to do >> with those .shar files, so I can't give an update yet on the language >> packages > > It seems with these .shar files you have to create their top directories > manually. What I did (as root) is: > > cd /usr/ports > mkdir graphics/p5-Geo-GDAL > sh p5-Geo-GDAL.shar > mkdir graphics/py-gdal > sh py-gdal.shar > mkdir graphics/php-gdal > sh php-gdal.shar > mkdir graphics/ruby-gdal > sh ruby-gdal.shar > > After that the new ports are available. > >> Frank >> >> Am 07.06.2012 08:25, schrieb Rainer Hurling: >>> Am 07.06.2012 05:30 (UTC+1) schrieb Sunpoet Po-Chuan Hsieh: >>>> Hi, >>> >>> Many thanks for this update. What I observed so far: >>> >>> >>> (1) graphics/gdal builds and installs fine. There is a minor problem: >>> dependend port science/libkml (as option) does not configure, if >>> devel/swig13 is installed. >>> >>> >>> (2) graphics/py-gdal asks for option NUMPY several times, even once more >>> if it wants to install (after build). >>> >>> >>> (3) graphics(p5-Geo-GDAL gives warnings about unrecognized arguments, >>> but it does build and install: >>> >>> Building against GDAL defined in /usr/local/bin/gdal-config >>> Unrecognized argument in LIBS ignored: '-pthread' >>> Writing Makefile_Geo__OGR for Geo::OGR >>> Writing MYMETA.yml >>> Unrecognized argument in LIBS ignored: '-pthread' >>> Writing Makefile_Geo__GDAL__Const for Geo::GDAL::Const >>> Writing MYMETA.yml >>> Unrecognized argument in LIBS ignored: '-pthread' >>> Writing Makefile_Geo__OSR for Geo::OSR >>> Writing MYMETA.yml >>> Unrecognized argument in LIBS ignored: '-pthread' >>> Writing Makefile_Geo__GDAL for Geo::GDAL >>> Writing MYMETA.yml >>> make -f Makefile_Geo__GDAL >>> >>> >>> (4) graphics/ruby-gdal builds and installs fine, distinctive features. >>> >>> >>> (5) graphics/php-gdal does not build with following messages: >>> >>> ===> Building for php-gdal-1.9.1 >>> /usr/bin/sed -e '/^GDAL_ROOT/d' /usr/local/share/gdal/GDALmake.opt > >>> /usr/ports/graphics/php-gdal/work/gdal-1.9.1/swig/php/../../GDALmake.opt >>> /bin/cp /usr/local/include/cpl_config.h >>> /usr/ports/graphics/php-gdal/work/gdal-1.9.1/swig/php/../../port/ >>> c++ -I../../port -I../../gcore -I../../alg -I../../ogr `php-config >>> --includes` -O2 -pipe -O2 -fno-strict-aliasing -pipe -msse3 >>> -I/usr/local/include -fPIC -c gdal_wrap.cpp >>> gdal_wrap.cpp: In function 'void* SWIG_ZTS_ConvertResourcePtr(zval*, >>> swig_type_info*, int)': >>> gdal_wrap.cpp:935: error: invalid conversion from 'const char*' to >>> 'char*' >>> gmake: *** [gdal_wrap.o] Fehler 1 >>> *** [do-build] Error code 1 >>> >>> >>> Hope this helps, >>> Rainer >>> >>> >>>> GDAL 1.9.1 was released several days ago. >>>> I'd like to make some changes along with this update [1]. >>>> The most important one is about the language bindings. >>>> I decide to move them to separate ports: >>>> - Perl binding: graphics/p5-Geo-GDAL [2] >>>> - Python binding: graphics/py-gdal [3] >>>> - PHP binding: graphics/php-gdal [4] >>>> - Ruby binding: graphics/ruby-gdal [5] >>>> >>>> The other changes to the Makefile include: >>>> - Update to 1.9.1 >>>> - Build with thread-safe support by default >>>> - Add lzma support >>>> - Adjust OPTIONS: >>>> - Add ICONV, KML and WEBP >>>> - Remove GRASS (cyclic dependency), PERL, PHP, PYTHON, RUBY and >>>> THREADS (default) >>>> - Add corresponding CONFIGURE_ARGS for disabled features >>>> - Cosmetic change >>>> >>>> Please test if it works for you. >>>> If I don't receive critical feedback, I plan to commit them this >>>> weekend or next Monday. >>>> >>>> Thanks! >>>> >>>> [1] http://people.freebsd.org/~sunpoet/gdal/gdal-1.9.1.patch >>>> [2] http://people.freebsd.org/~sunpoet/gdal/p5-Geo-GDAL.shar >>>> [3] http://people.freebsd.org/~sunpoet/gdal/php-gdal.shar >>>> [4] http://people.freebsd.org/~sunpoet/gdal/py-gdal.shar >>>> [5] http://people.freebsd.org/~sunpoet/gdal/ruby-gdal.shar >>>> >>>> Regards, >>>> sunpoet >>>> >>> _______________________________________________ >>> freebsd-ports@freebsd.org mailing list >>> http://lists.freebsd.org/mailman/listinfo/freebsd-ports >>> To unsubscribe, send any mail to "freebsd-ports-unsubscribe@freebsd.org" >>> >>> >> >> > > -- 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