Groups > WordPerfect Office > WordPerfect for Linux > Re: WP8.2 and Xandros Desktop 4.1 Professional




WP8.2 and Xandros Desktop 4.1 Professional

WP8.2 and Xandros Desktop 4.1 Professional
Tue, 26 Jun 2007 10:52:23 -040
I have been able install and get WP8.2 to work as follows:

1. Doing a normal installation from the CD

2. Installing "libc5" from Xandros Networks (which added the following

entries automatically to /etc/ld.so.conf: /usr/lib/libc5-compat, 
/lib/libc5-compat and /usr/i486-linuxlibc1/lib)

3. Using the following steps from Leon Goldstein's post:

"2.  Edit /etc/ld.so.conf.d/qt-i386.conf and add: /usr/lib/wp8/wpbin
3.  Run ldconfig (This and the previous step tell WP8's executable where 
to find libm.so.5 and libc.so.5, which are installed along with the 
program.)
4.  Create symlink ld-linux.so.1 to /lib/ld.2.5.so   (This step turned 
out to be "The missing link.")
5.  Copy or symlink /usr/share/X11/locale to /usr/X11R6/lib/X11/locale"

I was not able to follow the other steps from 6. in his list because 
"type1inst" does not seem to exist on my computer.

Although WP now runs (and prints) there are a number of issues which I 
would be grateful to know if there is a solution for:

1. It is not possible to use the backspace key, delete key, arrow keys 
in dialog boxes (eg to open a file, I can type the name of the file in 
the "Current Selection" box, but if I make a mistake and wish to
correct 
one or more characters I cannot).

