Re: [AMBER] Problems when installing AMBER20 on CentOS 7: multiple definition of 'cifpin'

From: David A Case <david.case.rutgers.edu>
Date: Tue, 13 Apr 2021 08:41:38 -0400

On Tue, Apr 13, 2021, 石谷沁 wrote:
>
>I ran into a set of problems when installing AMBER20 on CentOS 7.
>
>1. Should I keep using cmake3 for CentOS 7? But apparently during “make
>install” step, still cmake is called.

I don't have access to a CentOS 7 machine, but the instructions look
incomplete. You would need to alias cmake to cmake3, since the cmake build
indeed calls "cmake" during its run. I *think* using the original cmake
(installed by yum) in the middle of the run may not work.

>
> ## 4b. at 32% got below error messages:
> ## Scanning dependencies of target cifparse
> ## [ 32%] Building C object AmberTools/src/cifparse/CMakeFiles/cifparse.dir/cifparse.c.o
> ## [ 32%] Building C object AmberTools/src/cifparse/CMakeFiles/cifparse.dir/lex.cif.c.o
> ## [ 32%] Building C object AmberTools/src/cifparse/CMakeFiles/cifparse.dir/cifp.tab.c.o
> ## [ 32%] Linking C shared library libcifparse.so
> ## CMakeFiles/cifparse.dir/lex.cif.c.o:(.bss+0x8): multiple definition of `cifpin'
> ## CMakeFiles/cifparse.dir/cifparse.c.o:(.bss+0x0): first defined here

Ugh...what is your gcc compiler (type 'gcc --version'). And what version of
bison ('bison --version')? We test on CentOS 7, and don't see this.

...thanks...dac


_______________________________________________
AMBER mailing list
AMBER.ambermd.org
http://lists.ambermd.org/mailman/listinfo/amber
Received on Tue Apr 13 2021 - 06:00:02 PDT
Custom Search