- pbrunet@Choco:~$ mkdir pythran
- pbrunet@Choco:~$ cd pythran/
- pbrunet@Choco:~/pythran$ git clone ssh://git@git.geekou.info/pythonic++
- Cloning into pythonic++...
- remote: Counting objects: 72, done.
- remote: Compressing objects: 100% (69/69), done.
- remote: Total 72 (delta 34), reused 0 (delta 0)
- Receiving objects: 100% (72/72), 16.50 KiB, done.
- Resolving deltas: 100% (34/34), done.
- pbrunet@Choco:~/pythran$ git clone ssh://git@git.geekou.info/pythran
- Cloning into pythran...
- remote: Counting objects: 260, done.
- remote: Compressing objects: 100% (249/249), done.
- remote: Total 260 (delta 129), reused 0 (delta 0)
- Receiving objects: 100% (260/260), 63.75 KiB | 13 KiB/s, done.
- Resolving deltas: 100% (129/129), done.
- pbrunet@Choco:~/pythran/pythonic++$ autoreconf -vi
- Can't exec "libtoolize": Aucun fichier ou dossier de ce type at /usr/bin/autoreconf2.50 line 196.
- Use of uninitialized value in pattern match (m//) at /usr/bin/autoreconf2.50 line 196.
- autoreconf2.50: Entering directory `.'
- autoreconf2.50: configure.ac: not using Gettext
- autoreconf2.50: running: aclocal
- autoreconf2.50: configure.ac: tracing
- autoreconf2.50: configure.ac: not using Libtool
- autoreconf2.50: running: /usr/bin/autoconf
- autoreconf2.50: configure.ac: not using Autoheader
- autoreconf2.50: running: automake --add-missing --copy --no-force
- configure.ac:5: installing `./install-sh'
- configure.ac:5: installing `./missing'
- tests/Makefile.am: installing `./depcomp'
- autoreconf2.50: Leaving directory `.'
- pbrunet@Choco:~/pythran/pythonic++$ ./configure --prefix=$HOME/pythran/install
- checking for a BSD-compatible install... /usr/bin/install -c
- checking whether build environment is sane... yes
- checking for a thread-safe mkdir -p... /bin/mkdir -p
- checking for gawk... no
- checking for mawk... mawk
- checking whether make sets $(MAKE)... yes
- checking for g++... g++
- checking whether the C++ compiler works... yes
- checking for C++ compiler default output file name... a.out
- checking for suffix of executables...
- checking whether we are cross compiling... no
- checking for suffix of object files... o
- checking whether we are using the GNU C++ compiler... rm: cannot remove `core': Is a directory
- yes
- checking whether g++ accepts -g... rm: cannot remove `core': Is a directory
- yes
- checking for style of include used by make... GNU
- checking dependency style of g++... gcc3
- checking if g++ supports C++0x features without additional flags... rm: cannot remove `core': Is a directory
- no
- checking if g++ supports C++0x features with -std=c++0x... rm: cannot remove `core': Is a directory
- yes
- checking if g++ supports C++0x features with -std=gnu++0x... rm: cannot remove `core': Is a directory
- yes
- configure: creating ./config.status
- config.status: creating Makefile
- config.status: creating pythonic++.pc
- config.status: creating tests/Makefile
- config.status: executing depfiles commands
- rm: cannot remove `core': Is a directory
- pbrunet@Choco:~/pythran/pythonic++$ make
- Making all in tests
- make[1]: entrant dans le répertoire « /home/pbrunet/pythran/pythonic++/tests »
- make[1]: Rien à faire pour « all ».
- make[1]: quittant le répertoire « /home/pbrunet/pythran/pythonic++/tests »
- make[1]: entrant dans le répertoire « /home/pbrunet/pythran/pythonic++ »
- make[1]: Rien à faire pour « all-am ».
- make[1]: quittant le répertoire « /home/pbrunet/pythran/pythonic++ »
- pbrunet@Choco:~/pythran/pythonic++$ make install
- Making install in tests
- make[1]: entrant dans le répertoire « /home/pbrunet/pythran/pythonic++/tests »
- make[2]: entrant dans le répertoire « /home/pbrunet/pythran/pythonic++/tests »
- make[2]: Rien à faire pour « install-exec-am ».
- make[2]: Rien à faire pour « install-data-am ».
- make[2]: quittant le répertoire « /home/pbrunet/pythran/pythonic++/tests »
- make[1]: quittant le répertoire « /home/pbrunet/pythran/pythonic++/tests »
- make[1]: entrant dans le répertoire « /home/pbrunet/pythran/pythonic++ »
- make[2]: entrant dans le répertoire « /home/pbrunet/pythran/pythonic++ »
- make[2]: Rien à faire pour « install-exec-am ».
- test -z "/home/pbrunet/pythran/install/include" || /bin/mkdir -p "/home/pbrunet/pythran/install/include"
- /bin/mkdir -p '/home/pbrunet/pythran/install/include/core'
- /usr/bin/install -c -m 644 core/intrinsics.h core/io.h core/sequence.h core/utils.h '/home/pbrunet/pythran/install/include/core'
- /bin/mkdir -p '/home/pbrunet/pythran/install/include/modules'
- /usr/bin/install -c -m 644 modules/math.h '/home/pbrunet/pythran/install/include/modules'
- /usr/bin/install -c -m 644 pythonic++.h '/home/pbrunet/pythran/install/include/.'
- test -z "/home/pbrunet/pythran/install/lib/pkgconfig" || /bin/mkdir -p "/home/pbrunet/pythran/install/lib/pkgconfig"
- /usr/bin/install -c -m 644 pythonic++.pc '/home/pbrunet/pythran/install/lib/pkgconfig'
- make[2]: quittant le répertoire « /home/pbrunet/pythran/pythonic++ »
- make[1]: quittant le répertoire « /home/pbrunet/pythran/pythonic++ »
- pbrunet@Choco:~/pythran/pythran$ python setup.py test
- running test
- EEEEE
- ======================================================================
- ERROR: test_scipy (unittest.loader.ModuleImportFailure)
- ----------------------------------------------------------------------
- ImportError: Failed to import test module: test_scipy
- Traceback (most recent call last):
- File "/usr/lib/python2.7/unittest/loader.py", line 252, in _find_tests
- module = self._get_module_from_name(name)
- File "/usr/lib/python2.7/unittest/loader.py", line 230, in _get_module_from_name
- __import__(name)
- File "/home/pbrunet/pythran/pythran/pythran/tests/test_scipy.py", line 1, in <module>
- from test_env import TestEnv
- File "/home/pbrunet/pythran/pythran/pythran/tests/test_env.py", line 1, in <module>
- from pythran import cxx_generator, compile
- File "/home/pbrunet/pythran/pythran/pythran/__init__.py", line 1, in <module>
- from interface import cxx_generator, compile
- File "/home/pbrunet/pythran/pythran/pythran/interface.py", line 6, in <module>
- from cgen import *
- File "/home/pbrunet/pythran/pythran/cgen/__init__.py", line 23, in <module>
- import numpy
- ImportError: No module named numpy
- ======================================================================
- ERROR: test_spec_parser (unittest.loader.ModuleImportFailure)
- ----------------------------------------------------------------------
- ImportError: Failed to import test module: test_spec_parser
- Traceback (most recent call last):
- File "/usr/lib/python2.7/unittest/loader.py", line 252, in _find_tests
- module = self._get_module_from_name(name)
- File "/usr/lib/python2.7/unittest/loader.py", line 230, in _get_module_from_name
- __import__(name)
- File "/home/pbrunet/pythran/pythran/pythran/tests/test_spec_parser.py", line 2, in <module>
- from pythran import spec_parser
- File "/home/pbrunet/pythran/pythran/pythran/__init__.py", line 1, in <module>
- from interface import cxx_generator, compile
- File "/home/pbrunet/pythran/pythran/pythran/interface.py", line 6, in <module>
- from cgen import *
- File "/home/pbrunet/pythran/pythran/cgen/__init__.py", line 23, in <module>
- import numpy
- ImportError: No module named numpy
- ======================================================================
- ERROR: test_base (unittest.loader.ModuleImportFailure)
- ----------------------------------------------------------------------
- ImportError: Failed to import test module: test_base
- Traceback (most recent call last):
- File "/usr/lib/python2.7/unittest/loader.py", line 252, in _find_tests
- module = self._get_module_from_name(name)
- File "/usr/lib/python2.7/unittest/loader.py", line 230, in _get_module_from_name
- __import__(name)
- File "/home/pbrunet/pythran/pythran/pythran/tests/test_base.py", line 1, in <module>
- from test_env import TestEnv
- File "/home/pbrunet/pythran/pythran/pythran/tests/test_env.py", line 1, in <module>
- from pythran import cxx_generator, compile
- File "/home/pbrunet/pythran/pythran/pythran/__init__.py", line 1, in <module>
- from interface import cxx_generator, compile
- File "/home/pbrunet/pythran/pythran/pythran/interface.py", line 6, in <module>
- from cgen import *
- File "/home/pbrunet/pythran/pythran/cgen/__init__.py", line 23, in <module>
- import numpy
- ImportError: No module named numpy
- ======================================================================
- ERROR: test_env (unittest.loader.ModuleImportFailure)
- ----------------------------------------------------------------------
- ImportError: Failed to import test module: test_env
- Traceback (most recent call last):
- File "/usr/lib/python2.7/unittest/loader.py", line 252, in _find_tests
- module = self._get_module_from_name(name)
- File "/usr/lib/python2.7/unittest/loader.py", line 230, in _get_module_from_name
- __import__(name)
- File "/home/pbrunet/pythran/pythran/pythran/tests/test_env.py", line 1, in <module>
- from pythran import cxx_generator, compile
- File "/home/pbrunet/pythran/pythran/pythran/__init__.py", line 1, in <module>
- from interface import cxx_generator, compile
- File "/home/pbrunet/pythran/pythran/pythran/interface.py", line 6, in <module>
- from cgen import *
- File "/home/pbrunet/pythran/pythran/cgen/__init__.py", line 23, in <module>
- import numpy
- ImportError: No module named numpy
- ======================================================================
- ERROR: test_copperhead (unittest.loader.ModuleImportFailure)
- ----------------------------------------------------------------------
- ImportError: Failed to import test module: test_copperhead
- Traceback (most recent call last):
- File "/usr/lib/python2.7/unittest/loader.py", line 252, in _find_tests
- module = self._get_module_from_name(name)
- File "/usr/lib/python2.7/unittest/loader.py", line 230, in _get_module_from_name
- __import__(name)
- File "/home/pbrunet/pythran/pythran/pythran/tests/test_copperhead.py", line 1, in <module>
- from test_env import TestEnv
- File "/home/pbrunet/pythran/pythran/pythran/tests/test_env.py", line 1, in <module>
- from pythran import cxx_generator, compile
- File "/home/pbrunet/pythran/pythran/pythran/__init__.py", line 1, in <module>
- from interface import cxx_generator, compile
- File "/home/pbrunet/pythran/pythran/pythran/interface.py", line 6, in <module>
- from cgen import *
- File "/home/pbrunet/pythran/pythran/cgen/__init__.py", line 23, in <module>
- import numpy
- ImportError: No module named numpy
- ----------------------------------------------------------------------
- Ran 5 tests in 0.001s
- FAILED (errors=5)
- pbrunet@Choco:~/pythran/pythran$ easy_install --prefix=$HOME/pythran/install codepy
- error: can't create or remove files in install directory
- The following error occurred while trying to add or remove files in the
- installation directory:
- [Errno 2] No such file or directory: '/home/pbrunet/pythran/install/lib/python2.7/site-packages/test-easy-install-15574.pth'
- The installation directory you specified (via --install-dir, --prefix, or
- the distutils default setting) was:
- /home/pbrunet/pythran/install/lib/python2.7/site-packages
- This directory does not currently exist. Please create it and try again, or
- choose a different installation directory (using the -d or --install-dir
- option).
- pbrunet@Choco:~/pythran/pythran$ cd ../install/lib/
- pbrunet@Choco:~/pythran/install/lib$ mkdir python2.7 && cd python2.7 && mkdir site-packages
- pbrunet@Choco:~/pythran/pythran$ export PYTHONPATH=$HOME/pythran/install/lib/python2.7/site-packages
- pbrunet@Choco:~/pythran/pythran$ easy_install --prefix=$HOME/pythran/install codepy
- Searching for codepy
- Best match: codepy 2012.1.2
- Processing codepy-2012.1.2-py2.7.egg
- codepy 2012.1.2 is already the active version in easy-install.pth
- Using /home/pbrunet/pythran/install/lib/python2.7/site-packages/codepy-2012.1.2-py2.7.egg
- Processing dependencies for codepy
- Searching for pytools>=8
- Reading http://pypi.python.org/simple/pytools/
- Reading http://mathema.tician.de/software/pytools
- Best match: pytools 2011.5
- Downloading http://pypi.python.org/packages/source/p/pytools/pytools-2011.5.tar.gz#md5=90107519fee21eeb7e712afb2178a568
- Processing pytools-2011.5.tar.gz
- Running pytools-2011.5/setup.py -q bdist_egg --dist-dir /tmp/easy_install-M7HIdw/pytools-2011.5/egg-dist-tmp-DO4OG_
- Downloading http://pypi.python.org/packages/source/d/distribute/distribute-0.6.14.tar.gz
- Extracting in /tmp/easy_install-M7HIdw/pytools-2011.5/temp/tmpdZYvEl
- Now working in /tmp/easy_install-M7HIdw/pytools-2011.5/temp/tmpdZYvEl/distribute-0.6.14
- Building a Distribute egg in /tmp/easy_install-M7HIdw/pytools-2011.5
- /tmp/easy_install-M7HIdw/pytools-2011.5/distribute-0.6.14-py2.7.egg
- zip_safe flag not set; analyzing archive contents...
- pytools.diskdict: module references __file__
- Adding pytools 2011.5 to easy-install.pth file
- Installed /home/pbrunet/pythran/install/lib/python2.7/site-packages/pytools-2011.5-py2.7.egg
- Searching for decorator>=3.2.0
- Reading http://pypi.python.org/simple/decorator/
- Best match: decorator 3.3.3
- Downloading http://pypi.python.org/packages/source/d/decorator/decorator-3.3.3.tar.gz#md5=f5a0227cb1c34a0e7d5b7f9cd2ae3135
- Processing decorator-3.3.3.tar.gz
- Running decorator-3.3.3/setup.py -q bdist_egg --dist-dir /tmp/easy_install-3KWU5i/decorator-3.3.3/egg-dist-tmp-4ROmEf
- /usr/lib/python2.7/distutils/dist.py:267: UserWarning: Unknown distribution option: 'use_2to3'
- warnings.warn(msg)
- warning: no previously-included files found matching 'Makefile'
- Adding decorator 3.3.3 to easy-install.pth file
- Installed /home/pbrunet/pythran/install/lib/python2.7/site-packages/decorator-3.3.3-py2.7.egg
- Finished processing dependencies for codepy
- pbrunet@Choco:~/pythran/pythran$ python setup.py testrunning test
- EEEEE
- ======================================================================
- ERROR: test_scipy (unittest.loader.ModuleImportFailure)
- ----------------------------------------------------------------------
- ImportError: Failed to import test module: test_scipy
- Traceback (most recent call last):
- File "/usr/lib/python2.7/unittest/loader.py", line 252, in _find_tests
- module = self._get_module_from_name(name)
- File "/usr/lib/python2.7/unittest/loader.py", line 230, in _get_module_from_name
- __import__(name)
- File "/home/pbrunet/pythran/pythran/pythran/tests/test_scipy.py", line 1, in <module>
- from test_env import TestEnv
- File "/home/pbrunet/pythran/pythran/pythran/tests/test_env.py", line 1, in <module>
- from pythran import cxx_generator, compile
- File "/home/pbrunet/pythran/pythran/pythran/__init__.py", line 1, in <module>
- from interface import cxx_generator, compile
- File "/home/pbrunet/pythran/pythran/pythran/interface.py", line 6, in <module>
- from cgen import *
- File "/home/pbrunet/pythran/pythran/cgen/__init__.py", line 23, in <module>
- import numpy
- ImportError: No module named numpy
- ======================================================================
- ERROR: test_spec_parser (unittest.loader.ModuleImportFailure)
- ----------------------------------------------------------------------
- ImportError: Failed to import test module: test_spec_parser
- Traceback (most recent call last):
- File "/usr/lib/python2.7/unittest/loader.py", line 252, in _find_tests
- module = self._get_module_from_name(name)
- File "/usr/lib/python2.7/unittest/loader.py", line 230, in _get_module_from_name
- __import__(name)
- File "/home/pbrunet/pythran/pythran/pythran/tests/test_spec_parser.py", line 2, in <module>
- from pythran import spec_parser
- File "/home/pbrunet/pythran/pythran/pythran/__init__.py", line 1, in <module>
- from interface import cxx_generator, compile
- File "/home/pbrunet/pythran/pythran/pythran/interface.py", line 6, in <module>
- from cgen import *
- File "/home/pbrunet/pythran/pythran/cgen/__init__.py", line 23, in <module>
- import numpy
- ImportError: No module named numpy
- ======================================================================
- ERROR: test_base (unittest.loader.ModuleImportFailure)
- ----------------------------------------------------------------------
- ImportError: Failed to import test module: test_base
- Traceback (most recent call last):
- File "/usr/lib/python2.7/unittest/loader.py", line 252, in _find_tests
- module = self._get_module_from_name(name)
- File "/usr/lib/python2.7/unittest/loader.py", line 230, in _get_module_from_name
- __import__(name)
- File "/home/pbrunet/pythran/pythran/pythran/tests/test_base.py", line 1, in <module>
- from test_env import TestEnv
- File "/home/pbrunet/pythran/pythran/pythran/tests/test_env.py", line 1, in <module>
- from pythran import cxx_generator, compile
- File "/home/pbrunet/pythran/pythran/pythran/__init__.py", line 1, in <module>
- from interface import cxx_generator, compile
- File "/home/pbrunet/pythran/pythran/pythran/interface.py", line 6, in <module>
- from cgen import *
- File "/home/pbrunet/pythran/pythran/cgen/__init__.py", line 23, in <module>
- import numpy
- ImportError: No module named numpy
- ======================================================================
- ERROR: test_env (unittest.loader.ModuleImportFailure)
- ----------------------------------------------------------------------
- ImportError: Failed to import test module: test_env
- Traceback (most recent call last):
- File "/usr/lib/python2.7/unittest/loader.py", line 252, in _find_tests
- module = self._get_module_from_name(name)
- File "/usr/lib/python2.7/unittest/loader.py", line 230, in _get_module_from_name
- __import__(name)
- File "/home/pbrunet/pythran/pythran/pythran/tests/test_env.py", line 1, in <module>
- from pythran import cxx_generator, compile
- File "/home/pbrunet/pythran/pythran/pythran/__init__.py", line 1, in <module>
- from interface import cxx_generator, compile
- File "/home/pbrunet/pythran/pythran/pythran/interface.py", line 6, in <module>
- from cgen import *
- File "/home/pbrunet/pythran/pythran/cgen/__init__.py", line 23, in <module>
- import numpy
- ImportError: No module named numpy
- ======================================================================
- ERROR: test_copperhead (unittest.loader.ModuleImportFailure)
- ----------------------------------------------------------------------
- ImportError: Failed to import test module: test_copperhead
- Traceback (most recent call last):
- File "/usr/lib/python2.7/unittest/loader.py", line 252, in _find_tests
- module = self._get_module_from_name(name)
- File "/usr/lib/python2.7/unittest/loader.py", line 230, in _get_module_from_name
- __import__(name)
- File "/home/pbrunet/pythran/pythran/pythran/tests/test_copperhead.py", line 1, in <module>
- from test_env import TestEnv
- File "/home/pbrunet/pythran/pythran/pythran/tests/test_env.py", line 1, in <module>
- from pythran import cxx_generator, compile
- File "/home/pbrunet/pythran/pythran/pythran/__init__.py", line 1, in <module>
- from interface import cxx_generator, compile
- File "/home/pbrunet/pythran/pythran/pythran/interface.py", line 6, in <module>
- from cgen import *
- File "/home/pbrunet/pythran/pythran/cgen/__init__.py", line 23, in <module>
- import numpy
- ImportError: No module named numpy
- ----------------------------------------------------------------------
- Ran 5 tests in 0.001s
- FAILED (errors=5)