From: Austin A. <aa...@yo...> - 2002-10-08 17:14:57
|
Hey all, I made an RPM for openbabel CVS version a while a ago, and it's not included in the Mandrake distribution. Today I was rebuilding it with the library and header files, and I've run into a problem. The problem is with the /math subdirectory for vector3.h and matrix3x3.h files. I can't figure out how to install them so all the includes can find each other. Case 1: put headers in /usr/include/openbabel and /usr/include/math Problem: vector3.h can't find obutil.h (it looks in /usr/include/math) Case 2: put all in /usr/include/openbabel Problem: can't find vector3.h (expected to be in ./math) The only way I can install them and make it work it to edit all headers, searching for math/vector3.h and math/matrix3x3.h and remove the math/ prefix, then install all in /usr/include/openbabel. I can automate this quickfix, but the idea seems a bit backward. Just wondering if you have any more elegant suggestions to fix this down the road. Thanks, Austin |