Re: [AMBER] Installation Problem

From: Bill Ross <ross.cgl.ucsf.edu>
Date: Mon, 18 Mar 2019 05:00:04 -0700

It seems the problem is your g++ installation or another setup step:

Unable to compile a C program using g++

Bill


On 3/18/19 4:20 AM, david stephen wrote:
> Respected Professor,
> Thanks for your kind support so far provided to me and my research team.
> Now i am installing whole amber16 package to my new workstation having CENTOS 6 (64 bit). I got the following error which i can not resolved,
> I presumed the problem lies in the version of Python. The in-built centos 6 got python 2.6, but AMBER needs version atleast 2.7. I installed python 2.7, still the problem persist, i copied the error message when configurin the amber16...
> ./configure2: line 947: cd: /opt/amber16/bin: No such file or directoryUsing the AmberTools miniconda installation in /opt/amber16/minicondaversion ./configure2: line 64: /opt/amber16/bin/amber.python: No such file or directory
> Obtaining the gnu compiler suite versions, e.g.:     gcc -vThe C version is 4.4.7The Fortran version is 4.4.7
> Testing the gcc compiler:     gcc -fPIC  -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE  -o testp testp.cOK
> Testing the g++ compiler:     g++ -fPIC  -o testp testp.cppIn file included from testp.cpp:1:/usr/lib/gcc/x86_64-redhat-linux/4.4.7/../../../../include/c++/4.4.7/cstdio:43:28: error: bits/                         c++config.h: No such file or directoryIn file included from /usr/lib/gcc/x86_64-redhat-linux/4.4.7/../../../../include/c++/4.4.7/cstd                         io:44,                 from testp.cpp:1:/usr/lib/gcc/x86_64-redhat-linux/4.4.7/../../../../include/c++/4.4.7/cstddef:49: error: expecte                         d constructor, destructor, or type conversion before ‘(’ tokenIn file included from /usr/lib/gcc/x86_64-redhat-linux/4.4.7/../../../../include/c++/4.4.7/cstd                         io:45,                 from testp.cpp:1:/usr/include/stdio.h:30: error: expected constructor, destructor, or type conversion before ‘ex                         tern’./configure2: line 2288: ./testp: No such file or directoryError: Unable to compile a C program using g++ -fPIC       Please check your compiler settings or configure flags.Configure failed due to the errors above!
>
> Kindly do the needful help
>
> Thanking you Sincerely Dr. A. David Stephen Dept. of Physics SSIET - Coimbatore,Tamilnadu, INDIA
> _______________________________________________
> AMBER mailing list
> AMBER.ambermd.org
> http://lists.ambermd.org/mailman/listinfo/amber
>
_______________________________________________
AMBER mailing list
AMBER.ambermd.org
http://lists.ambermd.org/mailman/listinfo/amber
Received on Mon Mar 18 2019 - 05:30:02 PDT
Custom Search