我按照以下步骤安装了GEOS库(source)。我成功安装了GEOS库。我的问题在于以下步骤:
当我运行setup.py文件时,出现以下错误:
distutils.errors.CompileError: Command "gcc-4.2 -fno-strict-aliasing -arch i386 -arch x86_64 -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -Isrc -c nad2bin.c -o nad2bin.o" failed with exit status 127
我正在使用操作系统版本为10.9.2的Mac。 我已经通过Xcode中的命令行工具包安装了gcc编译器。 我的gcc编译器信息:
Apple LLVM version 5.1 (clang-503.0.40) (based on LLVM 3.4svn)
Target: x86_64-apple-darwin13.1.0
Thread model: posix