BBS水木清华站∶精华区

发信人: xinf (信封), 信区: Unix 
标  题: SGI Installation Problems(转载) 
发信站: BBS 水木清华站 (Mon Sep 27 11:13:07 1999) WWW-POST 
 
本人在安装一些sgi软件时,出现的一些问题发现在freeware.sgi.com中都有解答,在这 
里将其Installation Problems转载如下: 
Q1.1: How do I install a package on IRIX?  
Open source comes in .tardist extension files. tardist files are tar archives  
of inst (SGI auto-install) files. They normally install automatically when  
you click on them in your browser. If you have an old IRIX system (6.2) or  
you didn't have auto-installation configured in your browser this  
auto-installation may fail to work in which case you may follow the following  
manual procedure: 
    % tar xvf xxxx.tardist (untar that tardist file) 
    % su (become superuser) 
    # inst -f . (install from current dir) 
    inst> go 
    inst> quit 
 
Automating this process: 
The utility tardist does all the above automatically. If you don't have it  
you may download it from: 
        http://www.sgi.com/Support/patch_down.html 
 
To configure your browser to support auto-install (i.e. calling tardist or  
SoftwareManager automatically when you click on a .tardist file on the web)  
you should have two entries added to your mailcap file (either your personal  
~/.mailcap or the system one /var/netscape/.../mailcap or /usr/local/.../mailc 
ap or equivalent) depending on your browser version. 
  application/x-install; \ 
/usr/sbin/SoftwareManager -a -F %s ; \ 
description="SGI automatic software installation" 
  application/x-tardist; \ 
/usr/sbin/SoftwareManager -a -f %s ; \ 
description="SGI software distribution archive" 
All this should work out of the box on recent IRIX releases. It is just on  
older IRIX systems (6.2) that you may need to go through the manual  
procedure.  
 
Q1.2: I can't view the man pages...  
All packages come with the full original documentation if it exists. However  
they are configured to install their man pages under /usr/freeware/... which  
is a non-standard location to search for man pages. To make this work, you  
must tell the man program to search there.  
You may do it either by setting MANPATH using something like:  
  % setenv MANPATH /usr/freeware/catman:/usr/freeware/man:/usr/catman/local:/u 
sr/local/man:/usr/share/catman:/usr/share/man:/usr/catman:/usr/man 
(note the added /usr/freeware/catman location).  
Or simply follow the instructions on the SGI Freeware web page which  
recommend running the utility fixpath. fixpath is included with every package  
as fw_common.sw.fixpath. You should run fixpath only once to update your  
personal startup files. Once you run fixpath you should re-login for it to  
take effect (or directly execute your fixed startup files (e.g: source  
~/.cshrc)) from your shell.  
 
Q1.3: packages (like XEmacs 20.4) are too big to download...  
HTTP implementations seem to time out and fail on slow links and big files.  
The symptom is getting a timeout or some error message like "premature EOF"  
from Software Manager during the unpacking of the tardist file.  
A good solution is to use FTP instead of HTTP.  
You may access SGI/freeware via FTP using any of the following methods:  
昒se ftp://freeware.sgi.com/index.html instead of http://freeware.sgi.com/  
 
昒se an FTP client to connect to freeware.sgi.com where the whole content of  
the web site is available via ftp.  
旵lick on the Switch to FTP link in the top level web page to switch your  
browser to the FTP protocol during your visit to the SGI/Freeware site.  
 
Q1.4: While installing [old-package] I get this error:  
    /bin/sh: \//usr/freeware/relnotes/shared/mkindex.sh:  not found 
    ERROR: Command "( \\$rbase/usr/freeware/relnotes/shared/mkindex.sh )" 
    failed (return status 127, subsystem XXXXX.man.relnotes 1022574820) 
You may safely ignore this message. This is an old package (from Freeware  
release 6.2). Some of these old packages were not re-packaged for the current  
Freeware release. Instead, they were simply recycled "as-is". The error is  
benign and is a result of a typo in the exitop. The software itself should  
run fine.  
 
Q1.5: I'm getting "missing prereqs" when installing on IRIX 6.2  
Most likely, you're missing n32 libraries. Many of these are not installed by  
default on IRIX 6.2 (later IRIX versions should be OK). For example, in the  
case of XEmacs, if you get an error message like: 
  Install Base Execution Libraries (N32) (1232792133 - 1239999900) 
  (not on current distribution). 
This means you should install compiler_eoe.sw32.lib -- it should be on your  
distribution CDs.  
The other suggested resolutions boil down to "upgrade to a newer version of  
IRIX", which is probably overkill (But still a good idea! :-)  
 
Q1.6: Can I install freeware in a different directory?  
 
This question is often being asked by people who don't have superuser  
permissions and/or they sysadmin disabled tardist on their system so they  
cannot install into /usr/freeware via the web, or similar. Unfortunately, the  
answer to this is no. Many packages are preconfigured to look for files in  
certain directories so moving them will simply break them. While some  
packages may not be sensitive to locations we simply don't have the resources  
to support such feature by creating alternate distributions.  
 
 
------------------------------------------------------------------------ 
 
 
 
 
 
-- 
※ 来源:·BBS 水木清华站 bbs.net.tsinghua.edu.cn·[FROM: 166.111.72.3]  

BBS水木清华站∶精华区