Re: [AMBER] gcc error while compiling Amber16 on ubuntu16.04

From: David Case <david.case.rutgers.edu>
Date: Sun, 16 Jul 2017 13:03:18 -0400

On Sat, Jul 15, 2017, Vivek Bharadwaj wrote:
>
> gcc -pthread -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall
> -Wstrict-prototypes -fPIC
> -I/home/vbharadw/Packages/amber16/AmberTools/src/parmed/src
> -I/home/vbharadw/Packages/anaconda3/include/python3.5m -c src/_rdparm.cpp
> -o build/temp.linux-x86_64-3.5/src/_rdparm.o
> gcc: error trying to exec 'cc1plus': execvp: No such file or directory
> error: command 'gcc' failed with exit status 1

It appears that the build system is trying to compile C++ code with gcc,
rather than g++. What OS are you using? What options did you give to
configure? Do you have a CXX environment variable defined? (If so, what
are its contents)?

(Aside: the above might not be the problem....)

>
> It appears to be failing while building parmed. My python version is 3.5.2.

It might be worth re-running the configure script, and allowing a download
of a python 2.7 that resides inside the amber16 tree (and should not interfere
with other python uses you have.) Not everything in Amber has been upgraded
to python3. Still, this is a work-around. It reflects that fact that all (or
almost all) python3 testing is done by developers who are python experts,
whereas almost everyone else is using python2.7, generally accepting the
defaults offered by the configure script.

....dac

>
> Any help with fixing this will be appreciated.
>
> Thank you.
>
> Vivek
> _______________________________________________
> AMBER mailing list
> AMBER.ambermd.org
> http://lists.ambermd.org/mailman/listinfo/amber

-- 
====================================================================
David A. Case                         |       david.case.rutgers.edu
Dept. of Chemistry & Chemical Biology |
Rutgers University                    |    office:   +1-848-445-5885
174 Frelinghuysen Road, Rm. 208b      |    cell:     +1-609-751-8668
Piscataway, NJ 08854        USA       | http://casegroup.rutgers.edu
====================================================================
_______________________________________________
AMBER mailing list
AMBER.ambermd.org
http://lists.ambermd.org/mailman/listinfo/amber
Received on Sun Jul 16 2017 - 10:30:03 PDT
Custom Search