ставлю noc на FreeBSD 10.0-RELEAS
при выполнении скрипта /opt/noc/scripts/upgrade вываливается с ошибкой
Installing collected packages: gmpy, pycrypto, python-cjson, netifaces, Django, South, coverage, protobuf, pyasn1, pyasn1-modules, pysnmp, python-creole, docutils, Pygments, mongoengine, tornado, sleekxmpp, noc-pkg-handlebars, noc-pkg-shjs, noc-pkg-famfamfam-silk, noc-pkg-silk-companion1, noc-pkg-extjs, noc-pkg-mxgraph, noc-pkg-openlayers, noc-pkg-cubism, noc-pkg-d3, noc-pkg-font-awesome
Running setup.py install for gmpy
building 'gmpy' extension
cc -fno-strict-aliasing -O2 -pipe -fno-strict-aliasing -DNDEBUG -fPIC -I./src -I/usr/local/include/python2.7 -c src/gmpy.c -o build/temp.freebsd-10.0-RELEASE-amd64-2.7/src/gmpy.o
In file included from src/gmpy.c:248:
./src/gmpy.h:30:10: fatal error: 'gmp.h' file not found
#include "gmp.h"
^
1 error generated.
error: command 'cc' failed with exit status 1
Complete output from command /opt/noc/bin/python2.7 -c "import setuptools, tokenize;__file__='/opt/noc/build/gmpy/setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record /tmp/pip-mcylTU-record/install-record.txt --single-version-externally-managed --compile --install-headers /opt/noc/include/site/python2.7:
running install
running build
running build_ext
building 'gmpy' extension
creating build
creating build/temp.freebsd-10.0-RELEASE-amd64-2.7
creating build/temp.freebsd-10.0-RELEASE-amd64-2.7/src
cc -fno-strict-aliasing -O2 -pipe -fno-strict-aliasing -DNDEBUG -fPIC -I./src -I/usr/local/include/python2.7 -c src/gmpy.c -o build/temp.freebsd-10.0-RELEASE-amd64-2.7/src/gmpy.o
In file included from src/gmpy.c:248:
./src/gmpy.h:30:10: fatal error: 'gmp.h' file not found
#include "gmp.h"
^
1 error generated.
error: command 'cc' failed with exit status 1
----------------------------------------
Cleaning up...
Command /opt/noc/bin/python2.7 -c "import setuptools, tokenize;__file__='/opt/noc/build/gmpy/setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record /tmp/pip-mcylTU-record/install-record.txt --single-version-externally-managed --compile --install-headers /opt/noc/include/site/python2.7 failed with error code 1 in /opt/noc/build/gmpy
Storing debug log for failure in /root/.pip/pip.log
upgrade: 212: Cannot update python libraries
Terminating