Yes, I was just wondering why there seemed to be part of the output missing, specifically: Â Â Â if [ -f $(MODNAME).pdb ]; then \ Â Â Â Â Â Â Â Â Â Â Â cp $(MODNAME).pdb $(SYSTEM_MODULE_PATH)/$(MODDIR)$(MODULE_WRAPPER_PREFIX); \ Â Â Â Â Â Â Â Â Â else :; fi; \
It is in the dynamic_module_makefile.in, but not in my output, which makes the && invalid...if it was there it would probably work... Sent from Yahoo Mail on Android On Mon, May 28, 2018 at 4:11 AM, Henrik Grubbström (Lysator) @ Pike (-) developers forum<10...@lyskom.lysator.liu.se> wrote: >There may be an error in this? Not sure, but in my code, I'm getting an error. I removed @ from the beginning the shell code in Makefile so that I can see the output: >if test "xgi.o" != "x" ; then \ > /usr/local/pike/8.0.610/include/pike/install_module module.so >/usr/local/pike/8.0.610/lib/modules/___GI.so && \ >fi; \ [...] >/bin/sh: -c: line 2: syntax error near unexpected token `fi' >/bin/sh: -c: line 2: `fi; \' >make: *** [Makefile:449: install] Error 1 > >The error is the && at the end of ___GI.so above, it should be replaced with ; >(semicolon). The problem is most likely the '&&' at the end of the install_modules command. It causes the following 'fi' to execute in the wrong context.