Greg Landrum wrote:
it would be YY_NO_UNISTD_H, but I assumed you would have noticed that
as well. :-)
Whoops, but I did search for "unistd" throughout the file and it only
came up in the include.
yeah, but I'm pretty sure that the file lex.yysmiles.cpp comes from flex.
This is a complete kludge, but you might just try creating an empty
file unistd.h in the $RDBASE/Code/GraphMol/SmilesParse directory
A kludge it might be, but it did make it compile (with an additional
copy in $RDBASE/Code/GraphMol/SLNParse)
However the second set of tests failed on the fingerprints. Don't know
if this is related or not. Here is a random example, they all seem
similar to these two:
**********************************************************************
File "DbFpSupplier.py", line 82, in __main__.ForwardDbFpSupplier
Failed example:
for fp in suppl:
fps.append(fp)
Exception raised:
Traceback (most recent call last):
File "c:\python25\lib\doctest.py", line 1228, in __run
compileflags, 1) in test.globs
File "<doctest __main__.ForwardDbFpSupplier[6]>", line 1, in <module>
for fp in suppl:
NameError: name 'suppl' is not defined
**********************************************************************
File "DbFpSupplier.py", line 84, in __main__.ForwardDbFpSupplier
Failed example:
len(fps)
Expected:
12
Got:
0
**********************************************************************
Cheers,
Pete