Closed w32zhong closed 10 years ago
It seems the MicroHttpd library is not installed.
On Ubuntu/Debian the package is libmicrohttpd-dev
.
I continue to make but failed with JSON dependency I guess, even if I have already installed libjson-c-dev
tk@~/Desktop/mws$ sudo apt-get install libjson-c-dev
Reading package lists... Done
Building dependency tree
Reading state information... Done
libjson-c-dev is already the newest version.
The following packages were automatically installed and are no longer required:
asymptote asymptote-doc libgsl0ldbl libpoppler-qt4-4 linux-image-generic python-imaging-tk texlive-lang-english texmaker-data
Use 'apt-get autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 3 not upgraded.
tk@~/Desktop/mws$ make
-- Could NOT find JSON (missing: JSON_INCLUDE_DIRS)
-- Found ICU header files in /usr/include/x86_64-linux-gnu
-- Found ICU libraries: /usr/lib/x86_64-linux-gnu/libicuuc.so
-- Could NOT find JSON (missing: JSON_INCLUDE_DIRS)
CMake Error: The following variables are used in this project, but they are set to NOTFOUND.
Please set them or make sure they are set and tested correctly in the CMake files:
JSON_INCLUDE_DIRS (ADVANCED)
used as include directory in directory /home/tk/Desktop/mws/src/mws/xmlparser
used as include directory in directory /home/tk/Desktop/mws/src/crawler
used as include directory in directory /home/tk/Desktop/mws/src/crawler
used as include directory in directory /home/tk/Desktop/mws/src/crawler
used as include directory in directory /home/tk/Desktop/mws/src/crawler
used as include directory in directory /home/tk/Desktop/mws/src/crawler
used as include directory in directory /home/tk/Desktop/mws/src/crawler
-- Configuring incomplete, errors occurred!
See also "/home/tk/Desktop/mws/bin/CMakeFiles/CMakeOutput.log".
See also "/home/tk/Desktop/mws/bin/CMakeFiles/CMakeError.log".
make: *** [bin/cmake_bootstrap_success] Error 1
Also, it would be nice if I can see any demo search page that uses mws...
What is the running environment? (i.e. operating system)
A demo is available at http://search.mathweb.org/zbl/?query-text=Fermat&query-math=%3Fa%5E%3Fn%20%2B%20%3Fb%5E%3Fn%3D%3Fc%5E%3Fn#1 Please note that this GitHub project is only the backend service.
Ubuntu 14.04
You should install libjson0-dev
Thank you!
I encountered the following error when I tried to make the project ....