📄 install.tme
字号:
.lo.SJ "Installation Instructions for the ESPS Source Release".AU "Alan Parker".TM ETM-S-87-29 1.25 11/29/89.*R ETM-S-86-14, Entropic Signal Processing System (ESPS) Programming Guidelines.sh 1 Introduction.ppThis document describes the installation procedure for ESPS Version 3.Please read this document completely before attempting theinstallation. This release is intended for use on Masscomp5000 or 6000 series computers running RTU 3.0 or greater,Sun\-3, Sun\-4 or Sun\-386i workstations running Sun OS 3.2 or greater,HP 800 and 300 series computers, DEC DecStation 3100 (called theDS3100 here) workstations, and Convex computers. The installationscript requires that a number of standard \s-1UNIX\s+1 utilities beavailable and on the standard execution path, such as \fIgrep\fR,\fIcc\fR, \fInroff\fR, \fIsed\fR, \fImake\fR, \fIdiffmk\fR and \fItest\fR. .ppEarlier versions of ESPS required Fortran, but this release does not..ppIn the case of Sun386i some optional clusters are required to buildESPS from this source kit. You must have the development clusterinstalled (both the base_devel and the sunview_devel part) and thedoc_prep cluster..sh 1 "Overview of Installation Process".ppThe installation is simple. The tape or diskettes are read into aclean directory (suggested name is esps). This directory will becomethe \fIsource\fR directory and can by located anywhere on the filesystem, but it is suggested that it be in the login directory of thelocal ESPS maintainer..ppThe installer may adjust a few installation variables in the script toalter the default choices. The installation script creates a\fItarget\fR directory and installs all ESPS programs and related filesthere. If your system is low on file space, then the \fIsource\fRdirectory can be removed. However, if you can afford the space, havingthe sources online is helpful, since they serve as example programs.For convenience, the \fItarget\fR directory contains a symbolic link backto the \fIsource\fR directory. No ESPS programs require any of thefiles under the \fIsource\fR directory after the installation script hasbeen properly run..sh 2 "ESPS's Place in the File System".ppIt is not necessary to be super-user while installing ESPS. It is notnecessary (but it is possible) to put ESPS files into the standard\s-1UNIX\s+1 directories such as /usr/lib, /usr/bin/, and /usr/include.Whether you must have super-user access depends on where you want toinstall ESPS. The typical location for the \fItarget\fR directory is/usr/esps. There are two different ways to accomplish this. Oneis to have a super-user create the directory /usr/esps and thenchange the owner of it to the user-id of the ESPS maintainer (the onewho read in the tape and is going to run the install script). The better option is to have the super-user create a symbolic link\fI/usr/esps\fR which points to the true target directory location(for example /home/esps), create this directory (make sure it iswrittable by the user-id running the install script), and then set thetarget directory in the ESPS install script to \fI/usr/esps\fR..ppIf you have one of the \fIwaves+\fR products (other than for theSun386i) then you must have ESPSrooted at \fI/usr/esps\fR. This will be requirement relaxed in a future release.If you do not have \fIwaves+\fR then /usr/esps is only a convention and you can install ESPS anywherein your file system you desire. All file paths are determined by theinstallation script..ppOn a Sun386i, ESPS with \fIwaves+\fR must be rooted at \fI/files/esps\fR. Note thatit doesn't have to be directly installed there; it can be anywhere andconnected to \fI/files/esps\fR with a symbolic link..sh 2 "A Word About Access Modes".ppThere are installation parameters that determine the access modes of the fileswhen they are installed. The default is write access by owner (shouldbe the local ESPS maintainer) and read access by others.If you desire to limit access to ESPS to a particular group, you canreset the access mode installation variables accordingly.There are installation parameters for the mode of the programs, manualpages, and library files..sh 2 "File Space Required".ppThis release of ESPS requires about 9 Megabytes of file space to read inthe distribution media. This is 18,000 blocks on the Masscomp, HP, and DS3100, and 9,000 blocks on a Sun.The target directory requires about 17 Megabytes on a Masscomp, about 26 Megabytes on a Sun3, HP or DS3100,and about 19 Megabytes on a Sun4 (Sparc) after all programs are installed.During installation, the \fIsource\fR directory will grow by about 10 Megabytesowing to the .o files being created during compilation.After the installation scripthas completed correctly, you can remove the .o files by doing \fIinstall -c\fR. You can also remove the entire\fIsource\fR directory ifyou are low on file space and do not need easy access to the sources..sh 1 "Optional WAVES+ software".ppThe following section only applies to Sun systems (since the optional\fIwaves+\fR software only runs on Suns at present). If you ordered \fIwaves+\fRwith ESPS, then it is included on the tape after the two ESPS directories (\fIgeneral\fR and \fIlocal.skel\fR).The following table shows the directory names for the different\fiwaves+\fR products, depending on the system type..TSbox,center,tab(;);c c cl l l.Machine;Product Code;Directory on Tape_Sun 3;w+S3;waves.sun3_68881;;waves.sun3_fpaSun 4;w+S4;waves.sun4Sun 386i;w+S386i;waves.sun386Any Sun;w+SRC;waves.src.TE.ppNote that for Sun3, there may be two versions of the binary; one compiledfor the 68881 floating point chip and the other for the Sun3 FPA board. Usethe one (or both) that is appropriate for your configuration. (Forexample, if you have a server with the floating point board (FPA), butdiskless nodes on it without FPAs, then you might want to build ESPStwice, once with the FPA option on, and once with it off and install thecorrect \fIwaves+\fR binary into them. Then set up the paths on thevarious machines, using symbolic links, so that each machine sees thecorrect type of code.If you ordered multiple types of \fIwaves+\fR, then all will be on the distribution media. .ppExcept for \fIwaves.src\fR, the \fIwaves+\fR distributions are in binary form, so they do not require compilation. Thedistribution directory contains a makefile that copies the files to thecorrect locations within ESPS and sets the modes of the files. The\fIwaves+\fR binaries are put into the ESPS \fIbin\fR directory. The \fIwaves+\fRman pages are put into the ESPS \fIman/man1\fR directory. Some otherrelated \fIwaves+\fR files, such as sample parameter files and colormaps, areput into the ESPS directory \fIlib/waves\fR..ppA variable in the install script, \fBWAVES\fR is set to y (for yes) or n(for no) depending on whether \fIwaves+\fR is to be installed with ESPS.If you ordered \fIwaves+\fR with ESPS and it is on the tape, then thisvariable will be set for you. (But you should check us!). Thevariable \fBWAVES_TYPE\fR is set to the name of the \fIwaves+\fR directory, asdescribed above. For example, if your system type is a Sun4,then you should set \fBWAVES\fRto \fIy\fR and \fBWAVES_TYPE\fR to \fIwaves.sun4\fR. If you have the \fIwaves+\fR source directory, then set \fBWAVES\fR to y and\fBWAVES_TYPE\fR to \fIwaves.src\fR..sh 1 "Window Systems".ppESPS supports three different windowing systems, Masscomp SP-40 graphics(MC Windows), Sunview (also known as Suntools), and the X WindowSystem. Masscomp systems can have either or both SP-40 and XWindows. In this version of ESPS Sun systems can only have Suntools.HP systems are assumed to have X Windows. If you are building ESPSfrom source on a Masscomp, check the section of the install script wherethe Masscomp defines are located and set the variables \fBSP40\fR and \fBXWIN\fRcorrectly..sh 1 "Reading In The Distribution".ppThis first section is forMasscomp systems. If you are installing ESPS on a Sun or HP skip ahead to the appropriate section..sh 2 "Masscomp (Concurrent)".ppThere are two cases here. One for an installation from 9 track tape and the other case for diskettes. Follow the instructions in the next section for 9 track tape. The following instructions assume that you want to read the distributioninto a new directory named \fIesps\fR in your home directory. If you desire to read it into another directory, them modify these instructionsaccordingly..pp.ppSkip ahead to "Reading a Set of Diskettes" if your installation is from diskettes..sh 3 "Reading a 9 Track Tape".ppThe tape drive is assigned and the tape (in tar format) is read in. Be sure you are in your home directory, create a directory named\fIesps\fR and then change to it. The tape will be read into thisdirectory. The following commands do the trick:.br.ta 4i.ft CW.nf% assign 1600 % cd% mkdir esps% cd esps% tar xvf /dev/rmt0 .ft LR.fi.ppAfter doing this you should have a directory named \fIesps\fR under your homedirectory. This directory should contain another directory named\fIgeneral\fR and a file named \fIREADME\fR. Check this \fIREADME\fRfile for any information that did not get put into this note..ppSkip to the section titled "Editing the Install Script"..sh 3 "Reading a Set of Diskettes".ppInsert the first diskette into the diskette drive. Be sure you are inyour home directory, create a directory named \fIesps\fR and then changeto it. The diskettes will be read into this directory. The followingcommands do the trick:.ft CW.br.nf% cd% mkdir esps% cd esps% tar xvf /dev/rflp.ft LR.fi.ppAfter \fItar\fR reads a complete diskette, it will print a message like:.br.ft CW.nftar: errno returned 2, Cannot read inputtar: If you want to go on, type "yes" or a new pathname of a device/filename when you are ready.fi.ft LR.ppWhen you get this message, remove the diskette and insert the next inthe set and type .ft CWyes.ft LR (followed by a return). You should not get this message when reading the lastdiskette in the set..ppAfter reading the diskettes you should have a directory named \fIesps\fR under your homedirectory. This directory should contain another directory named\fIgeneral\fR and a file named \fIREADME\fR. Check this \fIREADME\fRfile for any information that did not get put into this note..ppIf you have a problem reading the diskette, check the access mode of/dev/rflp (the diskette drive). You might need to have a super-user change the access modeof /dev/rflp..ppSkip to the section titled "Editing the Install Script"..sh 2 "Sun with Cartridge Tape or 9 Track Tape".ppThe following instructions assume that you want to read the distributioninto a new directory named \fIesps\fR in your home directory. If you desire to read it into another directory, them modify these instructionsaccordingly..sh 3 "Reading a 9 Track Tape or Cartridge Tape".ppThe tape (in tar format) is read in. If the media is a 9 track tape, then 1600 bpi is used (unless yourequested something else). If a cartridge is used, then the media iswritten in high density mode (/dev/rst8 on many Suns).Be sure you are in your home directory, create a directory named\fIesps\fR and then change to it. The tape will be read into thisdirectory. These instructions do not include the correct name for your tape drive,since that varies from one Sun configuration to another.The following commands do the trick:.br.ta 4i.ft CW.nf% cd% mkdir esps% cd esps% tar xvf /dev/XXXX (where XXXX is the name of your tape drive).ft LR.fi.ppAfter doing this you should have a directory named \fIesps\fR under your homedirectory. This directory should contain another directory named\fIgeneral\fR and a file named \fIREADME\fR. Check this \fIREADME\fRfile for any information that did not get put into this note..ppSkip to the section titled "Editing the Install Script"..sh 2 "Sun 386i".ppIf the media is either 9 track tape or cartridge tape, follow theinstructions above for a Sun with Cartridge Tape or 9 Track Tape..ppOtherwise the media will be high density 3.5 inch diskettes. The Sun\fIbar\fR utility is used to read the diskettes. The ESPS source is onone set of diskettes (about 5 diskettes) and any \fIwaves+\fR relatedproducts will be separate \fIbar\fR files on their own sets ofdiskettes..ppTo read in an ESPS distribution on diskettes, be sure you are in your home directory, create a directory named\fIesps\fR and then change to it. The diskettes will be read into thisdirectory. The following commands do the trick:.br.ta 4i.ft CW.nf% cd% mkdir esps% cd esps% bar xvf /dev/rfd0a .ft LR.fi.ppAfter reading the first diskette, the program will prompt you to insertthe next diskette and type \fBy\fR. Simply read in all diskettes in theorder that they are numbered on the label. Be sure to keep theindividual products together..ppAfter doing this you should have a directory named \fIesps\fR under your homedirectory. This directory should contain another directory named\fIgeneral\fR and a file named \fIREADME\fR. Check this \fIREADME\fRfile for any information that did not get put into this note..ppIf you ordered additional products, such as \fIwaves+\fR (in binary orsource), read them into this same directory using the same steps shownabove..ppSkip to the section titled "Editing the Install Script"..sh 2 "HP 300 or HP 800".ppThe following instructions assume that you want to read the distributioninto a new directory named \fIesps\fR in your home directory. If you desire to read it into another directory, them modify these instructionsaccordingly..sh 3 "Reading a 9 Track Tape".ppThe tape (in tar format) is read in. Be sure you are in your home directory, create a directory named\fIesps\fR and then change to it. The tape will be read into thisdirectory. Assuming that \fItar\fR uses the default tape drive,(you might have to use the \fI-f\fR option on \fItar\fR)the following commands do the trick: .br.ta 4i.ft CW.nf% cd% mkdir esps% cd esps% tar xv.ft LR.fi.ppAfter doing this you should have a directory named \fIesps\fR under your homedirectory. This directory should contain another directory named\fIgeneral\fR and a file named \fIREADME\fR. Check this \fIREADME\fRfile for any information that did not get put into this note..pp.sh 3 "Reading HP Cartridges".ppIf the distribution is supplied on 1/4 inch cartridges, then we haveused the HP utility \fItcio\fR to properly block the tape. To read itback in do:.br.ta 4i.ft CW.nf% cd% mkdir esps% cd esps% tcio -i /dev/XXXX | tar xvf -.ft LR.fi.pp
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -