[pythran] Installation problem from NT2

  • From: MBR MBR <mbr.joos@xxxxxxxxx>
  • To: pythran@xxxxxxxxxxxxx
  • Date: Tue, 19 May 2015 18:05:06 +0200

Dear all,

I am trying to install Pythran on my computer (a GNU/Linux Ubuntu 12.04). I
have Python 2.7.9 from Anaconda 1.8.0.

So far, I tried to install Pythran with pip (after upgrading my Boost
library to 1.48; all the other requirements are met), but it failed with
the following error, when it tries to install NT2:


erreur: ‘BOOST_FORCEINLINE’ does not name a type

and then I have tons of this error.

I try another strategy, taking directly the sources from GitHub:
git clone https://github.com/serge-sans-paille/pythran
python setup.py install

It then fails with the following error:
Compile and install nt2
Traceback (most recent call last):
File "setup.py", line 330, in <module>
'bench': BenchmarkCommand}
File "/local/home/mjoos/soft/anaconda/lib/python2.7/distutils/core.py",
line 151, in setup
File "/local/home/mjoos/soft/anaconda/lib/python2.7/distutils/dist.py",
line 953, in run_commands
File "/local/home/mjoos/soft/anaconda/lib/python2.7/distutils/dist.py",
line 972, in run_command
line 563, in run
File "/local/home/mjoos/soft/anaconda/lib/python2.7/distutils/cmd.py",
line 326, in run_command
File "/local/home/mjoos/soft/anaconda/lib/python2.7/distutils/dist.py",
line 972, in run_command
File "setup.py", line 137, in run
File "setup.py", line 118, in build_nt2
'--target', 'install'])
File "/local/home/mjoos/soft/anaconda/lib/python2.7/subprocess.py", line
573, in check_output
raise CalledProcessError(retcode, cmd, output=output)
subprocess.CalledProcessError: Command '['cmake', '--build',
'build/temp.linux-x86_64-2.7/nt2', '--target', 'install']' returned
non-zero exit status 2

No surprises, it also fails at the NT2 installation step (but it was worth
a try). I (quite rapidely) had a look on the Internet about NT2
installation troubleshooting and Pythran installations problems, but so far
I didn't found any useful help.

Did I miss something? Is there a way to make it works?
Any help would be appreciated!


Other related posts: