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

Pedro Meirelles pedrommeirelles at gmail.com
Fri Oct 19 15:29:14 PDT 2012


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/geos-devel/attachments/20121019/e48f0cae/attachment.html>


More information about the geos-devel mailing list