DayPerl is a "Contrib" Perl toolkit wrapper and requires Perl to ber installed. DayPerl can be built and used with the following commands:
$ cd $DY_ROOT/contrib/src/perl/DAYPERL_BUILD $ perl parse_perlv.pl $ make $ make test $ su # make install # exit $ perl test.pl $ perl ../examples/cansmi.pl << EOF > OCC > EOF CCO OCC CANSMI: 1 / 1 = (output / input) So long, baby!
PyDaylight is a "Contrib" Python toolkit wrapper and requires Python to be installed. PyDaylight can be built and used with the following commands:
$ cd $DY_ROOT/contrib/src/python $ tar zxvf PyDaylight* $ cd PyDaylight* $ python setup.py build $ su # python setup.py install # exit $ python examples/cansmi.py << EOF > OCC > EOF CCO SMILES in: 1; SMILES out: 1; SMILES changed: 1
DayJava is a "Contrib" Java toolkit wrapper and requires the Java Development Kit (JDK) to be installed. For pre-v4.9 releases, you can download DayJava from http://www.daylight.com/support/contrib and install it under $DY_ROOT/contrib/src (the archive contains a "java" directory). DayJava can be built and used with the following commands:
$ cd $DY_ROOT/contrib/src/java $ make install $ cd smiles $ echo OCC | java cansmi CCO
The C++ wrapper is built into the header files at $DY_ROOT/include. If _cplusplus is defined at compile tome, an 'extern "C"' block is wrapped around the toolkit entrypoints, which make the toolkits C++ compatible.
The FORTRAN wrapper is included as header files (.inc extension) in $DY_ROOT/include. For an example, go to the FORTRAN "Contrib" version of canonical SMILES:
$ cd $DY_ROOT/contrib/src/fortran/smiles $ make cansmi $ echo OCC | ./cansmi CCO