home *** CD-ROM | disk | FTP | other *** search
/ Caldera Network Desktop 1.0 / caldera-network-desktop-1.0.bin / doc / HOWTO / mini / WordPerfect < prev    next >
Text File  |  1995-05-20  |  9KB  |  286 lines

  1. WP Setup 
  2. *********
  3. Wade Hampton (tasi029@tmn.com)
  4.  
  5. Document:  wpsetup.html     Doc #:    xx-WH-00001    
  6. Author:    Wade Hampton     Date:     5/17/1995
  7. Subject:   WP on Linux      Version:  0.1
  8.  
  9. (Collected from experience and various mails on the Internet) 
  10.  
  11. Summary:
  12. ========
  13.  
  14. This document contains my notes on setting up WordPerfect 6.0 for SCO on Linux.
  15. This installation was for the DYNAMIC linked version. Also included is a section on
  16. setting up the demo.... 
  17.  
  18. I have been running WP 5.1 for SCO (which was statically linked) since January. I
  19. recently got WP 6.0 for SCO (dynamic linked) and was able to install it with some
  20. pain. I subsequently have had some problems with the license manager. I have it
  21. running under 1.2.8. 
  22.  
  23. Requirements:
  24. =============
  25.  
  26.  o Linux 1.1.x to 1.2.x 
  27.  o modules (dynamic module loading software) 
  28.  o iBCS2 (Intel BCS2 and ELF loader module) 
  29.  o SCO dynamic libs (if required) 
  30.  o Domainname should be setup 
  31.  o Hostname should be setup and be less than 8 characters (localhost is 9) 
  32.  
  33. Kernel:
  34. =======
  35.  
  36. The kernel should be setup for module support and ELF support. If you have already
  37. done this, skip this step, else, do the following as root: 
  38.  
  39.  o Load kernel in /usr/src/linux[.xxx] and make sure that the symbolic link to the
  40.    /usr/include/linux and /usr/include/asm directories are setup (see
  41.    /usr/src/linux/README). 
  42.  o Build module support and install it (see below) 
  43.  o Build iBCS2 module and install it (see below) 
  44.  o Build kernel with module and ELF support (answer Y to BINFMT_ELF and
  45.    MOD_VERSIONS) 
  46.  o Reboot on new kernel 
  47.  o Note: you have to build the module support file "genksyms" PRIOR to making
  48.    your new kernel (telling the kernel to export symbols:
  49.    CONFIG_MODVERSIONS=y). 
  50.  
  51. Modules:
  52. ========
  53.  
  54. Loadable module support is required for iBCS2 and hence to run WP 6.0. Get the
  55. latest from the ftp sites, build it, and install it. If you have already setup your system
  56. for loadable modules, skip this step. Loadable module support (/sbin/insmod,
  57. /sbin/rmmod, /sbin/lsmod) is required. With recent kernels, genksyms is also
  58. required. 
  59.  
  60.  o File: modules-1.1.87.tar.gz (or latest) 
  61.  o Put tar file in /usr/src/modules and build module support 
  62.  o Read the README in /usr/src/modules (or wherever you put it) 
  63.  o Cd to /usr/src/modules/genksyms and make genksysms, install it in
  64.    /usr/local/bin (or /sbin) 
  65.  
  66. iBCS2 emulator:
  67. ===============
  68.  
  69. The iBCS2 emulator allows you to run SCO binaries such as WordPerfect 6.0. Get
  70. the latest from the ftp sites, build it, and install it. 
  71.  
  72.  o Build and install in /usr/lib/modules 
  73.  o Read the HINTS file (/usr/src/ibcs/Doc/HINTS) 
  74.  o Make sure that iBCS2 sets up /dev/XOR, if not, create a symbolic link from
  75.    /dev/null to /dev/XOR (cd /dev; ln -s /dev/null /dev/XOR) 
  76.  
  77. The interfaces to some subsystems occur at the device layer and thus you need to
  78. create some device files in order to use them: 
  79.  
  80.         * /dev/socksys and /dev/nfsd - interface for SVr3 STREAMS based
  81.           TCP/IP applications
  82.  
  83.           # mknod /dev/socksys c 30 0
  84.           # ln -s /dev/socksys /dev/nfsd
  85.  
  86.         [WARNING:  the below may already be setup as /dev/inet, 
  87.          /dev/arp, etc., they may have other major/minor numbers,
  88.          if so, skip this step]
  89.  
  90.         * /dev/inet/{arp,icmp,ip,rip,tcp,udp} - more network hooks
  91.  
  92.           # mknod /dev/inet/arp c 30 2
  93.           # mknod /dev/inet/icmp c 30 2
  94.           # mknod /dev/inet/ip c 30 2
  95.           # mknod /dev/inet/rip c 30 2
  96.           # mknod /dev/inet/tcp c 30 2
  97.           # mknod /dev/inet/udp c 30 2
  98.  
  99.         [THIS IS REQUIRED AND WILL USUALLY HAVE TO BE DONE MANUALLY!]
  100.         * /dev/X0R - server side of SVR3 local X interface
  101.           (see comments in Doc/Local-X)
  102.  
  103.           # ln -s /dev/null /dev/X0R
  104.  
  105.         * /dev/spx - client side of SVR3 local X interface
  106.           (see comments in Doc/Local-X)
  107.  
  108.           # mknod /dev/spx c 30 1
  109.  
  110. SCO Shared Libraries:
  111. =====================
  112.  
  113. DO NOT VIOLATE SCO's COPYRIGHTS! You should get a copy of SCO's shared
  114. libraries and install them in /shlib. As root: 
  115.  
  116.  o cd /; mkdev /shlib; chmod 755 /shlib 
  117.  o if required, make a temporary directory and set TMPDIR to it (export
  118.    TMPDIR=/mytmpdir) 
  119.  o Copy the following SCO shared libraries from the SCO machine to Linux and
  120.    put in /shlib: 
  121.     o /shlib/libX11R5_s 
  122.     o /shlib/libXtXm* 
  123.  
  124. Loading WP60:
  125. =============
  126.  
  127. Make sure that you have LOTS of space in your /tmp directory. If you do not have
  128. lots of space, make a tmp directory and set the environment variable TMPDIR to it.
  129. As root first try the following: 
  130.  
  131.  o Mount the CD (e.g., to /cdrom) 
  132.  o cd to the CDROM and run the ./install script 
  133.  
  134. If you get the following error you may not have enough space in your /tmp directory,
  135. make a new tmp directory and set the environment variable TMPDIR (see above): 
  136.  
  137.  
  138.   ERROR:  not enough space in /tmp, or this is an unsupported machine.
  139.  
  140.  
  141. If all else fails, you may have to do it manually per these notes: 
  142.  
  143.  o get iBCS2 runing 
  144.  o copy the $WPDIR/cdrom/install.wp to $WPDIR and edit it [I changed it so I
  145.    could create /tmp/WpTmP on an NFS server (did not have the space locally). I
  146.    then ran the program and made changes until I got it to startup.] 
  147.  o change to TMPDIR and run: ifiles/cdlink.sco -r /usr/local/wp60/cdrom This
  148.    builds links with the proper names but the permissions are not set properly. 
  149.  o make a temp directory on the server and copy all files to it: cp -r
  150.    WpTmP/wp60/SCO/* wp60 
  151.  o change to the temp wp60 directory and changed permissions. cd wp60; chmod
  152.    555 wpinstall install/* 
  153.  o run the wpinstall program and answered the questions. 
  154.  o Because I still have the flexlm license manager for WP51 on the sytem, I had
  155.    to manually run wplicense -e and create a new license.dat. 
  156.  o Start WP60.... 
  157.  
  158. License Manager:
  159. ================
  160.  
  161. WordPerfect uses a license manager (see the manuals). This is a tricky beast that
  162. sometimes does not work properly under Linux (I have had it fail, done something
  163. else then I was able to start it). If you have problems call WordPerfect and they can
  164. assist you. Please RTFM the documentation section on the license manager. 
  165.  
  166. To start the license manager, as root: 
  167.  
  168.  o cd $WPDIR/shbin10 
  169.  o ./wplicense -s 
  170.  
  171. Starting WP60:
  172. ==============
  173.  
  174.  o start iBCS2 
  175.  o start the license manager 
  176.  o setup your DISPLAY environment variable (e.g., export DISPLAY=gator:0) 
  177.  o run xwp ($WPDIR/wpbin/xwp <filename.wpf> &) 
  178.  
  179. If you get the errors: 
  180.  
  181.   /dev/XOR: No such file or directory
  182.   Error: Can't open display: :0.0
  183.  
  184. You need to set up your DISPLAY environment variable (per above) and possibly
  185. setup the link to the device /dev/XOR (cd /dev; ln -s /dev/null /dev/XOR). 
  186.  
  187. Note if WP "steals" the colors from your X server (a problem if the depth is only 256
  188. colors), disable the display of the graphics banner page by doing the following: 
  189.  
  190.  o Start XWP 
  191.  o From the control window, click on Preferences 
  192.  o from the Preferences window, select ENVIRONMENT 
  193.  o From the ENVIRONMENT window, turn off the checkbox for "Graphical
  194.    Banner and Startup Screen" 
  195.  
  196. RC Scripts:
  197. ===========
  198.  
  199. You will need to add a line to your /etc/rc.d/rc.local script (or similar) to start iBCS2
  200. and the WP license manager (if desired). 
  201.  
  202.  o /sbin/insmod /usr/lib/modules/iBCS & 
  203.  o $WPDIR/shbin10/wplicense -s & 
  204.  
  205. Setting up the DEMO:
  206. ====================
  207.  
  208. As I had the complete package, I never setup the demo.... 
  209.  
  210.  o TBD 
  211.  
  212. Changes to install.wp reported to work:
  213. =======================================
  214.  
  215. (From: Wade Hampton, tasi029@tmn.com): 
  216.  
  217. The install.wp on the CDROM did not work out of the box. I had to modify it to get it
  218. to work by moving all files to a temporary directory and changing this install script.
  219. The changes are: 
  220.  
  221. 48c48,49
  222. <       mkdir $LNK_DIR 2> /dev/null
  223. ---
  224. > echo making LNK_DIR=$LNK_DIR
  225. >       mkdir $LNK_DIR 
  226. 51c52
  227. ---
  228. > echo removing /tmp/TMPTMP
  229. 53a55,57
  230. > echo /tmp/TMPTMP=
  231. > cat /tmp/TMPTMP
  232. > echo /tmp/TMPTMP -- to here
  233. 62,63c66,83
  234. <       for i in $myfiles
  235. <       do
  236. ---
  237. > echo MYFILES=$myfiles  THISDIR=$thisdir
  238. > ls $myfiles
  239. > echo making LNK_DIR=$LNK_DIR/ifiles
  240. > mkdir $LNK_DIR/ifiles
  241. > chmod 777 $LNK_DIR/ifiles
  242. > cp $thisdir/ifiles/* $LNK_DIR/ifiles
  243. > chmod 777 $LNK_DIR/ifiles/*
  244. > ls -l $LNK_DIR/ifiles
  245. > #echo making links....
  246. > #$LNK_DIR/ifiles/cdlink.sco -r $thisdir
  247. > #echo links should be done...
  248. > #exit
  249. > #     for i in $myfiles
  250. >         i=$thisdir/ifiles/cdlink.sco
  251. > #     do
  252. 65a86,87
  253. > echo /tmp/TMP=
  254. > cat /tmp/TMP
  255. 73c95
  256. <                       rm -f /tmp/TMPTMP
  257. ---
  258. >               rm -f /tmp/TMPTMP
  259. 77c99
  260. <       done
  261. ---
  262. > #     done
  263. 368a391,394
  264. > echo THISDIR=$thisdir
  265. > thisdir=/usr/local/wp60/cdrom
  266. > echo THISDIR=$thisdir
  267. 469a496,498
  268. > echo INIT DONE, THISDIR=$thisdir
  269. > ls $thisdir/ifiles/cdinst.*
  270. 493a523,526
  271. > echo RUN_ME=$RUN_ME
  272. > RUN_ME=$thisdir/ifiles/cdinst.sco
  273. > echo RUN_ME=$RUN_ME
  274.  
  275.  
  276.     Go Back 
  277.  
  278.  
  279.