1. have boost 1.33, we just need foreach.hpp
2. they don't have sqlite3 (only sqlite2)
3. boost::python::len is not defined in boost 1.33. And that's the
only reason for which I must disable python. Or we'll see if we
can upgrade boost....
You could install locally boost 1.35 or later (I did that on RHEL 4.?
machine, like 4 years old installation with only security updates) and
also sqlite3. Otherwise:
For foreach.hpp, just copy that header to some local include directory.
For boost::python::len, you can put this anywhere (into local
foreach.hpp, if you wish ;-) ):
namespace boost { namespace python {
inline ssize_t len(object const& obj)
{
ssize_t result = PyObject_Length(obj.ptr());
if (PyErr_Occurred()) throw_error_already_set();
return result;
}
sqlite3 problem:
- make sqlite3 optional (the check in SConscript)
- add some #ifdefs in GLSimulationPlayerViewer, and respective
SConstript entry
http://www.novell.com/products/linuxpackages/opensuse/index_group.html
It seems there must be a sqlite3 lib and headers in suse 10.3 (unless
opensuse 10.3 has nothing to do with suse 10.3). Can you doublecheck?
Vaclav
_______________________________________________
Mailing list: https://launchpad.net/~yade-dev
Post to : [email protected]
Unsubscribe : https://launchpad.net/~yade-dev
More help : https://help.launchpad.net/ListHelp