dimchris / mdanalysis

Automatically exported from code.google.com/p/mdanalysis
0 stars 0 forks source link

CentOS install: g++ problem? 0.7.4 release #78

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
I'm following the CentOS install guide form:
http://code.google.com/p/mdanalysis/wiki/InstallRecipes?ts=1315999383&updated=In
stallRecipes#CentOS_5:_user_installation

Python 2.6, setuptool, easy_setup and numpy 1.6.0 are installed locally at 
~/Library, instead of ~/.local.

Executing the install command
{{{
easy_install-2.6 --script-dir ~/bin --install-dir 
~/.local/lib/python2.6/site-packages 
http://mdanalysis.googlecode.com/files/MDAnalysis-0.7.4.tar.gz
}}}

Returns the error (last 3 lines)
{{{
...
src/transformations/transformations.c:913: warning: 
'PyConverter_DoubleVector4Copy' defined but not used
gcc: error trying to exec 'cc1plus': execvp: No such file or directory
error: Setup script exited with error: command 'gcc' failed with exit status 1
}}}

Similar behaviour when installing from unpacked sources, using
{{{
python2.6 setup.py install --user
}}}

Bumped into a problem with missing g++ on CentOS forums, but admin says that 
g++ is installed as g++44. Did alias g++="g++44" but (no surprises) that didn't 
help.

Original issue reported on code.google.com by jan...@gmail.com on 14 Sep 2011 at 1:44

GoogleCodeExporter commented 9 years ago
Admin changed the g++ install and the install worked - the issue is closed. 

Original comment by jan...@gmail.com on 14 Sep 2011 at 2:01

GoogleCodeExporter commented 9 years ago
Aliasing would not help as the alias is not picked up by setup.py (or any other 
process), it just works in the shell. You can try a dirty symlink ~/bin/g++ -> 
g++44 or somehow use the setup.cfg file 
(http://docs.python.org/distutils/configfile.html) 

Original comment by orbeckst on 14 Sep 2011 at 3:07

GoogleCodeExporter commented 9 years ago
Was not an MDAnalysis bug, closed as invalid.

Original comment by orbeckst on 14 Sep 2011 at 3:16