# Here's another draft of the perl5/solaris/gcc sanity-checker.
case $PATH in
-*/usr/ucb*:/usr/bin:*|*/usr/ucb*:/usr/bin) cat <<END
+*/usr/ucb*:/usr/bin:*|*/usr/ucb*:/usr/bin) cat <<END >&2
NOTE: /usr/ucb/cc does not function properly.
Remove /usr/ucb from your PATH.
case $? in
0) ;;
*)
- cat <<END
+ cat <<END >&4
NOTE: Your system does not have /dev/fd mounted. If you want to
be able to use set-uid scripts you must ask your system administrator
/usr/bin/ls /usr/lib/libucb* >/dev/null 2>&1
case $? in
0)
- cat <<END
+ cat <<END >&4
NOTE: libucb has been found in /usr/lib. libucb should reside in
/usr/ucblib. You may have trouble while building Perl extensions.
tmp=`/usr/bin/ksh -c "whence make"`
case "`/usr/bin/ls -l $tmp`" in
??????s*)
- cat <<END
+ cat <<END >&2
NOTE: Your PATH points to GNU make, and your GNU make has the set-group-id
bit set. You must either rearrange your PATH to put /usr/ccs/bin before the
case $verbose in
*/usr/ccs/bin/as*) ;;
*)
- cat <<END
+ cat <<END >&2
NOTE: You are using GNU as(1). GNU as(1) will not build Perl.
You must arrange to use /usr/ccs/bin/as, perhaps by setting
case $verbose in
*/usr/ccs/bin/ld*) ;;
*)
- cat <<END
+ cat <<END >&2
NOTE: You are using GNU ld(1). GNU ld(1) will not build Perl.
You must arrange to use /usr/ccs/bin/ld, perhaps by setting
# See if as(1) is GNU as(1). GNU as(1) won't work for this job.
case `as --version < /dev/null 2>&1` in
*GNU*)
- cat <<END
+ cat <<END >&2
NOTE: You are using GNU as(1). GNU as(1) will not build Perl.
You must arrange to use /usr/ccs/bin, perhaps by adding it to the
# See if ld(1) is GNU ld(1). GNU ld(1) won't work for this job.
case `ld --version < /dev/null 2>&1` in
*GNU*)
- cat <<END
+ cat <<END >&2
NOTE: You are using GNU ld(1). GNU ld(1) will not build Perl.
You must arrange to use /usr/ccs/bin, perhaps by adding it to the