Initial import of the CDE 2.1.30 sources from the Open Group.
This commit is contained in:
9
cde/admin/BuildTools/setup/README
Normal file
9
cde/admin/BuildTools/setup/README
Normal file
@@ -0,0 +1,9 @@
|
||||
/* $XConsortium: README /main/2 1996/07/15 13:57:35 drk $ */
|
||||
This directory is for information for setup for a user or administrator's
|
||||
system.
|
||||
This is a readme for anything that goes in this directory.
|
||||
|
||||
perl.hp.tar.Z - 8/10/93 - the 9.0 hp perl package. untar in /.
|
||||
perl.ibm.tar.Z - 8/10/93 - the AIX 3.2 ibm perl package. untar in /.
|
||||
perl.sun.tar.Z - 01/18/94 - the SunOS 5.3 perl package. untar in /.
|
||||
installtools - setup script - DO NOT USE YET!!!
|
||||
22
cde/admin/BuildTools/setup/hpversioncheck
Executable file
22
cde/admin/BuildTools/setup/hpversioncheck
Executable file
@@ -0,0 +1,22 @@
|
||||
#! /bin/ksh
|
||||
# This script checks to see if the system release is OK and the compiler
|
||||
# is OK on hpux.
|
||||
|
||||
RELEASE=`uname -r|fgrep '9.05' 2>/dev/null`
|
||||
|
||||
if [ ! "$RELEASE" ];then
|
||||
echo " System Release Incorrect. uname -r should be 9.05"
|
||||
echo " system is instead `uname -r`"
|
||||
echo ""
|
||||
fi
|
||||
|
||||
COMPILER=`what /bin/c89 |fgrep '9.68' 2>/dev/null`
|
||||
|
||||
if [ ! "$COMPILER" ];then
|
||||
echo " Compiler version is Incorrect. It should be 9.68"
|
||||
echo " Instead it is:"
|
||||
what /bin/c89
|
||||
echo ""
|
||||
fi
|
||||
|
||||
|
||||
144
cde/admin/BuildTools/setup/ibmversioncheck
Executable file
144
cde/admin/BuildTools/setup/ibmversioncheck
Executable file
@@ -0,0 +1,144 @@
|
||||
#!/bin/ksh
|
||||
#set -x
|
||||
######################################################################
|
||||
# check to see if the system release is OK and build environments are OK
|
||||
# on an AIX build box
|
||||
# Yanling Qi (yanling@austin.ibm.com) (512-838-2846)
|
||||
######################################################################
|
||||
#
|
||||
Lslpp()
|
||||
{
|
||||
/bin/lslpp -lc $1|grep "usr"|grep -v "AVAILABLE"
|
||||
}
|
||||
#
|
||||
# (1) check oslevel
|
||||
#
|
||||
OSLEVEL=$(/bin/oslevel |fgrep '3250')
|
||||
print "\nCheck OS level......"
|
||||
if [ "XX$OSLEVEL" = "XX" ]; then
|
||||
echo " System Release Incorrect. /bin/oslevel should be 3250"
|
||||
echo " system is instead `/bin/oslevel`"
|
||||
echo ""
|
||||
else
|
||||
echo " Check oslevel Passed"
|
||||
fi
|
||||
#
|
||||
# (2) check basic operating system package (/usr/bin /usr/lpp and some
|
||||
# /usr/lib /usr/bin/ld
|
||||
#
|
||||
print "\nCheck basic operating system package......"
|
||||
Lslpp bos.obj |awk -F: '{
|
||||
if ($1 ~ "usr")
|
||||
{
|
||||
if($2 == "bos.obj 03.02.00.00" && ($3 == "COMMITTED" || $3 == "APPLIED"))
|
||||
printf(" Check base Operating System Package: Passed\n");
|
||||
else {
|
||||
printf("Package should be: bos.obj 03.02.00.00\n")
|
||||
printf(" yours is: %s\n",$0);
|
||||
}
|
||||
}
|
||||
else # missing this package
|
||||
printf("Package bos.obj 03.02.00.00 is missing\n")
|
||||
}'
|
||||
|
||||
#
|
||||
# (3) Check C++ compliler
|
||||
print "\nCheck C++ compliler......"
|
||||
Lslpp xlCcmp.obj |awk -F: '{
|
||||
if ($1 ~ "usr")
|
||||
if($2 == "xlCcmp.obj 01.01.02.29" && ($3 == "COMMITTED" || $3 == "APPLIED"))
|
||||
printf(" Check AIX XL C++ Compiler/6000 Package: Passed\n");
|
||||
else{
|
||||
printf(" Package should be xlCcmp.obj 01.01.02.29\n")
|
||||
printf(" yours is: %s\n",$0);
|
||||
|
||||
}
|
||||
else # missing this package
|
||||
printf("Package xlCcmp.obj 01.01.02.29 is missing\n");
|
||||
}'
|
||||
#
|
||||
# (4) check C++ lib /usr/lpp/xlC/lib/libC.a
|
||||
# /usr/lpp/xlC/lib/profiled/libC.a
|
||||
|
||||
#
|
||||
print "\nCheck C++ lib......"
|
||||
Lslpp xlCrte.obj|awk -F: '{
|
||||
if ($1 ~ "usr")
|
||||
if($2 == "xlCrte.obj 01.01.02.29" && ($3 == "COMMITTED" || $3 == "APPLIED"))
|
||||
printf(" Check AIX XL C++ Compiler/6000 Runtime Package: Passed\n");
|
||||
else{
|
||||
printf(" Package should be xlCrte.obj 01.01.02.29\n")
|
||||
printf(" yours is: %s\n",$0);
|
||||
|
||||
}
|
||||
else # missing this package
|
||||
printf("Package xlCrte.obj 01.01.02.29 is missing\n");
|
||||
}'
|
||||
#
|
||||
# (5) check c compliler
|
||||
#
|
||||
print "\nCheck xl c compiler......"
|
||||
Lslpp xlccmp.obj |awk -F: '{
|
||||
if ($1 ~ "usr")
|
||||
if($2 == "xlccmp.obj 01.03.00.12" && ($3 == "COMMITTED" || $3 == "APPLIED"))
|
||||
printf(" Check AIX XL C Compiler Package: Passed\n");
|
||||
else{
|
||||
printf(" Package should be xlccmp.obj 01.03.00.12\n")
|
||||
printf(" yours is: %s\n",$0);
|
||||
|
||||
}
|
||||
else # missing this package
|
||||
printf("Package xlccmp.obj 01.03.00.12 is missing\n");
|
||||
}'
|
||||
#
|
||||
# (6) check Base Application Development Toolkit
|
||||
# cpp lex yacc
|
||||
#
|
||||
print "\nCheck Base Application Development Toolkit......"
|
||||
Lslpp bosadt.bosadt.obj |awk -F: '{
|
||||
if ($1 ~ "usr")
|
||||
if($2 == "bosadt.bosadt.obj 03.02.00.00" && ($3 == "COMMITTED" || $3 == "APPLIED"))
|
||||
printf(" Check Base Application Development Toolkit Package: Passed\n");
|
||||
else{
|
||||
printf(" Package should be bosadt.bosadt.obj 03.02.00.00\n")
|
||||
printf(" yours is: %s\n",$0);
|
||||
|
||||
}
|
||||
else # missing this package
|
||||
printf("Package bosadt.bosadt.obj 03.02.00.00 is missing\n");
|
||||
}'
|
||||
#
|
||||
# (7) check Base Development Libraries & Include files
|
||||
# cpp lex yacc
|
||||
#
|
||||
print "\nCheck Base Development Libraries & Include files......"
|
||||
Lslpp bosadt.lib.obj |awk -F: '{
|
||||
if ($1 ~ "usr")
|
||||
if($2 == "bosadt.lib.obj 03.02.00.00" && ($3 == "COMMITTED" || $3 == "APPLIED"))
|
||||
printf(" Check Base Development Libraries & Include files Package: Passed\n");
|
||||
else{
|
||||
printf(" Package should be bosadt.lib.obj 03.02.00.00\n")
|
||||
printf(" yours is: %s\n",$0);
|
||||
|
||||
}
|
||||
else # missing this package
|
||||
printf("Package bosadt.lib.obj 03.02.00.00 is missing\n");
|
||||
}'
|
||||
|
||||
#
|
||||
# (8) check X Development Libraries and Include Files
|
||||
#
|
||||
#
|
||||
print "\nCheck X Development Libraries and Include Files......"
|
||||
Lslpp X11dev.obj |awk -F: '{
|
||||
if ($1 ~ "usr")
|
||||
if($2 == "X11dev.obj 01.02.03.00" && ($3 == "COMMITTED" || $3 == "APPLIED"))
|
||||
printf(" Check X Development Libraries and Include Files Package: Passed\n");
|
||||
else{
|
||||
printf(" Package should be X11dev.obj 01.02.03.00\n")
|
||||
printf(" yours is: %s\n",$0);
|
||||
|
||||
}
|
||||
else # missing this package
|
||||
printf("Package X11dev.obj 01.02.03.00 is missing\n");
|
||||
}'
|
||||
BIN
cde/admin/BuildTools/setup/perl.hp.tar.Z
Normal file
BIN
cde/admin/BuildTools/setup/perl.hp.tar.Z
Normal file
Binary file not shown.
BIN
cde/admin/BuildTools/setup/perl.ibm.tar.Z
Normal file
BIN
cde/admin/BuildTools/setup/perl.ibm.tar.Z
Normal file
Binary file not shown.
BIN
cde/admin/BuildTools/setup/perl.sun.tar.Z
Normal file
BIN
cde/admin/BuildTools/setup/perl.sun.tar.Z
Normal file
Binary file not shown.
Reference in New Issue
Block a user