With some machines (openSUSE Leap 15 and Tumbleweed) I get the following error while linking (using yambo 4.2.4):
/bin/sh: echo$: command not found
make[1]: [Makefile:85: yambo] Error 127
make[1]: Leaving directory '/home/rbw/programs/installs/yambo-4.2.4/driver'
make: [Makefile:192: yambo] Error 2
Older openSUSE links just fine. I don't know what difference in software make the difference (like gcc 4.85 to 7/8), but after much trying removing the \$ after the variable names in sbin/make_makefiles.sh did the trick for me:
With some machines (openSUSE Leap 15 and Tumbleweed) I get the following error while linking (using yambo 4.2.4):
/bin/sh: echo$: command not found make[1]: [Makefile:85: yambo] Error 127 make[1]: Leaving directory '/home/rbw/programs/installs/yambo-4.2.4/driver' make: [Makefile:192: yambo] Error 2
Older openSUSE links just fine. I don't know what difference in software make the difference (like gcc 4.85 to 7/8), but after much trying removing the
\$
after the variable names in sbin/make_makefiles.sh did the trick for me:\$(target): \$(dep_file) \$(objs)
\$(driver)
\$(link)
\$(modmove)
\$(dircheck)
@mv \$@ \$(exec_prefix)
before:\$(target): \$(dep_file) \$(objs)
\$(driver)\$
\$(link)\$
\$(modmove)\$
\$(dircheck)\$
@mv \$@ \$(exec_prefix)
I don't know much about makefiles, so I don't know, whether that's a good solution.