summaryrefslogtreecommitdiff
path: root/hints
diff options
context:
space:
mode:
Diffstat (limited to 'hints')
-rw-r--r--hints/3b1.sh4
-rw-r--r--hints/apollo.sh2
-rw-r--r--hints/cxux.sh31
-rw-r--r--hints/dcosx.sh16
-rw-r--r--hints/dgux.sh2
-rw-r--r--hints/esix4.sh4
-rw-r--r--hints/freebsd.sh2
-rw-r--r--hints/hpux.sh16
-rw-r--r--hints/irix_4.sh2
-rw-r--r--hints/mips.sh2
-rw-r--r--hints/next_3_0.sh18
-rw-r--r--hints/os2.sh2
-rw-r--r--hints/qnx.sh6
-rw-r--r--hints/sco_2_3_3.sh4
-rw-r--r--hints/sco_2_3_4.sh4
-rw-r--r--hints/solaris_2.sh16
-rw-r--r--hints/ultrix_4.sh2
-rw-r--r--hints/utekv.sh8
18 files changed, 74 insertions, 67 deletions
diff --git a/hints/3b1.sh b/hints/3b1.sh
index 2ed65c591b..991348af3e 100644
--- a/hints/3b1.sh
+++ b/hints/3b1.sh
@@ -10,6 +10,6 @@ do
rm -f $i/3b1cc
ln ../hints/3b1cc $i
done
-echo "\nIf you want to use the 3b1 shared libraries, complete this script then"
-echo "read the header in 3b1cc. [Type carriage return to continue]\c"
+echo "\nIf you want to use the 3b1 shared libraries, complete this script then" >&4
+echo "read the header in 3b1cc. [Type carriage return to continue]\c" >&4
read vch
diff --git a/hints/apollo.sh b/hints/apollo.sh
index 2618039634..8c361aa051 100644
--- a/hints/apollo.sh
+++ b/hints/apollo.sh
@@ -15,7 +15,7 @@ i_malloc='undef'
malloctype='void *'
# This info is left over from perl4.
-cat <<'EOF'
+cat <<'EOF' >&4
Some tests may fail unless you use 'chacl -B'. Also, op/stat
test 2 may fail occasionally because Apollo doesn't guarantee
that mtime will be equal to ctime on a newly created unmodified
diff --git a/hints/cxux.sh b/hints/cxux.sh
index f2e8c17c10..42bfe5d579 100644
--- a/hints/cxux.sh
+++ b/hints/cxux.sh
@@ -1,3 +1,4 @@
+#! /local/gnu/bin/bash
# Hints for the CX/UX 7.1 operating system running on Concurrent (formerly
# Harris) NightHawk machines. written by Tom.Horsley@mail.ccur.com
#
@@ -7,27 +8,27 @@
#
case ${SDE_TARGET:-ELF} in
[Cc][Oo][Ff][Ff]|[Oo][Cc][Ss]) echo ''
- echo ''
- echo WARNING: Do not build perl 5 with the SDE_TARGET set to
- echo generate coff object - perl 5 must be built in the ELF
- echo environment.
- echo ''
+ echo '' >&2
+ echo WARNING: Do not build perl 5 with the SDE_TARGET set to >&2
+ echo generate coff object - perl 5 must be built in the ELF >&2
+ echo environment. >&2
+ echo '' >&2
echo '';;
[Ee][Ll][Ff]) : ;;
- *) echo ''
- echo 'Unknown SDE_TARGET value: '$SDE_TARGET
- echo '';;
+ *) echo '' >&2
+ echo 'Unknown SDE_TARGET value: '$SDE_TARGET >&2
+ echo '' >&2 ;;
esac
case `uname -r` in
[789]*) : ;;
*) echo ''
- echo ''
- echo WARNING: Perl 5 requires shared library support, it cannot
- echo be built on releases of CX/UX prior to 7.0 with this hints
- echo file. You\'ll have to do a separate port for the statically
- echo linked COFF environment.
- echo ''
+ echo '' >&2
+ echo WARNING: Perl 5 requires shared library support, it cannot >&2
+ echo be built on releases of CX/UX prior to 7.0 with this hints >&2
+ echo file. You\'ll have to do a separate port for the statically >&2
+ echo linked COFF environment. >&2
+ echo '' >&2
echo '';;
esac
@@ -91,7 +92,7 @@ i_ndbm='undef'
d_mymalloc='undef'
usemymalloc='n'
-cat <<'EOM'
+cat <<'EOM' >&4
WARNING: If you are using ksh to run the Configure script, you may find it
failing in mysterious ways (such as failing to find library routines which
diff --git a/hints/dcosx.sh b/hints/dcosx.sh
index 36afd3b921..c1b0d0ac42 100644
--- a/hints/dcosx.sh
+++ b/hints/dcosx.sh
@@ -21,7 +21,7 @@ libswanted="$*"
# 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.
@@ -37,7 +37,7 @@ esac
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
@@ -53,7 +53,7 @@ esac
/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.
@@ -70,7 +70,7 @@ if grep GNU make.vers > /dev/null 2>&1; then
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
@@ -112,7 +112,7 @@ case "`${cc:-cc} -v 2>&1`" in
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
@@ -126,7 +126,7 @@ END
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
@@ -147,7 +147,7 @@ END
# 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
@@ -160,7 +160,7 @@ END
# 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
diff --git a/hints/dgux.sh b/hints/dgux.sh
index 0b9dd11766..d751e63a64 100644
--- a/hints/dgux.sh
+++ b/hints/dgux.sh
@@ -104,7 +104,7 @@ do
do
[ -d "$sde_path/$sde" ] && break 2
done
- cat <<END
+ cat <<END >&2
NOTE: I can't figure out what SDE is used by default on this machine (I
didn't find a likely directory under $sde_path). This is bad news. If
diff --git a/hints/esix4.sh b/hints/esix4.sh
index c8dec8a8b8..3d3145d255 100644
--- a/hints/esix4.sh
+++ b/hints/esix4.sh
@@ -19,7 +19,7 @@ if test "$osvers" = "3.0"; then
d_gconvert='undef'
grep 'define[ ]*AF_OSI[ ]' /usr/include/sys/socket.h | grep '/\*[^*]*$' >/tmp/esix$$
if test -s /tmp/esix$$; then
- cat <<EOM
+ cat <<EOM >&2
WARNING: You are likely to have problems compiling the Socket extension
unless you fix the unterminated comment for AF_OSI in the file
@@ -30,7 +30,7 @@ EOM
rm -f /tmp/esix$$
fi
-cat <<'EOM'
+cat <<'EOM' >&4
If you wish to use dynamic linking, you must use
LD_LIBRARY_PATH=`pwd`; export LD_LIBRARY_PATH
diff --git a/hints/freebsd.sh b/hints/freebsd.sh
index 4d2ba22b10..4b7653a784 100644
--- a/hints/freebsd.sh
+++ b/hints/freebsd.sh
@@ -97,7 +97,7 @@ esac
# Configure should test for this. Volunteers?
pp_sys_cflags='ccflags="$ccflags -DHAS_TELLDIR_PROTOTYPE"'
-cat <<'EOM'
+cat <<'EOM' >&4
Some users have reported that Configure halts when testing for
the O_NONBLOCK symbol with a syntax error. This is apparently a
diff --git a/hints/hpux.sh b/hints/hpux.sh
index 695ae6e08f..2e8b16cd21 100644
--- a/hints/hpux.sh
+++ b/hints/hpux.sh
@@ -1,3 +1,4 @@
+#! /local/gnu/bin/bash
# hints/hpux.sh
# Perl Configure hints file for Hewlett Packard HP-UX 9.x and 10.x
# This file is based on
@@ -8,14 +9,19 @@
# hints/hpux_10.sh, Perl Configure hints file for Hewlett Packard HP-UX 10.x
# From: Giles Lean <giles@nemeton.com.au>
-# This version: December 27, 1996
+# This version: March 21, 1997
# Current maintainer: Jeff Okamoto <okamoto@corp.hp.com>
+#--------------------------------------------------------------------
# Use Configure -Dcc=gcc to use gcc.
# Use Configure -Dprefix=/usr/local to install in /usr/local.
-
+#
# Some users have reported problems with dynamic loading if the
# environment variable LDOPTS='-a archive' .
+#
+# If you get a message about "too much defining", you might have to
+# add the following to your ccflags: '-Wp,-H256000'
+#--------------------------------------------------------------------
# Turn on the _HPUX_SOURCE flag to get many of the HP add-ons
ccflags="$ccflags -D_HPUX_SOURCE"
@@ -32,7 +38,7 @@ case "$cc" in
then
case "$usedl" in
'') usedl="$undef"
- cat <<'EOM'
+ cat <<'EOM' >&4
The bundled C compiler can not produce shared libraries, so you will
not be able to use dynamic loading.
@@ -66,7 +72,7 @@ then
then
archname='PA-RISC2'
else
- echo "This 10.0 system is of a PA-RISC type I don't recognize."
+ echo "This 10.0 system is of a PA-RISC type I don't recognize." >&2
echo "Debugging output: $xxcontext"
archname=''
fi
@@ -83,7 +89,7 @@ else
then
archname='HP-MC68K'
else
- echo "I cannot recognize what chip set this system is using."
+ echo "I cannot recognize what chip set this system is using." >&2
echo "Debugging output: $xxcontext"
archname=''
fi
diff --git a/hints/irix_4.sh b/hints/irix_4.sh
index a5d08e05b6..f5883f38cb 100644
--- a/hints/irix_4.sh
+++ b/hints/irix_4.sh
@@ -17,7 +17,7 @@ esac
# I don't know if they affect versions of perl other than 5.000 or
# versions of IRIX other than 4.0.4.
#
-cat <<'EOM'
+cat <<'EOM' >&4
If you have problems, you might have try including
-DSTANDARD_C -cckr
in ccflags.
diff --git a/hints/mips.sh b/hints/mips.sh
index 7ed058e4ad..bc0b7e8073 100644
--- a/hints/mips.sh
+++ b/hints/mips.sh
@@ -6,7 +6,7 @@ glibpth="/usr/lib/cmplrs/cc $glibpth"
groupstype=int
nm_opt='-B'
case $PATH in
-*bsd*:/bin:*) cat <<END
+*bsd*:/bin:*) cat <<END >&4
NOTE: Some people have reported having much better luck with Mips CC than
with the BSD cc. Put /bin first in your PATH if you have difficulties.
END
diff --git a/hints/next_3_0.sh b/hints/next_3_0.sh
index 080829bd27..b8cc2c2d90 100644
--- a/hints/next_3_0.sh
+++ b/hints/next_3_0.sh
@@ -6,15 +6,15 @@
# <klwhite@magnus.acs.ohio-state.edu>, based on suggestions by Andreas
# Koenig and Andy Dougherty.
-echo With NS 3.0 you won\'t be able to use the POSIX module.
-echo Be aware that some of the tests that are run during "make test"
-echo will fail due to the lack of POSIX support on this system.
-echo
-echo Also, if you have the GDBM installed, make sure the header file
-echo is located at a place on the system where the C compiler will
-echo find it. By default, it is placed in /usr/local/include/gdbm.h.
-echo It will not be found there. Try moving it to
-echo /NextDeveloper/Headers/bsd/gdbm.h.
+echo With NS 3.0 you won\'t be able to use the POSIX module. >&4
+echo Be aware that some of the tests that are run during \"make test\" >&4
+echo will fail due to the lack of POSIX support on this system. >&4
+echo >&4
+echo Also, if you have the GDBM installed, make sure the header file >&4
+echo is located at a place on the system where the C compiler will >&4
+echo find it. By default, it is placed in /usr/local/include/gdbm.h. >&4
+echo It will not be found there. Try moving it to >&4
+echo /NextDeveloper/Headers/bsd/gdbm.h. >&4
ccflags='-DUSE_NEXT_CTYPE -DNEXT30_NO_ATTRIBUTE'
POSIX_cflags='ccflags="-posix $ccflags"'
diff --git a/hints/os2.sh b/hints/os2.sh
index 70e478b96f..c442a08086 100644
--- a/hints/os2.sh
+++ b/hints/os2.sh
@@ -30,7 +30,7 @@ cc='gcc'
usrinc='/emx/include'
libemx="`../UU/loc . X c:/emx/lib d:/emx/lib e:/emx/lib f:/emx/lib g:/emx/lib h:/emx/lib /emx/lib`"
-if test "$libemx" = "X"; then echo "Cannot find C library!"; fi
+if test "$libemx" = "X"; then echo "Cannot find C library!" >&2; fi
# Acute backslashitis:
libpth="`echo \"$LIBRARY_PATH\" | tr ';\\\' ' /'`"
diff --git a/hints/qnx.sh b/hints/qnx.sh
index e0ce55c249..9334c94339 100644
--- a/hints/qnx.sh
+++ b/hints/qnx.sh
@@ -120,7 +120,7 @@ selecttype='fd_set *'
libswanted="$libswanted unix"
if [ -z "`which ar 2>/dev/null`" ]; then
- cat <<-'EOF'
+ cat <<-'EOF' >&4
I don't see an 'ar', so I'm guessing you are running
Watcom 9.5 or earlier. You may want to install the ar
cover found in the qnx subdirectory of this distribution.
@@ -158,7 +158,7 @@ fi
cppstdin=`which cpp 2>/dev/null`
if [ -n "$cppstdin" ]; then
- cat <<-EOF
+ cat <<-EOF >&4
I found a cpp at $cppstdin and will assume it is a good
thing to use. If this proves to be false, there is a
thin cover for cpp in the qnx subdirectory of this
@@ -166,7 +166,7 @@ if [ -n "$cppstdin" ]; then
EOF
cpprun="$cppstdin"
else
- cat <<-EOF
+ cat <<-EOF >&4
There is a cpp cover in the qnx subdirectory of this
distribution which works a little better than the
diff --git a/hints/sco_2_3_3.sh b/hints/sco_2_3_3.sh
index 10baafd6a3..6d398fccf2 100644
--- a/hints/sco_2_3_3.sh
+++ b/hints/sco_2_3_3.sh
@@ -1,3 +1,3 @@
yacc='/usr/bin/yacc -Sm25000'
-echo "NOTE: you may have problems due to a spurious semicolon on the strerror()"
-echo "macro definition in /usr/include/string.h. If so, delete the semicolon."
+echo "NOTE: you may have problems due to a spurious semicolon on the strerror()" >&4
+echo "macro definition in /usr/include/string.h. If so, delete the semicolon." >&4
diff --git a/hints/sco_2_3_4.sh b/hints/sco_2_3_4.sh
index 84f58172b3..34bcadae5f 100644
--- a/hints/sco_2_3_4.sh
+++ b/hints/sco_2_3_4.sh
@@ -1,5 +1,5 @@
yacc='/usr/bin/yacc -Sm25000'
ccflags="$ccflags -UM_I86"
usemymalloc='y'
-echo "NOTE: you may have problems due to a spurious semicolon on the strerror()"
-echo "macro definition in /usr/include/string.h. If so, delete the semicolon."
+echo "NOTE: you may have problems due to a spurious semicolon on the strerror()" >&4
+echo "macro definition in /usr/include/string.h. If so, delete the semicolon." >&4
diff --git a/hints/solaris_2.sh b/hints/solaris_2.sh
index 255811f2a6..89dde018de 100644
--- a/hints/solaris_2.sh
+++ b/hints/solaris_2.sh
@@ -47,7 +47,7 @@ esac
# 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 >&4
NOTE: Some people have reported problems with /usr/ucb/cc.
Remove /usr/ucb from your PATH if you have difficulties.
@@ -63,7 +63,7 @@ esac
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
@@ -79,7 +79,7 @@ esac
/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.
@@ -96,7 +96,7 @@ if grep GNU make.vers > /dev/null 2>&1; then
tmp=`/usr/bin/which 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
@@ -137,7 +137,7 @@ case "`${cc:-cc} -v 2>&1`" in
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
@@ -152,7 +152,7 @@ END
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
@@ -172,7 +172,7 @@ END
# 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
@@ -201,7 +201,7 @@ END
esac
fi
if $gnu_ld ; then
- 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
diff --git a/hints/ultrix_4.sh b/hints/ultrix_4.sh
index d3c4a39880..d8d2063b22 100644
--- a/hints/ultrix_4.sh
+++ b/hints/ultrix_4.sh
@@ -22,7 +22,7 @@ esac
# Then run "sh5 Configure.sh5 [your options]"
case "$myuname" in
-*risc*) cat <<EOF
+*risc*) cat <<EOF >&4
Note that there is a bug in some versions of NFS on the DECStation that
may cause utime() to work incorrectly. If so, regression test io/fs
may fail if run under NFS. Ignore the failure.
diff --git a/hints/utekv.sh b/hints/utekv.sh
index ebc7809c60..95a31fdedf 100644
--- a/hints/utekv.sh
+++ b/hints/utekv.sh
@@ -6,7 +6,7 @@ ccflags="$ccflags -X18"
usemymalloc='y'
-echo " "
-echo "NOTE: You may have to take out makefile dependencies on the files in"
-echo "/usr/include (i.e. /usr/include/ctype.h) or the make will fail. A"
-echo "simple 'grep -v /usr/include/ makefile' should suffice."
+echo " " >&4
+echo "NOTE: You may have to take out makefile dependencies on the files in" >&4
+echo "/usr/include (i.e. /usr/include/ctype.h) or the make will fail. A" >&4
+echo "simple 'grep -v /usr/include/ makefile' should suffice." >&4