bencabrera / grawitas

Grawitas is a lightweight, fast parser for Wikipedia talk pages that takes the raw Wikipedia-syntax and outputs the structured content in various formats.
MIT License
7 stars 5 forks source link

Unable to install on Ubuntu 20.04 #17

Open santoshbs opened 3 years ago

santoshbs commented 3 years ago

I tried the instructions you provided for Ubuntu. I had to change to libcurl4 as there is no libcurl3 with the latest Ubuntu. Once I install all the dependencies and run cmake -DCMAKE_BUILD_TYPE=Release ../src/, I get the following error:

CMake Error: The source directory "~/grawitas/src" does not appear to contain CMakeLists.txt. So I copied the CMakeLists.txt to src/ folder. Now when I run cmake -DCMAKE_BUILD_TYPE=Release ../src/, I get the following error:

-- Found XercesC: /usr/lib/x86_64-linux-gnu/libxerces-c.so (found version "3.2.3") 
-- Found SQLite3: /usr/include (found version "3.33.0") 
-- Configuring done
CMake Error at CMakeLists.txt:152 (add_executable):
  Cannot find source file:

    src/tests/main_tests.cpp

  Tried extensions .c .C .c++ .cc .cpp .cxx .cu .m .M .mm .h .hh .h++ .hm
  .hpp .hxx .in .txx

CMake Warning at CMakeLists.txt:143 (add_executable):
  Cannot generate a safe runtime search path for target grawitas_gui_crawler
  because files in some directories may conflict with libraries in implicit
  directories:

    runtime library [libcurl.so.4] in /usr/lib/x86_64-linux-gnu may be hidden by files in:
      /home/santoshbs/anaconda3/lib

  Some of these libraries may not be found correctly.

-- Generating done
CMake Generate step failed.  Build files cannot be regenerated correctly.

Not sure what I am doing wrong.