Thank you Alexander.
I had some contact with the maintainer who says this is a known issue which he 
intends to solve over the next couple of days.

Shahar

On Jan 9, 2012, at 4:36 PM, Alexander Hansen wrote:

> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> On 1/9/12 3:46 AM, Shahar Shani-Kadmiel wrote:
>> Hi, trying to install gdal with the following command:
>> 
>> $ sudo fink install gdal
>> 
> 
> (you don't need 'sudo' before 'fink')
> 
>> This is where things start to go wrong:
>> 
> 
> For a little bit of context before the error:
> 
> mv -f .deps/CGAlgorithms.Tpo .deps/CGAlgorithms.Plo
> /bin/sh ../../libtool --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H
> - -I. -I../../include -I../../include/geos -I../../include
> - -I/sw/include -DGEOS_INLINE  -pedantic -Wall -ansi -Wno-long-long  -g
> - -O2 -MT ConvexHull.lo -MD -MP -MF .deps/ConvexHull.Tpo -c -o
> ConvexHull.lo ConvexHull.cpp
> libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I../../include
> - -I../../include/geos -I../../include -I/sw/include -DGEOS_INLINE
> - -pedantic -Wall -ansi -Wno-long-long -g -O2 -MT ConvexHull.lo -MD -MP
> - -MF .deps/ConvexHull.Tpo -c ConvexHull.cpp  -fno-common -DPIC -o
> .libs/ConvexHull.o
> 
> 
>> In file included from ConvexHull.cpp:23: 
>> ../../include/geos/geom/GeometryFactory.h:323:14: error: no
>> matching conversion for functional-style cast from
>> 'geos::geom::GeometryCollection *' to 'std::auto_ptr<Geometry>' 
>> return std::auto_ptr<Geometry>( createGeometryCollection() ); 
>> ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> 
> <snip>
> 
> Your problem was with libgeos3.3.0, not gdal.  You have no way to know
> as of yet whether gdal works for you.
> 
> I was able to reproduce this error on my machine (10.7.2, Xcode 4.2).
> If the package worked with Xcode 4.1 (presuming that the maintainer
> tested it) the issue could well be that Xcode 4.2 has a stricter
> compiler and therefore libgeos3.3.0 needs yet more clean ups.
> - -- 
> Alexander Hansen, Ph.D.
> Fink User Liaison
> http://finkakh.wordpress.com/
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.11 (Darwin)
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
> 
> iEYEARECAAYFAk8K+3AACgkQB8UpO3rKjQ+zhQCfUeb4Kdmmq1QpKmkWX5ZXW5O6
> 38wAoJDFqKtVsckRdfCCaLA/8y54mxLj
> =vMaK
> -----END PGP SIGNATURE-----


------------------------------------------------------------------------------
Ridiculously easy VDI. With Citrix VDI-in-a-Box, you don't need a complex
infrastructure or vast IT resources to deliver seamless, secure access to
virtual desktops. With this all-in-one solution, easily deploy virtual 
desktops for less than the cost of PCs and save 60% on VDI infrastructure 
costs. Try it free! http://p.sf.net/sfu/Citrix-VDIinabox
_______________________________________________
Fink-users mailing list
Fink-users@lists.sourceforge.net
List archive:
http://news.gmane.org/gmane.os.macosx.fink.user
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-users

Reply via email to