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

error : make/make install #39

Closed
sravani9408 opened this issue Feb 20, 2019 · 4 comments
Closed

error : make/make install #39

sravani9408 opened this issue Feb 20, 2019 · 4 comments

Comments

@sravani9408
Copy link

sravani9408 commented Feb 20, 2019

1 error generated.
make[1]: *** [igor-Coverageerrcounter.o] Error 1
make: *** [install-recursive] Error 1

Hello qmarcou,
As suggested I did make clean , make and then make install. Still I am getting the same errors. Below is the log file.
[error_logs.txt](https://github.com/qmarcou/IGoR/files/2917457/error_logs.txt)

Thanks
@qmarcou
Copy link
Owner

qmarcou commented Feb 21, 2019

Hi @sravani9408 ,
Could you give me a bit more information? e.g the command line you have used and the complete error log ? Which compiler are you using on which operating system?
Otherwise without more information, I don't see any reason for such error, I can only advise you to first use make clean and then make again, before make install
Best regards,

@sravani9408
Copy link
Author

Hello qmarcou,
Could you please help me fix this error. Attached is the error log.

error.log

Coverageerrcounter.cpp:141:19: note: in instantiation of member function
'std::__1::unordered_map<std::__1::basic_string, Event_realization,
std::__1::hash<std::__1::basic_string >,
std::__1::equal_to<std::__1::basic_string >,
std::__1::allocator<std::__1::pair<const std::__1::basic_string,
Event_realization> > >::operator=' requested here
v_realizations = v_gene_event_p->get_realizations_map();
^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/utility:325:5: note:
copy assignment operator is implicitly deleted because
'pair<std::__1::basic_string, Event_realization>' has a
user-declared move constructor
pair(pair&&) = default;
^
1 error generated.
make[2]: *** [igor-Coverageerrcounter.o] Error 1
mv -f .deps/igor-Errorscounter.Tpo .deps/igor-Errorscounter.Po
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2

@qmarcou
Copy link
Owner

qmarcou commented Mar 5, 2019

Hello @sravani9408 ,
I suspect you may have missed some of the installation guidelines. Although you have edited your message I think I remember you're using MacOS and have installed gcc via brew and used ./configure without further option. Please have a look at the installation manual stating:

MacOS is shipped with another compiler (Clang) when installing Xcode that is called upon calling gcc (through name aliasing) and is not supporting OpenMP. In order to use gcc and compile with it an OpenMP application you will first need to download Macports or Homebrew and install gcc from there.

and

Note: if you decide to use Homebrew you should apparently refrain yourself from assigning the newly installed gcc to the gcc command(see this page for more details). You will thus have to pass the correct compiler instructions to the configure script with the CC and CXX flags.

and

Many options can be appended to ./configure such as ./configure CC=gcc CXX=g+ + to enforce the use of gcc as compiler. The full set of the configure script options can be found here.

Please remember that once you have installed GCC via Homebrew you will have to pass the correct compiler's name and version to the configure script in order to use it. Given the fact that in your error log make is calling g++ -std=gnu++11 -DHAVE_CONFIG_H -I. -I.. -I./../libs/jemalloc/include/jemalloc -I./../libs/gsl_sub -DIGOR_DATA_DIR=\"/usr/local/share/igor\" -g -O2 -MT igor-Coverageerrcounter.o -MD -MP -MF .deps/igor-Coverageerrcounter.Tpo -c -o igor-Coverageerrcounter.o test -f 'Coverageerrcounter.cpp' || echo './'Coverageerrcounter.cpp I suspect by using g++ you are still using the Clang compiler instead of gcc.

Note: also please remember that for now too recent versions of GCC (>8.x.x) are not supported due to some unknown errors at compile time.

@sravani9408
Copy link
Author

Hello @qmarcou

Thank you so much. I used Macports(gcc 6) and append options to configure instead of homebrew and it worked.

Thanks again,
Sravani

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

No branches or pull requests

2 participants