realbigws / PDB_Tool

Extract structural features from original PDB file
GNU General Public License v3.0
24 stars 12 forks source link

Cannot compile source code using make #1

Open Vedasheersh opened 6 years ago

Vedasheersh commented 6 years ago

Hi there,

I cloned the current version of your package. When I run make from the source directory, I am getting this error: cd ./PDB_Tool_src&&make /bin/bash: line 0: cd: ./PDB_Tool_src: Not a directory Makefile:15: recipe for target 'PDB_Tool' failed make: *** [PDB_Tool] Error 1 I tried to fix it by changing Makefile in line 15: cd ./PDB_Tool_src -> cd ./PDB_Tool_v4.72_src But, I ran into another issue while compiling. Can you fix this? cd ./PDB_Tool_v4.72_src&&make make[1]: Entering directory '/media/veda/Veda_2018/IGG_fold_seq_analysis/Python_codes/core/PDB_Tool/source_code/PDB_Tool_v4.72_src' g++ -O3 -c Utility.cpp Utility.cpp:1:1: error: expected unqualified-id before ‘.’ token ../DeepOpen_source/Utility.cpp ^ Makefile:11: recipe for target 'Utility.o' failed make[1]: *** [Utility.o] Error 1 make[1]: Leaving directory '/media/veda/Veda_2018/IGG_fold_seq_analysis/Python_codes/core/PDB_Tool/source_code/PDB_Tool_v4.72_src' Makefile:15: recipe for target 'PDB_Tool' failed make: *** [PDB_Tool] Error 2

realbigws commented 6 years ago

Hi, Vedasheersh.

How did you "git clone" the whole repository? Do you follow the instructions in README using "git clone --recursive https://github.com/realbigws/PDB_Tool"?

I have tried on many different computers and OS, which shows that there is no problem in compiling from the source code by make.

Please check that is there any file exist in "source_code/DeepOpen_source/"? If not, then I think that you use "git clone" instead of "git clone --recursive". Then please remove the current folder, and redo it again by "git clone --recursive https://github.com/realbigws/PDB_Tool".

Best, -Sheng

Vedasheersh commented 6 years ago

Hi Sheng,

Thanks for your quick response. I did not use --recursive for git clone. I think that would have been the problem. I could just fine now.

Thanks again, Veda.

JLWorkingHard commented 10 months ago

--recursive still not work, PDB_Tool_src not a folder under linux system