We have a server running Scientific Linux 5 and I would like to use smina on it. However, the provided static binary segfaults claiming that the kernel (2.6.18-409.el5) is too old. Therefore I would need to built smina from source on that particular machine.
I have successfully compiled Vina and other derivatives on that server with gcc 4.1 and Boost 1.41 (installed at /usr/local).
However, that particular combination does not seem to work for smina. I also have gcc 4.8 and Boost 1.60 in a local directory. However, even if I have modified the make files to point to the local Boost install, the compiler is still trying to use the include files from the old version at /usr/local.,
I have three questions:
1.- What versions of the gcc compiler are known to work?
2.- What versions of Boost are known to work?
3.- How can I force the compiler to use the locally-installed Boost libraries and include files?
Best regards,
Miro
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Thank you for the tip. It is fine. Both 1.41 and 1.60 were compiled from source, so it does not really matter which one is at /usr/local and which one is locally installed. In a way, it is better to have the newer version on a global location and use the old ones only with the codes that need them.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hello,
We have a server running Scientific Linux 5 and I would like to use smina on it. However, the provided static binary segfaults claiming that the kernel (2.6.18-409.el5) is too old. Therefore I would need to built smina from source on that particular machine.
I have successfully compiled Vina and other derivatives on that server with gcc 4.1 and Boost 1.41 (installed at /usr/local).
However, that particular combination does not seem to work for smina. I also have gcc 4.8 and Boost 1.60 in a local directory. However, even if I have modified the make files to point to the local Boost install, the compiler is still trying to use the include files from the old version at /usr/local.,
I have three questions:
1.- What versions of the gcc compiler are known to work?
2.- What versions of Boost are known to work?
3.- How can I force the compiler to use the locally-installed Boost libraries and include files?
Best regards,
Miro
OK, it is done. It compiles with gcc 4.8 and Boost 1.60 as long as Boost and Eigen3 are installed in /usr/local
FYI, changing the BOOST_INCLUDE variable in makefile_common probably
should have done the trick.
David Koes
Assistant Professor
Computational and Systems Biology
University of Pittsburgh
On 04/04/2016 06:52 AM, Miro wrote:
Thank you for the tip. It is fine. Both 1.41 and 1.60 were compiled from source, so it does not really matter which one is at /usr/local and which one is locally installed. In a way, it is better to have the newer version on a global location and use the old ones only with the codes that need them.