Hi Bradley,
Fair point. (If I had more experience I'd be happy to assist in
packaging MIFit for specific popular Linux OSes)....
This time I was able to install Qt SDK into the default location (/opt/
qtsdk-2010.04), include /opt/qtsdk-2010.04/qt/bin in the path and
check that the boost libraries are in the library cache:
# /sbin/ldconfig -p | grep boost
libboost_wserialization.so.1.44.0 (libc6,x86-64) => /opt/boost_1_44_0/
stage/lib/libboost_wserialization.so.1.44.0
libboost_wserialization.so (libc6,x86-64) => /opt/boost_1_44_0/stage/
lib/libboost_wserialization.so
libboost_wave.so.1.44.0 (libc6,x86-64) => /opt/boost_1_44_0/stage/lib/
libboost_wave.so.1.44.0
libboost_wave.so (libc6,x86-64) => /opt/boost_1_44_0/stage/lib/
libboost_wave.so
libboost_unit_test_framework.so.1.44.0 (libc6,x86-64) => /opt/
boost_1_44_0/stage/lib/libboost_unit_test_framework.so.1.44.0
libboost_unit_test_framework.so (libc6,x86-64) => /opt/boost_1_44_0/
stage/lib/libboost_unit_test_framework.so
libboost_thread.so.1.44.0 (libc6,x86-64) => /opt/boost_1_44_0/stage/
lib/libboost_thread.so.1.44.0
libboost_thread.so (libc6,x86-64) => /opt/boost_1_44_0/stage/lib/
libboost_thread.so
libboost_system.so.1.44.0 (libc6,x86-64) => /opt/boost_1_44_0/stage/
lib/libboost_system.so.1.44.0
libboost_system.so (libc6,x86-64) => /opt/boost_1_44_0/stage/lib/
libboost_system.so
(etc...)
- The qmake step is successful (after a create an empty file conf.pri
in the build directory)
- However the make process fails:
FlexTorsion.cpp:3:42: error: boost/graph/adjacency_list.hpp: No such
file or directory
FlexTorsion.cpp:4:48: error: boost/graph/breadth_first_search.hpp: No
such file or directory
FlexTorsion.cpp:5:40: error: boost/graph/graph_traits.hpp: No such
file or directory
FlexTorsion.cpp:6:36: error: boost/graph/visitors.hpp: No such file or
directory
FlexTorsion.cpp:13: error: ‘boost’ has not been declared
FlexTorsion.cpp:13: error: expected initializer before ‘<’ token
FlexTorsion.cpp:14: error: ‘boost’ has not been declared
FlexTorsion.cpp:14: error: expected initializer before ‘<’ token
FlexTorsion.cpp:268: error: expected ‘,’ or ‘...’ before ‘&’ token
FlexTorsion.cpp:268: error: ISO C++ forbids declaration of ‘AtomGraph’
with no type
FlexTorsion.cpp: In function ‘int conflib::SumDistances(int)’:
FlexTorsion.cpp:272: error: ‘distances’ was not declared in this scope
FlexTorsion.cpp:272: error: ‘graph’ was not declared in this scope
FlexTorsion.cpp:272: error: ‘num_vertices’ was not declared in this
scope
FlexTorsion.cpp:276: error: ‘source’ was not declared in this scope
FlexTorsion.cpp:276: error: ‘vertex’ was not declared in this scope
FlexTorsion.cpp:277: error: ‘boost’ has not been declared
FlexTorsion.cpp:277: error: ‘record_distances’ was not declared in
this scope
FlexTorsion.cpp:277: error: ‘make_bfs_visitor’ was not declared in
this scope
FlexTorsion.cpp:277: error: ‘visitor’ was not declared in this scope
FlexTorsion.cpp:277: error: ‘breadth_first_search’ was not declared in
this scope
FlexTorsion.cpp: At global scope:
FlexTorsion.cpp:268: warning: unused parameter ‘AtomGraph’
FlexTorsion.cpp:283: error: expected ‘,’ or ‘...’ before ‘*’ token
FlexTorsion.cpp:283: error: ISO C++ forbids declaration of
‘AtomGraphIndex’ with no type
FlexTorsion.cpp: In function ‘void conflib::GatherFlexAtoms(int)’:
FlexTorsion.cpp:286: error: ‘res’ was not declared in this scope
FlexTorsion.cpp:288: error: ‘distances’ was not declared in this scope
FlexTorsion.cpp:290: error: ‘atoms’ was not declared in this scope
FlexTorsion.cpp: At global scope:
FlexTorsion.cpp:283: warning: unused parameter ‘AtomGraphIndex’
FlexTorsion.cpp: In function ‘chemlib::MIAtom*
conflib::SetUpTorsion(const chemlib::RESIDUE*, const
std::vector<chemlib::Bond, std::allocator<chemlib::Bond> >&,
chemlib::MIAtom*, chemlib::MIAtom*, std::vector<chemlib::MIAtom*,
std::allocator<chemlib::MIAtom*> >&)’:
FlexTorsion.cpp:301: error: ‘AtomGraph’ was not declared in this scope
FlexTorsion.cpp:301: error: expected `;' before ‘ag’
FlexTorsion.cpp:325: error: ‘ag’ was not declared in this scope
FlexTorsion.cpp:325: error: ‘add_edge’ was not declared in this scope
FlexTorsion.cpp:328: error: ‘AtomGraphIndex’ was not declared in this
scope
FlexTorsion.cpp:328: error: ‘d2’ was not declared in this scope
FlexTorsion.cpp:328: error: expected type-specifier before
‘AtomGraphIndex’
FlexTorsion.cpp:328: error: expected `;' before ‘AtomGraphIndex’
FlexTorsion.cpp:329: error: ‘d3’ was not declared in this scope
FlexTorsion.cpp:329: error: expected type-specifier before
‘AtomGraphIndex’
FlexTorsion.cpp:329: error: expected `;' before ‘AtomGraphIndex’
FlexTorsion.cpp:332: error: ‘ag’ was not declared in this scope
FlexTorsion.cpp:344: error: type ‘<type error>’ argument given to
‘delete’, expected pointer
FlexTorsion.cpp:345: error: type ‘<type error>’ argument given to
‘delete’, expected pointer
make[2]: *** [FlexTorsion.o] Error 1
make[2]: Leaving directory `/opt/MIFit/libs/conflib'
make[1]: *** [sub-conflib-make_default] Error 2
make[1]: Leaving directory `/opt/MIFit/libs'
make: *** [sub-libs-make_default-ordered] Error 2
If you have an suggestions to go beyond this step that would be
appreciated,
Cheers,
John