Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 07 Jun 2012 08:25:53 +0200
From:      Rainer Hurling <rhurlin@gwdg.de>
To:        Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>
Cc:        Dmitry Marakasov <amdmi3@amdmi3.ru>, ports <ports@freebsd.org>, Kurt Jaeger <lists@opsec.eu>, "coder.tuxfamily" <coder@tuxfamily.org>, "Hartmann, O." <ohartman@zedat.fu-berlin.de>, Frank Broniewski <brfr@metrico.lu>
Subject:   Re: [CFT] gdal 1.9.1 update and other changes
Message-ID:  <4FD04971.5050005@gwdg.de>
In-Reply-To: <CAMHz58QGLTk2fe5G7yhQAthiPCcvjoUEXpf26Tfy4w8T6B-1Ww@mail.gmail.com>
References:  <CAMHz58QGLTk2fe5G7yhQAthiPCcvjoUEXpf26Tfy4w8T6B-1Ww@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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
>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4FD04971.5050005>