[geos-devel] Installation problem - OS 10.8/OS 10.6

William Kyngesburye woklist at kyngchaos.com
Fri Oct 19 15:42:44 PDT 2012


I have a lot of GIS related software ready to use for OS X, including matplotlib.

www.kyngchaos.com

But I wasn't aware that matplotlib needs GEOS.  If it does, the Python option in GEOS (enable-python) is not supported any more.

On Oct 19, 2012, at 5:29 PM, Pedro Meirelles wrote:

> Hello,
> 
> I would love to instal the matplotlib Python package in my computer to plot some maps for my work. I am biologist and I don't have a lot of experience in cartography but I think that this package would be very useful for me. This Python package requires GEOS others.
> 
> When I run this comand:
> 
> CC=gcc-4.0 CXX=g++-4.0 ./configure --enable-python
> 
> I get this error:
> 
> checking build system type... i386-apple-darwin12.2.0
> checking host system type... i386-apple-darwin12.2.0
> checking target system type... i386-apple-darwin12.2.0
> checking for a BSD-compatible install... /usr/bin/install -c
> checking whether build environment is sane... yes
> checking for a thread-safe mkdir -p... ./install-sh -c -d
> checking for gawk... no
> checking for mawk... no
> checking for nawk... no
> checking for awk... awk
> checking whether make sets $(MAKE)... yes
> checking whether to enable maintainer-specific portions of Makefiles... no
> checking for gcc... gcc-4.0
> checking whether the C compiler works... no
> configure: error: in `/Users/pedromeirelles/Desktop/geos-3.3.5':
> configure: error: C compiler cannot create executables
> See `config.log' for more details.
> 
> 
> 
> 
> So I tried this one:
> 
> CXX=g++ ./configure --enable-python
> 
> and I got this error:
> 
> Undefined symbols for architecture x86_64:
>   "std::auto_ptr<geos::geom::Envelope>::auto_ptr(std::auto_ptr_ref<geos::geom::Envelope>)", referenced from:
>       virtual thunk to geos::geom::GeometryCollection::computeEnvelopeInternal() constin GeometryCollection.o
>   "__ZNSt8auto_ptrIN4geos4geom8EnvelopeEEcvSt12auto_ptr_refIT_EIS2_EEv", referenced from:
>       virtual thunk to geos::geom::GeometryCollection::computeEnvelopeInternal() constin GeometryCollection.o
> ld: symbol(s) not found for architecture x86_64
> collect2: ld returned 1 exit status
> make[2]: *** [libgeos.la] Error 1
> make[1]: *** [all-recursive] Error 1
> make: *** [all-recursive] Error 1
> 
> 
> There is someone that can help me to install GEOS in my computer?
> 
> Thank you very much!
> 
> Pedro
> 
> -- 
> _________________________________________
> Pedro Milet Meirelles
> www.flickr.com/pedromeirelles
> _______________________________________________
> geos-devel mailing list
> geos-devel at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/geos-devel

-----
William Kyngesburye <kyngchaos*at*kyngchaos*dot*com>
http://www.kyngchaos.com/

First Pogril: Why is life like sticking your head in a bucket filled with hyena offal?
Second Pogril: I don't know.  Why IS life like sticking your head in a bucket filled with hyena offal?
First Pogril: I don't know either.  Wretched, isn't it?

-HitchHiker's Guide to the Galaxy




More information about the geos-devel mailing list