Hello,
I am struggling to build RDKit on Cygwin, under 32-bit Windows 7,
using gcc 4.9.2, boost 1.55 and python 2.7.8, with the standard
options:
cmake .. && make && make install
The building itself did not raise any errors, but the python tests
fail, for example:
$ python -v -c 'from rdkit import Chem'
...
import rdkit.Chem # precompiled from /home/m/RDKit/rdkit/Chem/__init__.pyc
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/home/m/RDKit/rdkit/Chem/__init__.py", line 18, in <module>
from rdkit import rdBase
ImportError: cannot import name rdBase
$RDBASE and $RDBASE/lib are in the PATH and PYTHONPATH. To be sure the
dlls are found, I even copied them to /bin. I am pretty sure that
paths are OK.
There is, however, no rdBase.so or anything like that present in $RDBASE/rdkit:
$ ls ~/RDKit/rdkit
__init__.py _py2_pickle.py Avalon CMakeLists.txt DataStructs
DistanceGeometry ForceField ML rdBase.pyd RDConfig.pyc
RDPaths.py SimDivFilters six.pyc test_list.py utils
__init__.pyc _py2_pickle.pyc Chem DataManip Dbase
epydoc.config Geometry Numerics RDConfig.py RDLogger.py
RDRandom.py six.py sping TestRunner.py VLib
$ ls ~/RDKit/build/rdkit/
Chem cmake_install.cmake CMakeFiles CTestTestfile.cmake DataManip
DataStructs DistanceGeometry ForceField Geometry Makefile ML
Numerics rdBase.pyd RDPaths.py SimDivFilters
$ locate rdBase
/home/m/RDKit/build/Code/RDBoost/Wrap/CMakeFiles/rdBase.dir
/home/m/RDKit/build/Code/RDBoost/Wrap/CMakeFiles/rdBase.dir/build.make
/home/m/RDKit/build/Code/RDBoost/Wrap/CMakeFiles/rdBase.dir/cmake_clean.cmake
/home/m/RDKit/build/Code/RDBoost/Wrap/CMakeFiles/rdBase.dir/CXX.includecache
/home/m/RDKit/build/Code/RDBoost/Wrap/CMakeFiles/rdBase.dir/depend.internal
/home/m/RDKit/build/Code/RDBoost/Wrap/CMakeFiles/rdBase.dir/depend.make
/home/m/RDKit/build/Code/RDBoost/Wrap/CMakeFiles/rdBase.dir/DependInfo.cmake
/home/m/RDKit/build/Code/RDBoost/Wrap/CMakeFiles/rdBase.dir/flags.make
/home/m/RDKit/build/Code/RDBoost/Wrap/CMakeFiles/rdBase.dir/link.txt
/home/m/RDKit/build/Code/RDBoost/Wrap/CMakeFiles/rdBase.dir/progress.make
/home/m/RDKit/build/Code/RDBoost/Wrap/CMakeFiles/rdBase.dir/RDBase.cpp.o
/home/m/RDKit/build/rdkit/rdBase.pyd
/home/m/RDKit/rdkit/rdBase.pyd
What else could be wrong?
Thanks,
Michal
------------------------------------------------------------------------------
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the
conversation now. http://goparallel.sourceforge.net/
_______________________________________________
Rdkit-discuss mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/rdkit-discuss