Subject: | Syntax error: Unterminated quoted string; make: *** [subdirs] Error 2 |
I was installing on Cygwin 1.5.13 and got the following error during
"make".
Show quoted text
>Syntax error: Unterminated quoted string
>make: *** [subdirs] Error 2
Being a layman in make, I played around Makefile and found a solution.
Please see the attach file and search for "HACK" to see my hack. The
problem is that there was an environment variable "LIB" in my PC.
The line
$(NOECHO)cd XML-SAX-Base && $(MAKE) -f $(FIRST_MAKEFILE) all $(PASTHRU)
is expanded to become
cd XML-SAX-Base && make -f Makefile all LIB="C:\Program Files\Microsoft
Visual Studio\VC98\mfc\lib;C:\Program Files\Microsoft Visual
Studio\VC98\lib;C:\Program Files\Microsoft Visual Studio .NET
2003\SDK\v1.1\Lib\" LIBPERL_A="libperl.a" LINKTYPE="dynamic" PREFIX=""
OPTIMIZE="" PASTHRU_DEFINE="" PASTHRU_INC=""
The error of unterminated quotes is regarding to the LIB argument. I
wonder if you can modify the MakeFile.PL to fix the problem. Thanks a lot.
Subject: | Makefile |
Message body not shown because it is not plain text.