Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 23 May 2012 06:27:04 +0200
From:      Rainer Hurling <rhurlin@gwdg.de>
To:        "coder.tuxfamily" <coder@tuxfamily.org>
Cc:        freebsd-ports@freebsd.org
Subject:   Re: graphics/gdal 1.9.0 does not build on CURRENT
Message-ID:  <4FBC6718.3080304@gwdg.de>
In-Reply-To: <4FBBFADA.6010700@gwdg.de>
References:  <4FBA9620.3020207@gwdg.de> <4FBA997C.6010000@tuxfamily.org> <4FBAA203.90201@gwdg.de> <4FBAA388.1070906@tuxfamily.org> <4FBB24D3.4010209@gwdg.de> <4FBBC3F2.4050104@tuxfamily.org> <4FBBC504.5010305@gwdg.de> <4FBBD7B4.5090505@tuxfamily.org> <4FBBFADA.6010700@gwdg.de>

next in thread | previous in thread | raw e-mail | index | archive | help
Am 22.05.2012 22:45 (UTC+1) schrieb Rainer Hurling:
> On 22.05.2012 20:15 (UTC+1), coder.tuxfamily wrote:
>> I have rewrote the patch.
>>
>> Maybe with this new patch...
>
> Thanks, but again it gives me the same failure:
>
> libtool: compile: cc -DNDEBUG -O2 -pipe -O2 -fno-strict-aliasing -pipe
> -msse3 -O2 -pipe -O2 -fno-strict-aliasing -pipe -msse3 -Wall
> -Wdeclaration-after-statement -DOGR_ENABLED -I/usr/local/include
> -I/usr/ports/graphics/gdal/work/gdal-1.9.0/port -I/usr/local/include
> -I/usr/local -I/usr/local/include -I/usr/local/include -I/usr/local
> -I/usr/local/include -I/usr/local -I/usr/local/include
> -I/usr/local/include -I/usr/local/include -I/usr/local
> -I/usr/local/include -I/usr -I/usr/include -fPIC -I../../port
> -I../../gcore -I../../alg -I../../ogr/ -I/usr/local/include/python2.7
> -I/usr/local/lib/python2.7/site-packages/numpy/core/include
> -I/usr/ports/graphics/gdal/work/gdal-1.9.0/include -c
> extensions/gdal_wrap.cpp -fPIC -DPIC -o
> build/temp.freebsd-10.0-CURRENT-amd64-2.7/extensions/.libs/gdal_wrap.o
> cc1plus: warning: command line option "-Wdeclaration-after-statement" is
> valid for C/ObjC but not for C++
> extensions/gdal_wrap.cpp: In function 'PyObject*
> _wrap_VSIFTruncateL(PyObject*, PyObject*)':
> extensions/gdal_wrap.cpp:6845: error: 'VSIFTruncateL' was not declared
> in this scope
> extensions/gdal_wrap.cpp: In function 'PyObject*
> _wrap_MajorObject_SetMetadata__SWIG_0(PyObject*, PyObject*)':
> extensions/gdal_wrap.cpp:7220: warning: deprecated conversion from
> string constant to 'char*'
> error: command '/bin/sh' failed with exit status 1
> gmake[2]: *** [build] Fehler 1
> gmake[2]: Leaving directory
> `/usr/ports/graphics/gdal/work/gdal-1.9.0/swig/python'
> gmake[1]: *** [build] Fehler 2
> gmake[1]: Leaving directory `/usr/ports/graphics/gdal/work/gdal-1.9.0/swig'
> gmake: *** [swig-modules] Fehler 2
> *** [do-build] Error code 1
> Stop in /usr/ports/graphics/gdal.
>
>
> I don't think there is a problem with finding libtool or some python
> scripts. I will rebuild all my py27- ports and swig, just to be sure.

As I assumed, rebuilding py27- and swig ports does not correct my problem.



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