develooper Front page | perl.perl5.porters | Postings from January 2004

nonrelocateable Makefile in 5.8.3 RC1

Thread Previous | Thread Next
From:
Andreas J Koenig
Date:
January 11, 2004 06:27
Subject:
nonrelocateable Makefile in 5.8.3 RC1
Message ID:
87ptdq8stv.fsf@franz.ak.mind.de
For 5.8.3 RC1 I once again tried to move my build directory somewhere
else, something I sincerely believe must work. I remember I have fixed
it before, but it has been broken again. We need some place where this
kind of failure gets noticed. For now I can only report it as a bug:

          Making B (dynamic)
  make[1]: Entering directory `/home/src/perl/perl-5.8.3-RC1/ext/B'
  make[1]: Leaving directory `/home/src/perl/perl-5.8.3-RC1/ext/B'
  make[1]: Entering directory `/home/src/perl/perl-5.8.3-RC1/ext/B'
  make[2]: Entering directory `/home/src/perl/perl-5.8.3-RC1/ext/B/C'
  make[2]: *** No rule to make target `/home/src/perl/completeperls/perl-5.8.3-RC1/lib/ExtUtils/xsubpp', needed by `C.c'.  Stop.
  make[2]: Leaving directory `/home/src/perl/perl-5.8.3-RC1/ext/B/C'
  make[1]: *** [subdirs] Error 2
  make[1]: Leaving directory `/home/src/perl/perl-5.8.3-RC1/ext/B'
  make: *** [lib/auto/B/B.so] Error 2

Here's the offending line:

  # grep XSUBPPDIR ext/B/C/Makefile
  XSUBPPDIR = /home/src/perl/completeperls/perl-5.8.3-RC1/lib/ExtUtils
  XSUBPP = $(XSUBPPDIR)/xsubpp

It seems to be a MakeMaker bug. When MM_Unix.pm reaches tool_xsubpp(),
@INC is filled with absolute directories. Sorry, no more details
available...

I just checked that 5.8.2 and 5.8.1 had the same problem, 5.8.0 didn't
have it.

-- 
andreas

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