develooper Front page | perl.perl5.porters | Postings from November 2003

5.8.2 build fails on Cygwin, MakeMaker Bug? (was: re: 5.8.2)

Thread Previous | Thread Next
From:
Gerrit P. Haase
Date:
November 7, 2003 01:12
Subject:
5.8.2 build fails on Cygwin, MakeMaker Bug? (was: re: 5.8.2)
Message ID:
9767741765.20031107101116@familiehaase.de
Hello Nicholas,

Thursday, November 6, 2003, 12:30:34 AM, you wrote:


> Get it while its hot:

>     http://www.ccl4.org/~nick/P/perl-5.8.2.tar.bz2
>     http://www.ccl4.org/~nick/P/perl-5.8.2.tar.gz

:-( I'm getting this error here on Cygwin 1.5.5:

Syntax error: Unterminated quoted string
make[1]: *** [subdirs] Error 2
make[1]: Leaving directory `/usr/src/5.8.2-1/buildperl/ext/B'
make: *** [lib/auto/B/B.dll] Error 2

This is caused by this define in my
/usr/src/5.8.2-1/buildperl/ext/B/Makefile:

subdirs ::
        $(NOECHO)cd C && $(MAKE) -f $(FIRST_MAKEFILE) all $(PASTHRU)

[...]

PASTHRU = LIB="$(LIB)"\
        LIBPERL_A="$(LIBPERL_A)"\
        LINKTYPE="$(LINKTYPE)"\
        PREFIX="$(PREFIX)"\
        OPTIMIZE="$(OPTIMIZE)"\
        PASTHRU_DEFINE="$(PASTHRU_DEFINE)"\
        PASTHRU_INC="$(PASTHRU_INC)"


Is this a bug in MakeMaker? At least it works when I quote the string tobe
  'LIB="$(LIB)"\
  ...
  PASTHRU_INC="$(PASTHRU_INC)"'
or remove $(PASTHRU) from the command.

Probably it would fail in other `make subdirs` too.


-- 
Best regards,
 Gerrit 


Thread Previous | Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About