2. When making changes to the preferences under the control window I 
keep getting an error message that "File not found .wprc/.wp8x.set", 
although both the directory and the file do exist in my home directory 
(as well as the other files which should be in the folder (and the file 
permissions seem correct as well).

3. Occasionally the WP locks up and locks up the computer completely, 
needing a hard reset. I have not been able to determine the reason for 
this yet.

Victor Warner
Post Reply
Re: WP8.2 and Xandros Desktop 4.1 Professional
Tue, 26 Jun 2007 13:01:23 -040
Victor Warner wrote:
> 
> I have been able install and get WP8.2 to work as follows:
> 
> 1. Doing a normal installation from the CD
> 
> 2. Installing "libc5" from Xandros Networks (which added the
following 
> entries automatically to /etc/ld.so.conf: /usr/lib/libc5-compat, 
> /lib/libc5-compat and /usr/i486-linuxlibc1/lib)
> 
> 3. Using the following steps from Leon Goldstein's post:
> 
> "2.  Edit /etc/ld.so.conf.d/qt-i386.conf and add: /usr/lib/wp8/wpbin
> 3.  Run ldconfig (This and the previous step tell WP8's executable where 
> to find libm.so.5 and libc.so.5, which are installed along with the 
> program.)
> 4.  Create symlink ld-linux.so.1 to /lib/ld.2.5.so   (This step turned 
> out to be "The missing link.")

The above two steps would have no effect on WP 8.2 (which defaults to 
/usr/wplinux)  and does not have libm.so.5 and libc.so.5 in its ~/wpbin 
directory.

> 5.  Copy or symlink /usr/share/X11/locale to
/usr/X11R6/lib/X11/locale"

This is probably the step that has effect.

> 
> I was not able to follow the other steps from 6. in his list because 
> "type1inst" does not seem to exist on my computer.
> 
> Although WP now runs (and prints) there are a number of issues which I 
> would be grateful to know if there is a solution for:
> 
> 1. It is not possible to use the backspace key, delete key, arrow keys 
> in dialog boxes (eg to open a file, I can type the name of the file in 
> the "Current Selection" box, but if I make a mistake and wish to
correct 
> one or more characters I cannot).
> 
> 2. When making changes to the preferences under the control window I 
> keep getting an error message that "File not found
.wprc/.wp8x.set", 
> although both the directory and the file do exist in my home directory 
> (as well as the other files which should be in the folder (and the file 
> permissions seem correct as well).
> 
> 3. Occasionally the WP locks up and locks up the computer completely, 
> needing a hard reset. I have not been able to determine the reason for 
> this yet.
> 
> Victor Warner
> 

Victor: see JRT's post from February (Item ); there are some adjustments 
needed to work with the new X system.  I've copied JRT's post for 
convenience.

 >
 > I have installed WP8.1 on Fc6.  It works and prints.


 > 4.  Create symlink ld-linux.so.1 to /lib/ld.2.5.so   (This step 
turned out to be "The missing link.")


This is interesting.  The version 6 loader works to load the version 5 
libraries.  Never would have thought that that would work.

 > 5.  Copy or symlink /usr/share/X11/locale to /usr/X11R6/lib/X11/locale


Not sure what this does, but I created the "/usr/share/X11/" folder
and 
added the link to it.

 > 6.  Copy type1inst to /usr/bin.  (This is a perl script and seems to 
be oblivious to the distro; I tar'd the Libranet Deb.)


You don't need to use type1install any more with new versions of X11R7.

You can:

     mkfontscale -e /usr/X11R6/lib/X11/fonts/encodings -f 90

     mkfontdir -e /usr/X11R6/lib/X11/fonts/encodings

{Your: "encodings" path might be different"}

This doesn't make a "Fontmap" file.  I use a script to do this: txfm.

This script has dependencies!!  You need to install some font utilities 
packages to use it.

Actually I use: "install-fonts" to do the whole job.

If you use odd fonts, you will find a bug in "mkfontscale" as shipped

with X.org because they haven't applied my patch like XFree86 has.

IAC, your rather strange fix works and WP-8.1 for Linux now prints.

Many thanks.

Did you turn this up somewhere or did you think of this?

-- 
JRT



#!/bin/bash

echo "" > $PWD/Fontmap

for file in $PWD/*
do
if [ -f "$file" ]; then

         if [ -f f_o_n_t.pfa ]; then
     	rm -f f_o_n_t.pfa
         fi

         font=`basename $file .ttf`
         if [ -f $font.ttf ]; then
     	    echo -n "font = "$font.ttf"     "
	    fontline=`ttf2pt1 -GA -l adobestd -b -p ttf $font.ttf - 2>/dev/null 
|grep FontName`
	    fontname=`echo $fontline 2>/dev/null  |  sed -e 's/FontName* //'`
	    echo "fontname = "$fontname
	    fontname="/$fontname"
	    echo $fontname"	($font.ttf) ;" >> $PWD/Fontmap
         fi

         font=`basename $file .pfa`
         if [ -f $font.pfa ]; then
     	    echo -n "font = "$font.pfa"     "
    	    fontline=`cat $font.pfa 2>/dev/null  |grep FontName`
     	    fontname=`echo $fontline 2>/dev/null  | sed -e 's/\/FontName* 
//' | sed 's/ def//'`
	    echo $fontname"	($font.pfa) ;" >> $PWD/Fontmap
	    fontname=`echo $fontname 2>/dev/null | sed -e 's/\/*//'`
	    echo "fontname = "$fontname
         fi

         font=`basename $file .pfb`
         if [ -f $font.pfb ]; then
	    pfb2pfa $font.pfb
	    mv $font.pfa f_o_n_t.pfa
	    echo -n "font = "$font.pfb"     "
	    fontline=`cat f_o_n_t.pfa 2>/dev/null  |grep FontName`
     	    fontname=`echo $fontline 2>/dev/null  | sed -e 's/\/FontName* 
//' | sed 's/ def//'`
	    echo $fontname"	($font.pfb) ;" >> $PWD/Fontmap
	    fontname=`echo $fontname 2>/dev/null | sed -e 's/\/*//'`
	    echo "fontname = "$fontname
         fi

         if [ -f f_o_n_t.pfa ]; then
	    rm -f f_o_n_t.pfa
         fi
fi

done

echo "" >> $PWD/Fontmap

if [ -f f_o_n_t.pfa ]; then
     rm -f f_o_n_t.pfa
fi



#! /bin/bash
echo ""
echo "MAKING fonts.scale"
mkfontscale -e /usr/X11R6/lib/X11/fonts/encodings -f 90
echo ""
echo "MAKING fonts.dir"
mkfontdir -e /usr/X11R6/lib/X11/fonts/encodings
echo ""
echo "MAKING Fontmap"
echo ""
txfm
echo ""
echo "DONE"
echo ""
exit







-- 
Leon A. Goldstein

Powered by Libranet 2.8.1 Debian Linux
System G2

Post Reply
about | contact