Jokeren / gBolt

gBolt--very fast implementation for gSpan algorithm in data mining
BSD 2-Clause "Simplified" License
51 stars 14 forks source link

Error while trying to install gbolt #24

Open zahidmadeel opened 4 years ago

zahidmadeel commented 4 years ago

Hello, I was trying to install this utility on my ubuntu machine. Below is the sequence I followed

git clone https://github.com/Jokeren/gBolt.git
cd gBolt
mkdir build && cd build
cmake ..
make

On make command, I get the following error and the making process terminates adeel@codec:~/temp/gBolt/build$ make [ 11%] Building CXX object CMakeFiles/gbolt.dir/src/gbolt.cc.o /home/adeel/temp/gBolt/src/gbolt.cc:4:23: fatal error: cxxopts.hpp: No such file or directory compilation terminated. CMakeFiles/gbolt.dir/build.make:101: recipe for target 'CMakeFiles/gbolt.dir/src/gbolt.cc.o' failed make[2]: [CMakeFiles/gbolt.dir/src/gbolt.cc.o] Error 1 CMakeFiles/Makefile2:75: recipe for target 'CMakeFiles/gbolt.dir/all' failed make[1]: [CMakeFiles/gbolt.dir/all] Error 2 Makefile:83: recipe for target 'all' failed make: *** [all] Error 2 I have gcc version 5.4.0 and cmake version 3.15.4. Please let me know if I am doing anything worng?

Regards Adeel

Jokeren commented 4 years ago

Try this in the first step:

git clone --recursive https://github.com/Jokeren/gBolt.git

yz555 commented 4 years ago

I tried git clone --recursive https://github.com/Jokeren/gBolt.git but it was failed . image

Jokeren commented 4 years ago

@yz555 , not sure about your problem. Check if the following solution works:

https://confluence.atlassian.com/stashkb/git-clone-fails-error-rpc-failed-result-56-http-code-200-693897332.html

If you couldn't clone dependencies by git, you can always download them manually.

cxxopts: https://github.com/jarro2783/cxxopts/tree/a0de9f3ba1035a3c4f5ffcd960cb94e4e12d40c5 jemalloc: https://github.com/jemalloc/jemalloc/tree/775fe302a75c4770edd9708e7348e626c96dfe58

yz555 commented 4 years ago

@Jokeren Thank you Keren, the problem already been solved.

yz555 commented 4 years ago

@Jokeren Hello Keren, I met the problem that Segmentation fault (core dumped) occurred when I used my data which followed the format you asked, and I have no idea why this error occurred. I attached my data file here, would you please let me know if I am doing anything wrong? The command I used: yzhang@codec:~/gBolt$ ./build/gbolt -i extern/data/combined10-3month.txt -s 0.2 -d -n -o extern/results/test10

Regards, Yueqing combined10-3month.txt