FEAP User Forum

FEAP => Installation => Topic started by: PeterWoerner on July 24, 2017, 09:16:30 AM

Title: Make file error
Post by: PeterWoerner on July 24, 2017, 09:16:30 AM
I keep having trouble with the make file with the following error:
makefile.in:5: *** missing separator.  Stop.

The relevant code is:

#------------------------------------------------------------------------
# To use this makefile the path for "$(FEAPHOME8_3)" must be set using
#   setenv FEAPHOME8_3=/....            (in .chrc or .tchrc)  or
#   export FEAPHOME8_3=/....            (in .bashrc or file used)
   setenv FEAPHOME8_3=~/Documents/FEAP83/ver83
   export FEAPHOME8_3=~/Documents/FEAP83/ver83
# N.B. Information after the slash defines to FEAP directories.

After googling, I switched the three spaces to a tab which resulted in the error:
makefile.in:5: *** recipe commences before first target.  Stop.

I will be grateful for any help.

(p.s. I successfully installed the file on my home computer)
Title: Re: Make file error
Post by: K.Li on July 24, 2017, 11:32:50 AM
You only need one of the commands setenv or export  depending on our Linux system:

check this
https://www.youtube.com/watch?v=_ohQ__rqq3Y
Title: Re: Make file error
Post by: FEAP_Admin on July 24, 2017, 11:38:28 AM
You use export if your shell is a bash shell (the default on most linux/mac systems), setenv is used for csh shells.

Also set the environment variable in the shell at the command line (or in the .bashrc or .cshrc file depending on the shell). 
Title: Re: Make file error
Post by: PeterWoerner on July 24, 2017, 11:44:12 AM
Many thanks, commenting the setenv command worked.

Peter