Problems to install avogadro (chem. progr.) in Slackware13.37-current
I am trying to install avogadro program under slackware 13.37-current.
However, after installing tons of dependencies I can't figure what went wrong. Firstly, in order to install avogadro, slackbuild showed openbabel as dependency and here is my problem. In order to install openbabel I installed the following builds in the order listed below: ORBit2 -> GConf -> wxPython Despite some warning errors in almost all of those, I was able to create and install the pkg. However, when I try to build the openbabel using (http://slackbuilds.org/repository/13...ies/openbabel/) it respond with a lot of errors like: Code:
CMake Warning at test/CMakeLists.txt:53 (add_executable): Code:
In file included from /usr/include/eigen2/Eigen/Core:99:0, |
Same results with wxX11 and wxGTK :-(
Can't build openbabel and since avogadro has it as dependency can't install it either. |
You probably already know that slackbuilds.org repository is compatible with the stable slackware version and, as in this case, with the compiler installed on that.
slackware-current ships gcc-4.7, and in some cases workarounds/patches are needed if the sources are not gcc-4.7-compliant: because I like to slack, I've patched the stuff of slackbuilds.org that I use to let it build on -current with sbopkg (you can spot the modifications in more detail here, hoping they can be useful too for the fellas running -current :) ). luckily for us, this gcc seems more eloquent of its precedessors, it even offers solutions in the output! :) the error you showed in the first post seems to match this part of the document above about porting code for the new gcc Quote:
Code:
-DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \ Code:
-DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS -fpermissive" \ |
Thank you very much, that worked like a charm!
Also, You made a concise and very helpful explanation as also posted some links like this that helped me more than you can imagine. Post closed and +1 deserved. Thanks again. |
Fix error: 'ei_abs' was not declared in this scope, and no declarations were found by argument-depen
By Installing Eigen2 VERSION=2.0.17 solves this problem! Just take note that I also installed Eigen3 VERSION=3.0.5 as well, if you need build procedure come to contact-us at http://cersi.tk or drop email at wmh@cersi.tk
|
Fix error: 'ei_abs' was not declared in this scope, and no declarations were found by argument-depen
Fix error: 'ei_abs' was not declared in this scope, and no declarations were found by argument-depen
By Installing Eigen2 VERSION=2.0.17 solves this problem! Just take note that I also installed Eigen3 VERSION=3.0.5 as well, if you need build procedure come to contact-us at http://cersi.tk or drop email at wmh@cersi.tk |
All times are GMT -5. The time now is 02:43 PM. |