I just tried to recompile the rpm package in Fedora 29 but got this: [ 28%] Linking CXX shared library ../../../lib/libRDKitSmilesParse.so cd /builddir/build/BUILD/rdkit-Release_2019_03_1/python3/Code/GraphMol/SmilesParse && /usr/bin/cmake -E cmake_link_script CMakeFiles/SmilesParse.dir/link.txt --verbose=1 /usr/bin/c++ -fPIC -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wl,--as-needed -mpopcnt -Wno-deprecated -Wno-unused-function -fno-strict-aliasing -Wall -Wextra -fPIC -O2 -g -DNDEBUG -Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -shared -Wl,-soname,libRDKitSmilesParse.so.1 -o ../../../lib/libRDKitSmilesParse.so.1.2019.03.1 CMakeFiles/SmilesParse.dir/SmilesParse.cpp.o CMakeFiles/SmilesParse.dir/SmilesParseOps.cpp.o CMakeFiles/SmilesParse.dir/SmilesWrite.cpp.o CMakeFiles/SmilesParse.dir/SmartsWrite.cpp.o CMakeFiles/SmilesParse.dir/CXSmilesOps.cpp.o CMakeFiles/SmilesParse.dir/smiles.tab.cpp.o CMakeFiles/SmilesParse.dir/smarts.tab.cpp.o CMakeFiles/SmilesParse.dir/lex.yysmiles.cpp.o CMakeFiles/SmilesParse.dir/lex.yysmarts.cpp.o -Wl,-rpath,/builddir/build/BUILD/rdkit-Release_2019_03_1/python3/lib: ../../../lib/libRDKitGraphMol.so.1.2019.03.1 ../../../lib/libRDKitRDGeometryLib.so.1.2019.03.1 ../../../lib/libRDKitDataStructs.so.1.2019.03.1 ../../../lib/libRDKitRDGeneral.so.1.2019.03.1 -lpthread /usr/bin/ld: CMakeFiles/SmilesParse.dir/lex.yysmarts.cpp.o: in function `yylex(YYSTYPE*, void*, int&)': /builddir/build/BUILD/rdkit-Release_2019_03_1/python3/Code/GraphMol/SmilesParse/lex.yysmarts.cpp:919: multiple definition of `yylex(YYSTYPE*, void*, int&)'; CMakeFiles/SmilesParse.dir/lex.yysmiles.cpp.o:/builddir/build/BUILD/rdkit-Release_2019_03_1/python3/Code/GraphMol/SmilesParse/lex.yysmiles.cpp:919: first defined here
Unfortunately I don't have time now to track it down, so any help is appreciated. Regards Gianluca -- Gianluca Sforna _______________________________________________ Rdkit-discuss mailing list Rdkit-discuss@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/rdkit-discuss