Closed gregglind closed 10 years ago
$ pip install planarity Downloading/unpacking planarity Downloading planarity-0.3.1.tar.gz (212kB): 212kB downloaded Running setup.py (path:/Users/glind/venvs/py27/build/planarity/setup.py) egg_info for package planarity warning: no files found matching '*.gz' under directory 'examples' warning: no files found matching '*.h' under directory 'examples' warning: no files found matching '*.html' under directory 'doc' warning: no previously-included files matching '*~' found anywhere in distribution warning: no previously-included files matching '*.pyc' found anywhere in distribution warning: no previously-included files matching '.git' found anywhere in distribution no previously-included directories found matching 'doc/build' Requirement already satisfied (use --upgrade to upgrade): setuptools in /Users/glind/venvs/py27/lib/python2.7/site-packages/setuptools-0.6c11-py2.7.egg (from planarity) Installing collected packages: planarity Running setup.py install for planarity skipping 'planarity/planarity.c' Cython extension (up-to-date) building 'planarity.planarity' extension /usr/bin/llvm-gcc -fno-strict-aliasing -fno-common -dynamic -O3 -w -pipe -march=core2 -msse4 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -Iplanarity/src/ -I/usr/local/Cellar/python/2.7.2/Frameworks/Python.framework/Versions/2.7/include/python2.7 -c planarity/planarity.c -o build/temp.macosx-10.4-x86_64-2.7/planarity/planarity.o /usr/bin/llvm-gcc -fno-strict-aliasing -fno-common -dynamic -O3 -w -pipe -march=core2 -msse4 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -Iplanarity/src/ -I/usr/local/Cellar/python/2.7.2/Frameworks/Python.framework/Versions/2.7/include/python2.7 -c planarity/src/graphColorVertices.c -o build/temp.macosx-10.4-x86_64-2.7/planarity/src/graphColorVertices.o planarity/src/graphColorVertices.c:53:20: error: malloc.h: No such file or directory error: command '/usr/bin/llvm-gcc' failed with exit status 1 Complete output from command /Users/glind/venvs/py27/Python.app/Contents/MacOS/Python -c "import setuptools, tokenize;__file__='/Users/glind/venvs/py27/build/planarity/setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record /var/folders/0z/4g3t_26s3gv835xswsslbn400000gp/T/pip-2Y3itf-record/install-record.txt --single-version-externally-managed --compile --install-headers /Users/glind/venvs/py27/Python.app/Contents/MacOS/../../../include/site/python2.7: running install running build running build_py creating build creating build/lib.macosx-10.4-x86_64-2.7 creating build/lib.macosx-10.4-x86_64-2.7/planarity copying planarity/__init__.py -> build/lib.macosx-10.4-x86_64-2.7/planarity copying planarity/planarity_functions.py -> build/lib.macosx-10.4-x86_64-2.7/planarity copying planarity/planarity_networkx.py -> build/lib.macosx-10.4-x86_64-2.7/planarity creating build/lib.macosx-10.4-x86_64-2.7/planarity/tests copying planarity/tests/__init__.py -> build/lib.macosx-10.4-x86_64-2.7/planarity/tests copying planarity/tests/test.py -> build/lib.macosx-10.4-x86_64-2.7/planarity/tests copying planarity/tests/test_planarity.py -> build/lib.macosx-10.4-x86_64-2.7/planarity/tests copying planarity/tests/test_planarity_networkx.py -> build/lib.macosx-10.4-x86_64-2.7/planarity/tests running build_ext skipping 'planarity/planarity.c' Cython extension (up-to-date) building 'planarity.planarity' extension creating build/temp.macosx-10.4-x86_64-2.7 creating build/temp.macosx-10.4-x86_64-2.7/planarity creating build/temp.macosx-10.4-x86_64-2.7/planarity/src /usr/bin/llvm-gcc -fno-strict-aliasing -fno-common -dynamic -O3 -w -pipe -march=core2 -msse4 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -Iplanarity/src/ -I/usr/local/Cellar/python/2.7.2/Frameworks/Python.framework/Versions/2.7/include/python2.7 -c planarity/planarity.c -o build/temp.macosx-10.4-x86_64-2.7/planarity/planarity.o /usr/bin/llvm-gcc -fno-strict-aliasing -fno-common -dynamic -O3 -w -pipe -march=core2 -msse4 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -Iplanarity/src/ -I/usr/local/Cellar/python/2.7.2/Frameworks/Python.framework/Versions/2.7/include/python2.7 -c planarity/src/graphColorVertices.c -o build/temp.macosx-10.4-x86_64-2.7/planarity/src/graphColorVertices.o planarity/src/graphColorVertices.c:53:20: error: malloc.h: No such file or directory error: command '/usr/bin/llvm-gcc' failed with exit status 1 ---------------------------------------- Cleaning up... Command /Users/glind/venvs/py27/Python.app/Contents/MacOS/Python -c "import setuptools, tokenize;__file__='/Users/glind/venvs/py27/build/planarity/setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record /var/folders/0z/4g3t_26s3gv835xswsslbn400000gp/T/pip-2Y3itf-record/install-record.txt --single-version-externally-managed --compile --install-headers /Users/glind/venvs/py27/Python.app/Contents/MacOS/../../../include/site/python2.7 failed with error code 1 in /Users/glind/venvs/py27/build/planarity Storing debug log for failure in /Users/glind/.pip/pip.log
sorry dup!