Hi Dante,
Looks like you are trying to build a fairly old version of the RDKit. Newer
versions no longer require the flex/bison step, so if you could switch to
one of those I think it would make your life easier.
-greg
On Wed, Feb 11, 2015 at 4:35 AM, Dante <dante.esgrimi...@gmail.com> wrote:
> Hello,
>
> I am trying to install rdkit on Ubuntu 14.04, and am building from source
> so I can get the inchi functionality. When I run make, I get:
>
> [ 24%] Building CXX object
> Code/GraphMol/SmilesParse/CMakeFiles/SmilesParse.dir/smiles.tab.cpp.o
>
> smiles.yy:25:1: warning: "YYDEBUG" redefined
>
> In file included from smiles.yy:21:
>
> /sw64/src/fink.build/rdkit-2013.06.1-5/RDKit_2013_06_1/Code/GraphMol/SmilesParse/smiles.tab.hpp:37:1:
> warning: this is the location of the previous definition
>
> smiles.yy: In function 'int yysmiles_parse(const char*,
> std::vector<RDKit::RWMol*, std::allocator<RDKit::RWMol*> >*,
> std::list<unsigned int, std::allocator<unsigned int> >*, void*)':
>
> smiles.yy:23: error: too few arguments to function 'int
> yysmiles_lex(YYSTYPE*, void*)'
>
> /sw64/src/fink.build/rdkit-2013.06.1-5/RDKit_2013_06_1/Code/GraphMol/SmilesParse/smiles.tab.cpp:1245:
> error: at this point in file
>
> make[2]: ***
> [Code/GraphMol/SmilesParse/CMakeFiles/SmilesParse.dir/smiles.tab.cpp.o] Error
> 1
>
> make[1]: *** [Code/GraphMol/SmilesParse/CMakeFiles/SmilesParse.dir/all] Error
> 2
>
> make: *** [all] Error 2
>
> I've seen on previous messages that one potential fix to this is to downgrade
> to bison 2.7.1, which I've done, but this error persists. Any ideas?
>
> Thanks,
>
> DP
>
>
>
>
> ------------------------------------------------------------------------------
> 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
> Rdkit-discuss@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/rdkit-discuss
>
>
------------------------------------------------------------------------------
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
Rdkit-discuss@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/rdkit-discuss