I am trying to set CartoDB in Ubuntu 12.04. I am trying to install Python dependencies as a part of my installation. I am installing with below commands
export CPLUS_INCLUDE_PATH=/usr/include/gdalexport C_INCLUDE_PATH=/usr/include/gdalsudo pip install GDALcd /tmp/pip_build_root/GDALsudo python setup.py build_ext --include-dirs=/usr/include/gdalsudo pip install --no-download GDALWhile i am trying to execute the third command sudo pip install GDAL am getting the below error
gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -I../../port -I../../gcore -I../../alg -I../../ogr/ -I/usr/include/python2.7 -I. -I/usr/include -c extensions/gdal_wrap.cpp -o build/temp.linux-x86_64-2.7/extensions/gdal_wrap.occ1plus: warning: command line option ‘-Wstrict-prototypes’ is valid for Ada/C/ObjC but not for C++ [enabled by default]extensions/gdal_wrap.cpp:2859:22: fatal error: cpl_port.h: No such file or directorycompilation terminated.error: command 'gcc' failed with exit status 1----------------------------------------Command "/usr/bin/python -c "import setuptools, tokenize;file='/tmp/pip-build-PMhlKD/GDAL/setup.py';exec(compile(getattr(tokenize, 'open', open)(file).read().replace('\r\n', '\n'), file, 'exec'))" install --record /tmp/pip-0u9jBS-record/install-record.txt --single-version-externally-managed --compile" failed with error code 1 in /tmp/pip-build-PMhlKD/GDAL
أكثر...
export CPLUS_INCLUDE_PATH=/usr/include/gdalexport C_INCLUDE_PATH=/usr/include/gdalsudo pip install GDALcd /tmp/pip_build_root/GDALsudo python setup.py build_ext --include-dirs=/usr/include/gdalsudo pip install --no-download GDALWhile i am trying to execute the third command sudo pip install GDAL am getting the below error
gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -I../../port -I../../gcore -I../../alg -I../../ogr/ -I/usr/include/python2.7 -I. -I/usr/include -c extensions/gdal_wrap.cpp -o build/temp.linux-x86_64-2.7/extensions/gdal_wrap.occ1plus: warning: command line option ‘-Wstrict-prototypes’ is valid for Ada/C/ObjC but not for C++ [enabled by default]extensions/gdal_wrap.cpp:2859:22: fatal error: cpl_port.h: No such file or directorycompilation terminated.error: command 'gcc' failed with exit status 1----------------------------------------Command "/usr/bin/python -c "import setuptools, tokenize;file='/tmp/pip-build-PMhlKD/GDAL/setup.py';exec(compile(getattr(tokenize, 'open', open)(file).read().replace('\r\n', '\n'), file, 'exec'))" install --record /tmp/pip-0u9jBS-record/install-record.txt --single-version-externally-managed --compile" failed with error code 1 in /tmp/pip-build-PMhlKD/GDAL
أكثر...