develooper Front page | perl.perl5.porters | Postings from December 2001

Re: bleadperl can't find make

Thread Previous
From:
Nicholas Clark
Date:
December 22, 2001 06:21
Subject:
Re: bleadperl can't find make
Message ID:
20011222142155.M48842@plum.flirble.org
On Sat, Dec 22, 2001 at 12:08:07PM +0000, Nicholas Clark wrote:
> Something's gone rather wrong, hasn't it?
> 
> Don't worry if any of the following aren't found...

> I don't see gmake out there, either.

> make is in /usr/bin/make.

> zip is in /usr/bin/zip.
> I can't find make or gmake, and my life depends on it.
> Go find a public domain implementation or fix your PATH setting!

The problem appears to be that gmake is now in the try list for
"Don't worry if any of the following aren't found..."
It didn't used to be.

So on this Debian system make=/usr/bin/make, and now gmake is gmake rather than
'', which means that "/usr/bin/makegmake" is now the expansion in this case:

case "$make$gmake" in
*/gmake|?:[\\/]gmake)
	# We can't have osname yet.
	if test -f "/system/gnu_library/bin/ar.pm"; then # Stratus VOS
		# Assume that gmake, if found, is definitely GNU make
		# and prefer it over the system make.
		echo "Substituting gmake for make."
		make=$gmake
	fi
	;;
*/make|?:[\\/]make)
	;;
*)
	echo "I can't find make or gmake, and my life depends on it." >&4
	echo "Go find a public domain implementation or fix your PATH setting!" >&4
	exit 1
	;;
esac


And it doesn't work :-(

I think that the comment should move like this:

--- Configure.orig      Fri Dec 21 20:51:04 2001
+++ Configure   Sat Dec 22 14:00:52 2001
@@ -165,6 +165,7 @@
 test -d UU || mkdir UU
 cd UU && rm -f ./*
 
+: Trailing extension.  Override this in a hint file, if needed.
 if test -f "/system/gnu_library/bin/ar.pm"; then
      _exe=".pm"
 else
@@ -1049,7 +1050,6 @@
 useposix=true
 : set useopcode=false in your hint file to disable the Opcode extension.
 useopcode=true
-: Trailing extension.  Override this in a hint file, if needed.
 : Extra object files, if any, needed on this platform.
 archobjs=''
 archname=''


Nicholas Clark

Thread Previous


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