From: Wade Hampton <tasi...@tmn.com> Subject: Linux WordPerfect mini-HOWTO (part 1/1) Date: 1995/11/30 Message-ID: <WordPerfect.1-8980.817771970@cc.gatech.edu> X-Deja-AN: 120595369 sender: gr...@cc.gatech.edu followup-to: poster summary: How to set up SCO WordPerfect for Linux organization: Linux HOWTO Project keywords: SCO, iBCS, WordPerfect newsgroups: comp.os.linux.setup,comp.os.linux.answers nntp-posting-user: gregh Archive-name: linux/howto/mini/wordperfect Last-modified: 20 May 95 -----BEGIN PGP SIGNED MESSAGE----- *** The `Linux WordPerfect mini-HOWTO' is posted automatically by the *** Linux HOWTO coordinator, Greg Hankins <gr...@sunsite.unc.edu>. Please *** direct any comments or questions about this HOWTO to the author, *** Wade Hampton <tasi...@tmn.com>. - --- BEGIN Linux WordPerfect mini-HOWTO part 1/1 --- WP Setup ********* Wade Hampton (tasi...@tmn.com) Document: wpsetup.html Doc #: xx-WH-00001 Author: Wade Hampton Date: 5/17/1995 Subject: WP on Linux Version: 0.1 (Collected from experience and various mails on the Internet) Summary: ======== This document contains my notes on setting up WordPerfect 6.0 for SCO on Linux. This installation was for the DYNAMIC linked version. Also included is a section on setting up the demo.... I have been running WP 5.1 for SCO (which was statically linked) since January. I recently got WP 6.0 for SCO (dynamic linked) and was able to install it with some pain. I subsequently have had some problems with the license manager. I have it running under 1.2.8. Requirements: ============= o Linux 1.1.x to 1.2.x o modules (dynamic module loading software) o iBCS2 (Intel BCS2 and ELF loader module) o SCO dynamic libs (if required) o Domainname should be setup o Hostname should be setup and be less than 8 characters (localhost is 9) Kernel: ======= The kernel should be setup for module support and ELF support. If you have already done this, skip this step, else, do the following as root: o Load kernel in /usr/src/linux[.xxx] and make sure that the symbolic link to the /usr/include/linux and /usr/include/asm directories are setup (see /usr/src/linux/README). o Build module support and install it (see below) o Build iBCS2 module and install it (see below) o Build kernel with module and ELF support (answer Y to BINFMT_ELF and MOD_VERSIONS) o Reboot on new kernel o Note: you have to build the module support file "genksyms" PRIOR to making your new kernel (telling the kernel to export symbols: CONFIG_MODVERSIONS=y). Modules: ======== Loadable module support is required for iBCS2 and hence to run WP 6.0. Get the latest from the ftp sites, build it, and install it. If you have already setup your system for loadable modules, skip this step. Loadable module support (/sbin/insmod, /sbin/rmmod, /sbin/lsmod) is required. With recent kernels, genksyms is also required. o File: modules-1.1.87.tar.gz (or latest) o Put tar file in /usr/src/modules and build module support o Read the README in /usr/src/modules (or wherever you put it) o Cd to /usr/src/modules/genksyms and make genksysms, install it in /usr/local/bin (or /sbin) iBCS2 emulator: =============== The iBCS2 emulator allows you to run SCO binaries such as WordPerfect 6.0. Get the latest from the ftp sites, build it, and install it. o Build and install in /usr/lib/modules o Read the HINTS file (/usr/src/ibcs/Doc/HINTS) o Make sure that iBCS2 sets up /dev/XOR, if not, create a symbolic link from /dev/null to /dev/XOR (cd /dev; ln -s /dev/null /dev/XOR) The interfaces to some subsystems occur at the device layer and thus you need to create some device files in order to use them: * /dev/socksys and /dev/nfsd - interface for SVr3 STREAMS based TCP/IP applications # mknod /dev/socksys c 30 0 # ln -s /dev/socksys /dev/nfsd [WARNING: the below may already be setup as /dev/inet, /dev/arp, etc., they may have other major/minor numbers, if so, skip this step] * /dev/inet/{arp,icmp,ip,rip,tcp,udp} - more network hooks # mknod /dev/inet/arp c 30 2 # mknod /dev/inet/icmp c 30 2 # mknod /dev/inet/ip c 30 2 # mknod /dev/inet/rip c 30 2 # mknod /dev/inet/tcp c 30 2 # mknod /dev/inet/udp c 30 2 [THIS IS REQUIRED AND WILL USUALLY HAVE TO BE DONE MANUALLY!] * /dev/X0R - server side of SVR3 local X interface (see comments in Doc/Local-X) # ln -s /dev/null /dev/X0R * /dev/spx - client side of SVR3 local X interface (see comments in Doc/Local-X) # mknod /dev/spx c 30 1 SCO Shared Libraries: ===================== DO NOT VIOLATE SCO's COPYRIGHTS! You should get a copy of SCO's shared libraries and install them in /shlib. As root: o cd /; mkdev /shlib; chmod 755 /shlib o if required, make a temporary directory and set TMPDIR to it (export TMPDIR=/mytmpdir) o Copy the following SCO shared libraries from the SCO machine to Linux and put in /shlib: o /shlib/libX11R5_s o /shlib/libXtXm* Loading WP60: ============= Make sure that you have LOTS of space in your /tmp directory. If you do not have lots of space, make a tmp directory and set the environment variable TMPDIR to it. As root first try the following: o Mount the CD (e.g., to /cdrom) o cd to the CDROM and run the ./install script If you get the following error you may not have enough space in your /tmp directory, make a new tmp directory and set the environment variable TMPDIR (see above): ERROR: not enough space in /tmp, or this is an unsupported machine. If all else fails, you may have to do it manually per these notes: o get iBCS2 runing o copy the $WPDIR/cdrom/install.wp to $WPDIR and edit it [I changed it so I could create /tmp/WpTmP on an NFS server (did not have the space locally). I then ran the program and made changes until I got it to startup.] o change to TMPDIR and run: ifiles/cdlink.sco -r /usr/local/wp60/cdrom This builds links with the proper names but the permissions are not set properly. o make a temp directory on the server and copy all files to it: cp -r WpTmP/wp60/SCO/* wp60 o change to the temp wp60 directory and changed permissions. cd wp60; chmod 555 wpinstall install/* o run the wpinstall program and answered the questions. o Because I still have the flexlm license manager for WP51 on the sytem, I had to manually run wplicense -e and create a new license.dat. o Start WP60.... License Manager: ================ WordPerfect uses a license manager (see the manuals). This is a tricky beast that sometimes does not work properly under Linux (I have had it fail, done something else then I was able to start it). If you have problems call WordPerfect and they can assist you. Please RTFM the documentation section on the license manager. To start the license manager, as root: o cd $WPDIR/shbin10 o ./wplicense -s Starting WP60: ============== o start iBCS2 o start the license manager o setup your DISPLAY environment variable (e.g., export DISPLAY=gator:0) o run xwp ($WPDIR/wpbin/xwp <filename.wpf> &) If you get the errors: /dev/XOR: No such file or directory Error: Can't open display: :0.0 You need to set up your DISPLAY environment variable (per above) and possibly setup the link to the device /dev/XOR (cd /dev; ln -s /dev/null /dev/XOR). Note if WP "steals" the colors from your X server (a problem if the depth is only 256 colors), disable the display of the graphics banner page by doing the following: o Start XWP o From the control window, click on Preferences o from the Preferences window, select ENVIRONMENT o From the ENVIRONMENT window, turn off the checkbox for "Graphical Banner and Startup Screen" RC Scripts: =========== You will need to add a line to your /etc/rc.d/rc.local script (or similar) to start iBCS2 and the WP license manager (if desired). o /sbin/insmod /usr/lib/modules/iBCS & o $WPDIR/shbin10/wplicense -s & Setting up the DEMO: ==================== As I had the complete package, I never setup the demo.... o TBD Changes to install.wp reported to work: ======================================= (From: Wade Hampton, tasi...@tmn.com): The install.wp on the CDROM did not work out of the box. I had to modify it to get it to work by moving all files to a temporary directory and changing this install script. The changes are: 48c48,49 < mkdir $LNK_DIR 2> /dev/null - --- > echo making LNK_DIR=$LNK_DIR > mkdir $LNK_DIR 51c52 < - --- > echo removing /tmp/TMPTMP 53a55,57 > echo /tmp/TMPTMP= > cat /tmp/TMPTMP > echo /tmp/TMPTMP -- to here 62,63c66,83 < for i in $myfiles < do - --- > echo MYFILES=$myfiles THISDIR=$thisdir > ls $myfiles > echo making LNK_DIR=$LNK_DIR/ifiles > mkdir $LNK_DIR/ifiles > chmod 777 $LNK_DIR/ifiles > cp $thisdir/ifiles/* $LNK_DIR/ifiles > chmod 777 $LNK_DIR/ifiles/* > ls -l $LNK_DIR/ifiles > > #echo making links.... > #$LNK_DIR/ifiles/cdlink.sco -r $thisdir > #echo links should be done... > #exit > > > # for i in $myfiles > i=$thisdir/ifiles/cdlink.sco > # do 65a86,87 > echo /tmp/TMP= > cat /tmp/TMP 73c95 < rm -f /tmp/TMPTMP - --- > rm -f /tmp/TMPTMP 77c99 < done - --- > # done 368a391,394 > echo THISDIR=$thisdir > thisdir=/usr/local/wp60/cdrom > echo THISDIR=$thisdir > 469a496,498 > echo INIT DONE, THISDIR=$thisdir > ls $thisdir/ifiles/cdinst.* > 493a523,526 > > echo RUN_ME=$RUN_ME > RUN_ME=$thisdir/ifiles/cdinst.sco > echo RUN_ME=$RUN_ME Go Back - --- END Linux WordPerfect mini-HOWTO part 1/1 --- -----BEGIN PGP SIGNATURE----- Version: 2.6.2 Comment: finger gr...@cc.gatech.edu for public key iQCVAwUBML41tHtNTo2suu5NAQF9SwP+LKGrE11SFLvSpkDM5Uds4oTyN0Th3WkP bNXuCoRMtv2hgbEQpZ7TURNYUxNuGW44/GBKgY+y6YKh3chVlSBxNPjNoeX+QRMx XIXtke68TeFCLkJnDX1FbbDZXoZBIf4d8ndg+3iJjnEpD8SJCdHuBuUdhdHfm810 1Le690C7AN4= =Onmn -----END PGP SIGNATURE-----