Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Compiling on Centos 7.8 (gcc 4.8.5) #16

Open
ihayhurst opened this issue Aug 12, 2020 · 1 comment
Open

Compiling on Centos 7.8 (gcc 4.8.5) #16

ihayhurst opened this issue Aug 12, 2020 · 1 comment

Comments

@ihayhurst
Copy link

Compilation on Centos 7.8 (gcc 4.8.5) failed initially with errors like:

In file included from ../include/iwstring.h:32:0,
                 from IWString_class.cc:32:
../include/iwaray.h:155:61: error: expected ‘,’ or ‘...’ before ‘&&’ token
     resizable_array_p<T> & operator = (resizable_array_p<T> &&);
                                                                                                 ^

To resolve:
I was able to compile successfully by pre-pending -std=c++11 to the CXXFLAGS line on the Makefiles
/Lilly-Medchem-Rules/supporting_libraries/Makefile
/Lilly-Medchem-Rules/Molecules/Makefile

@nbehrnd
Copy link
Contributor

nbehrnd commented Aug 29, 2020

Issue 2 (Compiling on Debian) includes a report about a successful compilation with CentOS 7 (gcc 4.8.2) after some adjustments. Despite its age (posted back in 2015), does this resolve your problem? I'm not familiar how program packages are managed by CentOS, but according to a search here CentOS 8 offers a more recent release of gcc 8.3.1 suggesting an update could resolve the issue, too. A third option may be a Docker container; with file README_Docker.md Ian provides guidelines how to set up and eventually use the program.

As by today, I found no problem compiling the program and running the executable in Linux Debian 10 (bullseye / branch testing) with gcc (10.2.0), make (gnu make 4.3), and ruby (2.7.1.p83).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants