bininstall.tme
来自「speech signal process tools」· TME 代码 · 共 616 行 · 第 1/2 页
TME
616 行
.nf.ft CW% elmadmin -z.ft R.fi.ppNote that truncating the log file by other means would be ineffectual, since\fIelmd\fR keeps the log file open at all times. The next \fIelmd\fRlog file write would simply use the old file pointer, filling the file to theoriginal length. The \fB-z\fR option must be used to truncate thefile..ppA suggested method to clean up the log file every evening is to run thefollowing by your \fIcrontab\fR system. You will need your systemadministrator to set this up..nf.ft CWcp elm.log elm.log.oldelmadmin -z.ft R.fi.sh 1 "Checking Out a License".ppBefore running any ESPS programs you must checkout an ESPS license.This allows any user on the machine with a checked out license to runESPS programs. An ESPS license must be checked out for each host thatyou want to run ESPS programs on. Only one license is required to bechecked out for each host (not related to the number of different userson that host). .ppIf you have as many ESPS licenses as you havecomputers that you want to run ESPS programs on, then you can justcheckout a license for each of these computers and never free it. Youwill only need to checkout the license again, if the computer isrebooted. If you need to share ESPS licenses among some computers (thatis, you have more computers then you have licenses) then you need to use\fIefree\fR to free the license on a particular machine when it is notin use..ppFor details see the document \fILiving with the ESPS Floating License ManagerSystem\fR..ppNote that \fIwaves+\fR is licensed on a per user basis, so the totalnumber of \fIwaves+\fR that can be run at a time is limited by thenumber of available licenses..ppYou have to set the environmentvariable \fBELM_HOST\fR to identify the name of the host on which the license manager daemon is running. For example, if the license manager daemon is running on a CPUwith hostname \fIfido\fR, you would do:.nf.ft CW% setenv ELM_HOST fido.ft R.fi.ppThis environment variable tells ESPS programs where the daemon isrunning. To checkout a license you do:.nf.ft CW% echeckout.ft R.fi.pp\fIEcheckout\fR will checkout a license, if possible, and then wait inthe background. It will tell you if it has succeeded and return aprocess ID number. To free the license use the command \fIefree\fR.\fIEfree\fR can only be used by the same user that ran \fIecheckout\fRto get the license. Otherwise, the super-user can find the\fIecheckout\fR with \fIps\fR and kill it..ppYou can check on the status of your licenses by using the command:.ft CW.nf% elmadmin -l.ft R.fi.sh 1 "Getting Ready to use Waves+".ppThe following section only applies if you also have \fIwaves+\fR..ppEveryone that is going to use \fIwaves+\fRshould copy the following three files from \fI$ESPS_BASE/lib/waves\fR: \fI.wave_pro\fR, \fInb_params\fR, and \fIwb_params\fR to their home directory.These are parameter files for \fIwaves+\fR. See the \fIwaves+\fRmanual page for details..ppUsers should also edit their path assignment in their \fI.cshrc\fR (orwhatever they use) to include \fI$ESPS_BASE/bin\fR on their search path..ppCopy the files in \fI$ESPS_BASE/demo\fR to your working directory beforelooking at them with \fIwaves+\fR. This version of \fIwaves+\fR will try to writesome temporary files to the dirctory that the input file comes from(\fI$ESPS_BASE/demo\fR in this case) and you might not have writepermission on this directory. We consider this a bug, and this will bechanged in the next version..ppAlso note that all of the manual pages are stored online and can beaccessed by the command \fIeman\fR..ppAfter you are satisfied that all is well, up to this point, you shouldinstall the device driver, if you ordered it. Proceed to the instructions for installing the device driver.You can delay this,however, if you want to, since \fIwaves+\fR will operate without theboard. .sh 1 "Checking it Out".ppThe best way to check out the installation ofthe product is to change into the directory \fI$ESPS_BASE/demo\fR and runthe demo scripts in there.There is a README file in that directory. We stronglysuggest that you take the time to try these examples. Not only do theyprovide an introduction to some ESPS commands, but they serve as a checkon the installation. Note that you must have write permission on thisdirectory to run the demos. The assumption is that these will be run bythe ESPS installer/maintainer. This is one reason why we prefer not to installESPS as root, but as a regular user..ppIf you do not have write permission on the \fIdemo\fR directory, simplycopy the contents to a directory that you can write into..ppWe also suggest that you use \fIeman -k\fR (followed by a keyword tosearch for) to familiarize yourself with the system. See the \fIeman\fRmanual page for details. .sh 1 "Using the X Window Version of Waves+".ppFor Sun systems, there are two copies of \fIwaves+\fR, \fIlabel\fR, and\fIspectrum\fR. The versions by these names are for the Suntools windowsystem. For the X window system, use \fIxwaves+\fR, \fIxlabel\fR, and\fIxspectrum\fR. Non Sun systems only have the X versions..ppThis version of xwaves+ is built under the xview toolkit (from Sun). XView clients must be run under an ICCCM compliant window manager for everything to work correctly. In addition, the OpenLook fonts arerequired..ppThe directory \fI$ESPS_BASE/xview\fR contains a binary copy of theOpenLook window manager, the OpenLook fonts, and a simple script to addthe fonts to your font path. If you are running on a Sun system andalready have the OpenLook (or OpenWindows) package from Sun installed,then you should be OK. Otherwise, see the README file in\fI$ESPS_BASE/xview\fR and follow the instructions there..sh 1 "Special Notes".sh 2 "Switching between OLD and NEW versions".ipTwo things must happen to switch between old and new version of ESPS:.npYour Unix search path must be set to find the version you desire..npYou must stop the license manager of the release you are running and start thelicense manager of the version you want to switch to. .ipThis release of ESPS/waves+ requires new keys. The keys are incompatiblewith previous releases. In order to switch between previous releases ofESPS/waves+ and new releases you must run the license manager daemon (elmd)that shipped with that release. Only one elmd may run on a network at onetime, so that means that everyone must switch between old and new with you..sh 2 "Installing as ROOT".ipTypically you won't need to be ROOT to install ESPS and waves+. That'sone of the reasons we made this version position independent.If you do install as ROOT (perhaps you want to install to /usr or /usr/local),then ensure that you have appropriate permissions across NFS mounts. Thisapplies if you are installing the new version across NFS, or copying keysor other files from an old installation (which happens to sit across NFS).Typically NFS mounts do not permit ROOT user access (for security reasons).You must mount the NFS file system so the ROOT user has read/write permission.The actual procedure for doing this varies with each flavor of Unix, pleaserefer to your Unix's NFS manual..sh 2 "Name Conflict with OpenLook psps".ipThe ESPS program psps(1) has the same name as anOpenLook program. Thus, if you plan to run ESPS demos, or olderESPS scripts, ESPS/waves+ will have to be before OpenLook programson your Unix program search path. ESPS program pseps(1) is anothername for psps, which you can use in new scripts and avoid the namingconflict..sh 2 "Position Independence".ipESPS/waves+ no longer need to reside in /usr/esps. TheESPS/waves+ file tree can be put anywhere as long asthe enviroment variable ESPS_BASE points to the top ofthe ESPS/waves+ file tree, and $ESPS_BASE/bin is onour path..ipIt is a very good idea to set ESPS_BASE in your .cshrcor .profile. An example would be:.sp 2.nf %setenv ESPS_BASE /h4/esps4.1 %setenv PATH $ESPS_BASE/bin:$PATH %rehash %which testsd /h4/esps4.1/bin/testsd.fi.sp 2.ipNote that if you have two installations of ESPS+/waves (the oldversion and this version) that you must have only one of them on thepath at a time..sh 2 "Shared XView Libraries (Sun/Sparc versions only)".ipThis release of ESPS/waves+ takes advantage of Sun'sshared library facility for OpenLook interface programs. This trimmed the installation size by 15 megabytes.However it does add a little complexity your life..ipTo run the programs that were linked with Sun's sharedlibraries you need to specify those libraries in theenvironment variable LD_LIBRARY_PATH. LD_LIBRARY_PATHshould be setup in your .cshrc. You should have theshared libraries on your system already, but they areprovided in $ESPS_BASE/lib, if not..ipA typical installation that already has the librariesmight set the LD_LIBRARY_PATH to this in their .cshrc:.sp 1.nf %setenv LD_LIBRARY_PATH /usr/openwin/lib:/usr/lib/X11:/usr/lib.fi.sp 1.ipThis tells Sun's dynamic loader that shared librariesare to be searched for in these directories. It worksjust like the Unix which(1) command..ipIf your system did not have the XView shared librariesalready then you might set LD_LIBRARY_PATH to use theshared XView libraries that we ship in $ESPS_BASE/lib :.sp 1.nf setenv LD_LIBRARY_PATH $ESPS_BASE/lib/:usr/lib/X11:/usr/lib.fi.sh 2 "ESPS Compilation Environment".ppThe ESPS install script creates several programs to aid users who writetheir own programs using the ESPS library. \fIecc\fR invokes the Ccompiler with the correct options to cause the ESPS include files andlibrary to be searched. It can be used in cases where you wouldnormally use the \fIcc\fR command. Additional \fIcc\fR options can bespecified with \fIecc\fR. The program \fIemake\fR calls make with thecorrect environment defined. For more information on this, seereference [1] and the \fIemake\fR manual page. A prototype makefilesuitable for use with \fIemake\fR is in the ESPS \fIlib\fR directory..sh 2 "Hardcopy Plotting".ppAs distributed, the ESPS plot programs (except for \fIimage\fR and\fIplotsgram\fR) assume a Tektronix compatible printer when the\fB-Thardcopy\fR option is used. Imagen laser printers are an exampleof Tektronix compatible printers. To use the ESPS plot commands withany other type of printer or plotter, you must provide a program thattranslates Tektronix codes into what your printer needs. We providesuch a program for Postscript. The program is liberally copyrighted by theauthor (not ERL) , and is in the directory \fI$ESPS_BASE/pub/tek2ps\fR..ppTo configure ESPS for another plot device edit the file\fI$ESPS_BASE/bin/esps_plot\fR. This script is called by the plotprograms and passed the Tektronix plot commands on standard input. Youmust add commands here to take these and produce the correct plotcommands for your printer..ppFor a Postscript printer, do the following. First compile and install\fItek2ps\fR. You must have write permission on the ESPS binarydirectory to do the following..nf.ft CW% cd $ESPS_BASE/pub/tek2ps% emake install.fi.ft R.ppThis should compile and install \fItek2ps\fR. Now you need to edit\fI$ESPS_BASE/bin/esps_plot\fR. We cannot tell you the exact command toput in there, since it depends on exactly what command you give on yoursystem to queue postscript output to your printer. But the line in thefile with \fItek2ps\fR on it, is probably close. The line you want in there is one that will pass the standard inputthrough \fItek2ps\fR and then queue the result to your Postscriptprinter. Be sure to delete orcomment out the existing command for Imagen printers. (Ignore thewarning about not editing this file. This is a holdover from a previousversion of the system.).ppNote that \fIimage\fR (and \fIplotsgram\fR, since it just calls \fIimage\fR)can internally produce Postcript. However, you may have to edit the shell script \fIplotsgram\fR in\fI$ESPS_BASE/bin\fR to change the name of the spool program to what iscorrect for your system. Change the line that begins with\fBPS_SPOOL_CMD\fR. See the manual page for details..sh 1 "In Case of Difficulty".ppIf you have questions about the installation processplease call Entropic for help..sp.TSbox,center,tab(;);l | l.Entropic Research Laboratory, Inc.;Voice: 202 547-1420600 Pa. Ave. SE, Suite 202;FAX: 202 546-6648Washington, DC. 20003 USA;Email: esps@wrl.epi.com (uunet!epiwrl!esps).TE
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?