Created
September 22, 2010 15:26
-
-
Save avances123/591880 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
fabio@ubuntu-desktop:~/openblock$ python bootstrap.py 1>>log.txt 2>>log.txt | |
New python executable in ./bin/python | |
Installing distribute..................................................................................................................................................................................done. | |
Searching for virtualenv>=1.4.9 | |
Best match: virtualenv 1.5.1 | |
Processing virtualenv-1.5.1-py2.6.egg | |
virtualenv 1.5.1 is already the active version in easy-install.pth | |
Installing virtualenv script to /home/fabio/openblock/bin | |
Using /home/fabio/openblock/lib/python2.6/site-packages/virtualenv-1.5.1-py2.6.egg | |
Processing dependencies for virtualenv>=1.4.9 | |
Finished processing dependencies for virtualenv>=1.4.9 | |
Searching for pip | |
Best match: pip 0.8.1 | |
Processing pip-0.8.1-py2.6.egg | |
pip 0.8.1 is already the active version in easy-install.pth | |
Installing pip script to /home/fabio/openblock/bin | |
Installing pip-2.6 script to /home/fabio/openblock/bin | |
Using /home/fabio/openblock/lib/python2.6/site-packages/pip-0.8.1-py2.6.egg | |
Processing dependencies for pip | |
Finished processing dependencies for pip | |
Searching for paver | |
Best match: Paver 1.0.3 | |
Processing Paver-1.0.3-py2.6.egg | |
Paver 1.0.3 is already the active version in easy-install.pth | |
Installing paver script to /home/fabio/openblock/bin | |
Using /home/fabio/openblock/lib/python2.6/site-packages/Paver-1.0.3-py2.6.egg | |
Processing dependencies for paver | |
Finished processing dependencies for paver | |
Downloading/unpacking GDAL<1.7 | |
Running setup.py egg_info for package GDAL | |
/home/fabio/openblock/build/GDAL/setup.py:78: DeprecationWarning: The popen2 module is deprecated. Use the subprocess module. | |
import popen2 | |
Successfully downloaded GDAL | |
rm: cannot remove `/home/fabio/openblock/build/GDAL/setup.cfg': No such file or directory | |
setup.py:78: DeprecationWarning: The popen2 module is deprecated. Use the subprocess module. | |
import popen2 | |
running build_ext | |
building 'osgeo._gdal' extension | |
gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -I/usr/include/gdal -I/usr/include/python2.6 -I. -I/usr/include -c extensions/gdal_wrap.cpp -o build/temp.linux-i686-2.6/extensions/gdal_wrap.o | |
cc1plus: warning: command line option "-Wstrict-prototypes" is valid for Ada/C/ObjC but not for C++ | |
extensions/gdal_wrap.cpp:129:20: error: Python.h: No such file or directory | |
extensions/gdal_wrap.cpp:2502:4: error: #error "This python version requires swig to be run with the '-classic' option" | |
extensions/gdal_wrap.cpp:734: error: expected initializer before ‘*’ token | |
extensions/gdal_wrap.cpp:789: error: expected initializer before ‘*’ token | |
extensions/gdal_wrap.cpp:810: error: expected initializer before ‘*’ token | |
In file included from /usr/include/c++/4.4/stdexcept:38, | |
from extensions/gdal_wrap.cpp:2521: | |
/usr/include/c++/4.4/exception:35: error: expected declaration before end of line | |
error: command 'gcc' failed with exit status 1 | |
---> pavement.auto | |
Using virtual env /home/fabio/openblock | |
---> pavement.post_bootstrap | |
---> pavement.install_app | |
---> pavement.install_ob_packages | |
---> pavement.install_requirements | |
---> pavement.install_gdal | |
gdal-config --version | |
Looks like you have libgdal version 1.6.3 | |
trying to get python package version <1.7 | |
/home/fabio/openblock/bin/pip install GDAL\<1.7 --no-install | |
rm /home/fabio/openblock/build/GDAL/setup.cfg | |
gdal-config --cflags | |
gdal-config --libs | |
/home/fabio/openblock/bin/python setup.py build_ext --gdal-config=gdal-config --library-dirs=/usr/lib --libraries=gdal1.6.0 --include-dirs=/usr/include/gdal install | |
Build failed: Subprocess return code: 1 | |
Exit status 1 from command args (['./bin/paver', '-f', 'obadmin/obadmin/pavement.py', 'post_bootstrap'],) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment