cwrowley/ibpm

Unable to compile Makefile.

Closed this issue · 6 comments

I am using ubuntu 20.04 LTS. I have all fftw library in place as directed in the manual.
I am constantly getting the error in Makefile.
image

What are the contents of your make.inc? The default is that this is a symbolic link to the file make.inc.gcc, but this may need to be customized for your system.

The haven't modified anything. Yes make.inc is linking make.inc.gcc. What exactly I need to modify?
I am using Ubuntu 20.04 LTS, my gcc and g++ version is 9.3.0. I have installed the fftw library 3.3.9, as mentioned in the manual.

This is likely due to the use of tabs vs. spaces in make.inc. See the link below:
https://stackoverflow.com/questions/16931770/makefile4-missing-separator-stop

Actually, if you go through make.inc or make.inc.gcc they have no indentation(tabs).
However, the Makefile in the root has lots of indentation. I tried to replace them with tabs, didn't work.

Okay, finally someone helped me to solve the problem. We had a long discussion on stackexchange and steeldriver helped me out. Here is our full discussion https://unix.stackexchange.com/questions/648048/unable-to-make-file-in-linux-ubuntu-20-04-lts

Actually that is not how a symbolic link is made. This command can be used to make a symbolic link ln -sf make.inc.gcc config/make.inc. Now, i can use the package as directed in the manual.

Great—glad it is working now.