Hi, trying to install gdal with the following command: $ sudo fink install gdal
This is where things start to go wrong: 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() ); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/4.2.1/memory:189:7: note: candidate constructor not viable: cannot convert argument of incomplete type 'geos::geom::GeometryCollection *' to 'element_type *' (aka 'geos::geom::Geometry *') auto_ptr(element_type* __p = 0) throw() : _M_ptr(__p) { } ^ /usr/include/c++/4.2.1/memory:198:7: note: candidate constructor not viable: cannot convert argument of incomplete type 'geos::geom::GeometryCollection *' to 'std::auto_ptr<geos::geom::Geometry> &' auto_ptr(auto_ptr& __a) throw() : _M_ptr(__a.release()) { } ^ /usr/include/c++/4.2.1/memory:348:7: note: candidate constructor not viable: cannot convert argument of incomplete type 'geos::geom::GeometryCollection *' to 'auto_ptr_ref<element_type>' auto_ptr(auto_ptr_ref<element_type> __ref) throw() ^ /usr/include/c++/4.2.1/memory:211:9: note: candidate template ignored: failed template argument deduction auto_ptr(auto_ptr<_Tp1>& __a) throw() : _M_ptr(__a.release()) { } ^ In file included from ConvexHull.cpp:23: ../../include/geos/geom/GeometryFactory.h:346:14: error: no matching conversion for functional-style cast from 'geos::geom::GeometryCollection *' to 'std::auto_ptr<Geometry>' return std::auto_ptr<Geometry>( createGeometryCollection(fromGeoms) ); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/4.2.1/memory:189:7: note: candidate constructor not viable: cannot convert argument of incomplete type 'geos::geom::GeometryCollection *' to 'element_type *' (aka 'geos::geom::Geometry *') auto_ptr(element_type* __p = 0) throw() : _M_ptr(__p) { } ^ /usr/include/c++/4.2.1/memory:198:7: note: candidate constructor not viable: cannot convert argument of incomplete type 'geos::geom::GeometryCollection *' to 'std::auto_ptr<geos::geom::Geometry> &' auto_ptr(auto_ptr& __a) throw() : _M_ptr(__a.release()) { } ^ /usr/include/c++/4.2.1/memory:348:7: note: candidate constructor not viable: cannot convert argument of incomplete type 'geos::geom::GeometryCollection *' to 'auto_ptr_ref<element_type>' auto_ptr(auto_ptr_ref<element_type> __ref) throw() ^ /usr/include/c++/4.2.1/memory:211:9: note: candidate template ignored: failed template argument deduction auto_ptr(auto_ptr<_Tp1>& __a) throw() : _M_ptr(__a.release()) { } ^ In file included from ConvexHull.cpp:23: ../../include/geos/geom/GeometryFactory.h:351:14: error: no matching conversion for functional-style cast from 'geos::geom::MultiPolygon *' to 'std::auto_ptr<Geometry>' return std::auto_ptr<Geometry>( createMultiPolygon(fromGeoms) ); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/4.2.1/memory:189:7: note: candidate constructor not viable: cannot convert argument of incomplete type 'geos::geom::MultiPolygon *' to 'element_type *' (aka 'geos::geom::Geometry *') auto_ptr(element_type* __p = 0) throw() : _M_ptr(__p) { } ^ /usr/include/c++/4.2.1/memory:198:7: note: candidate constructor not viable: cannot convert argument of incomplete type 'geos::geom::MultiPolygon *' to 'std::auto_ptr<geos::geom::Geometry> &' auto_ptr(auto_ptr& __a) throw() : _M_ptr(__a.release()) { } ^ /usr/include/c++/4.2.1/memory:348:7: note: candidate constructor not viable: cannot convert argument of incomplete type 'geos::geom::MultiPolygon *' to 'auto_ptr_ref<element_type>' auto_ptr(auto_ptr_ref<element_type> __ref) throw() ^ /usr/include/c++/4.2.1/memory:211:9: note: candidate template ignored: failed template argument deduction auto_ptr(auto_ptr<_Tp1>& __a) throw() : _M_ptr(__a.release()) { } ^ In file included from ConvexHull.cpp:23: ../../include/geos/geom/GeometryFactory.h:353:14: error: no matching conversion for functional-style cast from 'geos::geom::MultiLineString *' to 'std::auto_ptr<Geometry>' return std::auto_ptr<Geometry>( createMultiLineString(fromGeoms) ); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/4.2.1/memory:189:7: note: candidate constructor not viable: cannot convert argument of incomplete type 'geos::geom::MultiLineString *' to 'element_type *' (aka 'geos::geom::Geometry *') auto_ptr(element_type* __p = 0) throw() : _M_ptr(__p) { } ^ /usr/include/c++/4.2.1/memory:198:7: note: candidate constructor not viable: cannot convert argument of incomplete type 'geos::geom::MultiLineString *' to 'std::auto_ptr<geos::geom::Geometry> &' auto_ptr(auto_ptr& __a) throw() : _M_ptr(__a.release()) { } ^ /usr/include/c++/4.2.1/memory:348:7: note: candidate constructor not viable: cannot convert argument of incomplete type 'geos::geom::MultiLineString *' to 'auto_ptr_ref<element_type>' auto_ptr(auto_ptr_ref<element_type> __ref) throw() ^ /usr/include/c++/4.2.1/memory:211:9: note: candidate template ignored: failed template argument deduction auto_ptr(auto_ptr<_Tp1>& __a) throw() : _M_ptr(__a.release()) { } ^ In file included from ConvexHull.cpp:23: ../../include/geos/geom/GeometryFactory.h:355:14: error: no matching conversion for functional-style cast from 'geos::geom::MultiPoint *' to 'std::auto_ptr<Geometry>' return std::auto_ptr<Geometry>( createMultiPoint(fromGeoms) ); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/4.2.1/memory:189:7: note: candidate constructor not viable: cannot convert argument of incomplete type 'geos::geom::MultiPoint *' to 'element_type *' (aka 'geos::geom::Geometry *') auto_ptr(element_type* __p = 0) throw() : _M_ptr(__p) { } ^ /usr/include/c++/4.2.1/memory:198:7: note: candidate constructor not viable: cannot convert argument of incomplete type 'geos::geom::MultiPoint *' to 'std::auto_ptr<geos::geom::Geometry> &' auto_ptr(auto_ptr& __a) throw() : _M_ptr(__a.release()) { } ^ /usr/include/c++/4.2.1/memory:348:7: note: candidate constructor not viable: cannot convert argument of incomplete type 'geos::geom::MultiPoint *' to 'auto_ptr_ref<element_type>' auto_ptr(auto_ptr_ref<element_type> __ref) throw() ^ /usr/include/c++/4.2.1/memory:211:9: note: candidate template ignored: failed template argument deduction auto_ptr(auto_ptr<_Tp1>& __a) throw() : _M_ptr(__a.release()) { } ^ 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 CentroidLine.lo -MD -MP -MF .deps/CentroidLine.Tpo -c CentroidLine.cpp -o CentroidLine.o >/dev/null 2>&1 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 CentroidPoint.lo -MD -MP -MF .deps/CentroidPoint.Tpo -c CentroidPoint.cpp -o CentroidPoint.o >/dev/null 2>&1 5 errors generated. make[3]: *** [ConvexHull.lo] Error 1 make[3]: *** Waiting for unfinished jobs.... 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 CentroidArea.lo -MD -MP -MF .deps/CentroidArea.Tpo -c CentroidArea.cpp -o CentroidArea.o >/dev/null 2>&1 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 CGAlgorithms.lo -MD -MP -MF .deps/CGAlgorithms.Tpo -c CGAlgorithms.cpp -o CGAlgorithms.o >/dev/null 2>&1 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 HCoordinate.lo -MD -MP -MF .deps/HCoordinate.Tpo -c HCoordinate.cpp -o HCoordinate.o >/dev/null 2>&1 In file included from InteriorPointArea.cpp:24: ../../include/geos/geom/GeometryFactory.h:351:14: error: no matching conversion for functional-style cast from 'geos::geom::MultiPolygon *' to 'std::auto_ptr<Geometry>' return std::auto_ptr<Geometry>( createMultiPolygon(fromGeoms) ); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/4.2.1/memory:189:7: note: candidate constructor not viable: cannot convert argument of incomplete type 'geos::geom::MultiPolygon *' to 'element_type *' (aka 'geos::geom::Geometry *') auto_ptr(element_type* __p = 0) throw() : _M_ptr(__p) { } ^ /usr/include/c++/4.2.1/memory:198:7: note: candidate constructor not viable: cannot convert argument of incomplete type 'geos::geom::MultiPolygon *' to 'std::auto_ptr<geos::geom::Geometry> &' auto_ptr(auto_ptr& __a) throw() : _M_ptr(__a.release()) { } ^ /usr/include/c++/4.2.1/memory:348:7: note: candidate constructor not viable: cannot convert argument of incomplete type 'geos::geom::MultiPolygon *' to 'auto_ptr_ref<element_type>' auto_ptr(auto_ptr_ref<element_type> __ref) throw() ^ /usr/include/c++/4.2.1/memory:211:9: note: candidate template ignored: failed template argument deduction auto_ptr(auto_ptr<_Tp1>& __a) throw() : _M_ptr(__a.release()) { } ^ In file included from InteriorPointArea.cpp:24: ../../include/geos/geom/GeometryFactory.h:353:14: error: no matching conversion for functional-style cast from 'geos::geom::MultiLineString *' to 'std::auto_ptr<Geometry>' return std::auto_ptr<Geometry>( createMultiLineString(fromGeoms) ); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/4.2.1/memory:189:7: note: candidate constructor not viable: cannot convert argument of incomplete type 'geos::geom::MultiLineString *' to 'element_type *' (aka 'geos::geom::Geometry *') auto_ptr(element_type* __p = 0) throw() : _M_ptr(__p) { } ^ /usr/include/c++/4.2.1/memory:198:7: note: candidate constructor not viable: cannot convert argument of incomplete type 'geos::geom::MultiLineString *' to 'std::auto_ptr<geos::geom::Geometry> &' auto_ptr(auto_ptr& __a) throw() : _M_ptr(__a.release()) { } ^ /usr/include/c++/4.2.1/memory:348:7: note: candidate constructor not viable: cannot convert argument of incomplete type 'geos::geom::MultiLineString *' to 'auto_ptr_ref<element_type>' auto_ptr(auto_ptr_ref<element_type> __ref) throw() ^ /usr/include/c++/4.2.1/memory:211:9: note: candidate template ignored: failed template argument deduction auto_ptr(auto_ptr<_Tp1>& __a) throw() : _M_ptr(__a.release()) { } ^ In file included from InteriorPointArea.cpp:24: ../../include/geos/geom/GeometryFactory.h:355:14: error: no matching conversion for functional-style cast from 'geos::geom::MultiPoint *' to 'std::auto_ptr<Geometry>' return std::auto_ptr<Geometry>( createMultiPoint(fromGeoms) ); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/4.2.1/memory:189:7: note: candidate constructor not viable: cannot convert argument of incomplete type 'geos::geom::MultiPoint *' to 'element_type *' (aka 'geos::geom::Geometry *') auto_ptr(element_type* __p = 0) throw() : _M_ptr(__p) { } ^ /usr/include/c++/4.2.1/memory:198:7: note: candidate constructor not viable: cannot convert argument of incomplete type 'geos::geom::MultiPoint *' to 'std::auto_ptr<geos::geom::Geometry> &' auto_ptr(auto_ptr& __a) throw() : _M_ptr(__a.release()) { } ^ /usr/include/c++/4.2.1/memory:348:7: note: candidate constructor not viable: cannot convert argument of incomplete type 'geos::geom::MultiPoint *' to 'auto_ptr_ref<element_type>' auto_ptr(auto_ptr_ref<element_type> __ref) throw() ^ /usr/include/c++/4.2.1/memory:211:9: note: candidate template ignored: failed template argument deduction auto_ptr(auto_ptr<_Tp1>& __a) throw() : _M_ptr(__a.release()) { } ^ 3 errors generated. make[3]: *** [InteriorPointArea.lo] Error 1 mv -f .deps/Angle.Tpo .deps/Angle.Plo mv -f .deps/CentroidLine.Tpo .deps/CentroidLine.Plo mv -f .deps/CentroidPoint.Tpo .deps/CentroidPoint.Plo mv -f .deps/CentroidArea.Tpo .deps/CentroidArea.Plo mv -f .deps/HCoordinate.Tpo .deps/HCoordinate.Plo mv -f .deps/CGAlgorithms.Tpo .deps/CGAlgorithms.Plo make[2]: *** [all-recursive] Error 1 make[1]: *** [all-recursive] Error 1 make: *** [all-recursive] Error 1 ### execution of /var/tmp/tmp.1.371TL0 failed, exit code 2 Removing runtime build-lock... Removing build-lock package... /sw/bin/dpkg-lockwait -r fink-buildlock-libgeos3.3.0-3.3.0-1 (Reading database ... 32329 files and directories currently installed.) Removing fink-buildlock-libgeos3.3.0-3.3.0-1 ... Failed: phase compiling: libgeos3.3.0-3.3.0-1 failed ------------------------------------------------------------------------------ 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