Posted by Luis Alberto Montero Cabrera on June 20, 2006 at 17:41:49:
I am trying to setup MOLCAS 4.1 (it is the version I have) on Linux Slackware 10. I overcame quite all problems regarding the new kernel and compiler versions. However, when links are related to executables an error occurs giving, for example:
make[2]: Entering directory `/molcas/source/vibrot'
(LD) (LDflags) dminv.o isotope.o main.o pot.o simpsn.o sort.o spectc.o spline.o vibinp.o vibmat.o vibrot.o vibtrm.o prwf.o hello.o inputil
.o -o vibrot (LDflags2)
/bin/ksh: syntax error at line 1: `(' unexpected
make[2]: *** [vibrot] Error 3
Obviously, the makefile statement:
echo " "$$"(LD)" $$"(LDflags)" $(obj) $(lib)" -o "$(pgm) $$"(LDflags2)" >> molcas_makefile ;\
is not working in the new ksh versions. Would you please tell me how to modify such makefiles or any other hint regarding this?
Best regards,
Luis