Intel(R) Celeron(R) CPU N2840 @ 2.16 GHz
64-bit Operating System, x64-based processor
Compiling in serial
yambo-4.0.2-rev.90
Hello sir,
I am trying to install yambo on fedora desktop operating system. The configure script runs well. However, compilation does not go to completion. Instead, I get the following error message in the last few lines:
checking how to run the C++ preprocessor... /lib/cpp
configure: error: in `/home/henryodhiambo/Applications/yambo-4.0.2-rev.90/lib/netcdf/netcdf-y4.1.3':
configure: error: C++ preprocessor "/lib/cpp" fails sanity check
See `config.log' for more details
Makefile:35: recipe for target 'configure-stamp' failed
make[1]: *** [configure-stamp] Error 1
make[1]: Leaving directory '/home/henryodhiambo/Applications/yambo-4.0.2-rev.90/lib/netcdf'
Makefile:89: recipe for target 'libs' failed
make: *** [libs] Error 2
What could be the problem? Thank you.
Regards,
Henry Odhiambo
Department of Physics and Materials Science
Maseno University
Kenya
Compiling error
Moderators: Davide Sangalli, andrea.ferretti, myrta gruning, andrea marini, Daniele Varsano, Conor Hogan, Nicola Spallanzani
Forum rules
If you have trouble compiling Yambo, please make sure to list:
(1) the compiler (vendor and release: e.g. intel 10.1)
(2) the architecture (e.g. 64-bit IBM SP5)
(3) if the problems occur compiling in serial/in parallel
(4) the version of Yambo (revision number/major release version)
(5) the relevant compiler error message
If you have trouble compiling Yambo, please make sure to list:
(1) the compiler (vendor and release: e.g. intel 10.1)
(2) the architecture (e.g. 64-bit IBM SP5)
(3) if the problems occur compiling in serial/in parallel
(4) the version of Yambo (revision number/major release version)
(5) the relevant compiler error message
- myrta gruning
- Posts: 242
- Joined: Tue Mar 17, 2009 11:38 am
- Contact:
Re: Compiling error
Dear Henry
From what you posted the problem seems in the configure.
Can you upload the config.log so that we can see more precisely what is the problem?
Best,
Myrta
From what you posted the problem seems in the configure.
Can you upload the config.log so that we can see more precisely what is the problem?
Best,
Myrta
Dr Myrta Grüning
School of Mathematics and Physics
Queen's University Belfast - Northern Ireland
http://www.researcherid.com/rid/B-1515-2009
School of Mathematics and Physics
Queen's University Belfast - Northern Ireland
http://www.researcherid.com/rid/B-1515-2009
-
- Posts: 4
- Joined: Wed Jan 06, 2016 12:00 pm
Re: Compiling error
Dear Myrta,
Attached is the config.log file
I hope to hear from you. Thank you.
Henry Odhiambo
Department of Physics and Materials Science
Maseno University
Kenya
Attached is the config.log file
I hope to hear from you. Thank you.
Henry Odhiambo
Department of Physics and Materials Science
Maseno University
Kenya
You do not have the required permissions to view the files attached to this post.
- myrta gruning
- Posts: 242
- Joined: Tue Mar 17, 2009 11:38 am
- Contact:
Re: Compiling error
dear Henry
The configure process of Yambo was indeed successful. The configure that failed is probably that of the extra libraries needed by Yambo, possibly NETCDF.
For what I can see it seems related to missing C++ compiler. You can try to install it (using e.g. yum) and then try to compile yambo again.
Hope this helps,
Myrta
The configure process of Yambo was indeed successful. The configure that failed is probably that of the extra libraries needed by Yambo, possibly NETCDF.
For what I can see it seems related to missing C++ compiler. You can try to install it (using e.g. yum) and then try to compile yambo again.
Hope this helps,
Myrta
Dr Myrta Grüning
School of Mathematics and Physics
Queen's University Belfast - Northern Ireland
http://www.researcherid.com/rid/B-1515-2009
School of Mathematics and Physics
Queen's University Belfast - Northern Ireland
http://www.researcherid.com/rid/B-1515-2009
-
- Posts: 4
- Joined: Wed Jan 06, 2016 12:00 pm
Re: Compiling error
Hello,
yum install gcc-c++
It worked. Thank you.
Henry Odhiambo
Dept of Physics and Materials science
Maseno University
Kenya
yum install gcc-c++
It worked. Thank you.
Henry Odhiambo
Dept of Physics and Materials science
Maseno University
Kenya