|
From: | Jean-Noël Grad |
Subject: | Re: [ESPResSo-users] problem fom installing the ESPResSo |
Date: | Mon, 15 Apr 2019 12:16:44 +0200 |
User-agent: | Mozilla/5.0 (X11; Linux i686; rv:60.0) Gecko/20100101 Thunderbird/60.5.1 |
Hello,It looks like the -fPIC compiler flag is missing. You can review the compiler flags used during compilation in /home/zhrq/espresso-4.0.1/build/compile_commands.json. In my case all 202 files in espresso have the -fPIC flag, the ~60 other files that don't have -fPIC are unit test files, which do not need to be included in the final shared library. Try reconfiguring the build with the command line below:
cmake3 -DCMAKE_CXX_FLAGS="-fPIC" ..in a fresh directory (e.g. /home/zhrq/espresso-4.0.1/build2) and let us now if you still have the error message during compilation.
Best regards, JN On 4/15/19 5:57 AM, ricky wrote:
Excuse me,I’m new to the software and I want to install it on my CentOS 7.0.1406. I followed the procedures described in the Quick installation.1)When I executed the command “cmake3 ..”: , it seems to be successful for the information printed on the terminal is like that2)Then I executed the “make command” and I met the following error: The make.log file is in the attachment. How to install the software successfully? Thanks a lot! Best regards! Ricky Zhao
[Prev in Thread] | Current Thread | [Next in Thread] |