Hi,

I have attempted a build of RDKit_2012_06_1 on Windows. The build seems 
to go fine, but I get a SEGFAULT in half the tests when I run the test 
suite. Below follows what I have done. Any clues appreciated.
____________________________________

Followed http://code.google.com/p/rdkit/wiki/BuildingOnWindows on a 
Windows 2008 R2 x64 server with VS2010 installed. Note: This will be a 
C++-only build, no Python installed.

Install binary boost 1.51 - for VS2010 only, select all library types, 
install into C:\boost\ (delete the "Program Files (x86)" path bit).
Install cmake - all defaults chosen (does not add cmake to PATH).
Install Cygwin - add 'flex' and 'bison' to package selection, otherwise 
use defaults.

Create a user env. var; 
PATH=C:\RDKit_2012_06_1\lib;C:\boost\boost_1_51\lib;C:\cygwin\bin

Start cmake GUI.
Point it to C:\RDKit_2012_06_1\ for source code location and 
C:\RDKit_2012_06_1\build\ for output location.
Click "Configure"
     Select your compiler - Visual Studio 10, "Use default native 
compilers".
This will produce a handful of red error entries.
     Uncheck "RDK_BUILD_PYTHON_WRAPPERS".
Click "Configure" again.
     Still red entries, but apparently this is some caching done by cmake ?
Click "Configure" again.
     We now have all-white entries shown. OK.
Click "Generate".
Close cmake GUI.

Start Visual Studio 2010.
Open the RDKit.sln solution in C:\RDKit_2012_06_1\build\.
Use the Configuration Manager to change the build to a "Release" "Win32" 
build. It will be set per default to "Debug" "Win32" by cmake.
Build the "ALL_BUILD" target.
     Takes a while and generates warnings, but no errors. OK.
Build the "INSTALL" target. OK - no issues.

Test the build:
     Open a command prompt.
     cd to C:\RDKit_2012_06_1\build\ and run ctest
         C:\RDKit_2012_06_1\build>path
PATH=C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32
\WindowsPowerShell\v1.0\;C:\RDKit_2012_06_1\lib;C:\boost\boost_1_51\lib;C:\cygwi
         n\bin
         C:\RDKit_2012_06_1\build>"c:\Program Files (x86)\CMake 
2.8\bin\ctest.exe"

*************************

50% tests passed, 22 tests failed out of 44

Total Test time (real) =  31.89 sec

The following tests FAILED:
           2 - testDataStructs (SEGFAULT)
           4 - testGrid (SEGFAULT)
          13 - graphmolMolOpsTest (SEGFAULT)
          15 - graphmoltestChirality (SEGFAULT)
          16 - graphmoltestPickler (SEGFAULT)
          18 - testDepictor (SEGFAULT)
          21 - fileParsersTest1 (SEGFAULT)
          22 - testMolSupplier (SEGFAULT)
          23 - testMolWriter (SEGFAULT)
          24 - testTplParser (SEGFAULT)
          25 - testMol2ToMol (SEGFAULT)
          27 - testReaction (SEGFAULT)
          28 - testChemTransforms (SEGFAULT)
          31 - testFragCatalog (SEGFAULT)
          32 - testDescriptors (SEGFAULT)
          33 - testFingerprints (SEGFAULT)
          34 - testMolTransforms (SEGFAULT)
          35 - testForceFieldHelpers (SEGFAULT)
          36 - testDistGeomHelpers (SEGFAULT)
          37 - testMolAlign (SEGFAULT)
          38 - testFeatures (SEGFAULT)
          39 - testShapeHelpers (SEGFAULT)
Errors while running CTest
_________________________________________

Any clues as to a common denominator for these failures ? I did check 
that the boost DLLs I have installed in C:\boost\boost_1_51\lib\ are x86 
(32-bit).

Cheers
-- Jan Holst Jensen

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Rdkit-discuss mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/rdkit-discuss

Reply via email to