Re: StarOffice 5 and Potato - Solution

1999-05-06 Thread Wim Kerkhoff



Great, it works now. Add me to your list of people for whom it works!
The only problem I have know is that on startup, StarOffice pops a dialog
saying
"Error opening document /usr/share/Office50/bin/soffice.bin:
Nonexistent object.
Filter not found."
I click OK, and everthing works fine.
Later,
Wim.


"eric a. Farris" wrote:
See my message posted to the list on Monday; i had
the same problem and
fixed it. Basically you have to do the same thing with xlib6g as you
did
with glib. (that is, extract it from the .deb manually, put it
someplace, add someplace to soffice's LD_LIBRARY_PATH.
Wim Kerkhoff wrote:
>
> Okay, I finally got around to trying your 'receipe'. I picked
up on a few of
> spelling errors, as noted below.
>
> Here are the errors I still get:
>
> SlimeCity:~$ cd Office50/bin/
> SlimeCity:~/Office50/bin$ ./soffice
> /usr/share/Office50/bin/soffice.bin: error in loading shared libraries
> /usr/X11R6/lib/libX11.so.6: undefined symbol: __bzero
> SlimeCity:~/Office50/bin$
>
> Any idea why? Do you know if anyone has made up a howto page
yet?
>
> Wim
> www.canadianhomes.net/wim
> [EMAIL PROTECTED]
> ---
SNIP>
--
eric Farris [EMAIL PROTECTED] www.bigfoot.com/~eafarris
Microcomputer Support Specialist
Academic Computing
Frostburg State University www.frostburg.edu
This message composed in an MFCE (Microsoft Free Computing Environment)
Will work for happiness.
--
Unsubscribe? mail -s unsubscribe [EMAIL PROTECTED]
 /dev/null

--
Wim Kerkhoff
[EMAIL PROTECTED]
www.canadianhomes.net/wim



begin:vcard 
n:Kerkhoff;Wim
tel;fax:604-795-2935
tel;home:604-795-7419
x-mozilla-html:FALSE
url:http://www.canadianhomes.net/wim
adr:;;43810 Chilliwack Mountain Road;Chilliwack;BC;V2R 4A1;Canada
version:2.1
email;internet:[EMAIL PROTECTED]
title:Student
note:http://www.canadianhomes.net/wim
x-mozilla-cpt:;-960
fn:Wim Kerkhoff
end:vcard


Re: StarOffice 5 and Potato - Solution

1999-05-04 Thread Wim Kerkhoff
Okay, I finally got around to trying your 'receipe'.  I picked up on a few of
spelling errors, as noted below.

Here are the errors I still get:

SlimeCity:~$ cd Office50/bin/
SlimeCity:~/Office50/bin$ ./soffice
/usr/share/Office50/bin/soffice.bin: error in loading shared libraries
/usr/X11R6/lib/libX11.so.6: undefined symbol: __bzero
SlimeCity:~/Office50/bin$

Any idea why?  Do you know if anyone has made up a howto page yet?

Wim
www.canadianhomes.net/wim
[EMAIL PROTECTED]
---


Brad wrote:

 That's pretty close to the system i came up with, i was just waiting to
 hear back if it worked for anyone else before i claimed i solved the
 problem ;)

 Let's see... diffs. psetup works for me without patching, did you try
 that? Also, if you put the glibc 2.0 libs into ${StarOffice}/lib you don't
 have to change the packages scripts at all. The extra '/lib/ld-2.0.7.so.2'
 in the very last line to exec the soffice.bin is unnecessary once the
 binary itself is patched to call the correct lib loader, and that fixes
 the system() call to /bin/sh and the error on startup that it can't find
 the file $sd_inst/bin/$sd_binary.

 i think i will write that mini-HOWTO, although it might be a few days
 [weeks] before i can get anything done on it...

 The directions i have currently are attached. Given your post, i think
 they work for at least 2 people. Out of the alpha stage now. Bug reports
 to this address.

 On Mon, 26 Apr 1999, Bernard de Rubinat wrote:

  I got into the same trouble as many people who tried to get staroffice
  5.0(1?) to work with glibc2.1. I also did try many things I have seen, and I
  also had many failures to make it work with most recepes,
  BUT I FINALLY GOT IT TO WORK.
 
  Here is a recipe I made out of my various attemps. I made a simplified
  version of all my attemps, so I may be wrong somewhere, but hopefuly it is
  correct.
 
   1/ mkdir /tmp
   2/ get libc6_2.0.7.*.deb from a debian ftp mirror (slink).
   3/ ar -x libc6_2.0.7.19981211-6.deb
   4/ tar xvzf data.tar.gz
   5/ mkdir /usr/local/glibc2.0
   6/ cp -a lib/* /usr/local/glibc2.0
   7/ ln -s /usr/local/glibc2.0/ld-linux.so.2 /lib/ld-2.0.7.so.2
   8/ cd /full/path/to/Office/lib

^^^
'lib' should be 'bin'


   9a/ mv soffice.bin soffice.bin.orig
   9b/ mv setup.bin setup.bin.orig
   9c/ mv psetup.bin psetup.bin.orig
   10a/ cat soffice.bin.orig |sed -e 
  's#/lib/ld-linux.so.2#/lib/ld-2.0.7.so.2#g' \
 soffice.bin   # this is a single line or use '\'
   10b/ cat setup.bin.orig |sed -e 
  's#/lib/ld-linux.so.2#/lib/ld-2.0.7.so.2#g' \
 setup.bin # this is a single line or use '\'
   10c/ cat psetup.bin.orig |sed -e 
  's#/lib/ld-linux.so.2#/lib/ld-2.0.7.so.2#g' \
 psetup.bin# this is a single line or use '\'
   11/ update the /full/path/to/Office/bin/soffice script
  change :
LD_LIBRARY_PATH=$sd_inst/lib:$LD_LIBRARY_PATH
  into :
LD_LIBRARY_PATH=/usr/local/glibc20/:$sd_inst/lib:$LD_LIBRARY_PATH

^^^
Their should be a '.': glibc2.0


  and change :
exec $sd_inst/bin/$sd_binary $1 $2 $3 $4 $5 $6 $7 $8 
  $9
  into :
/lib/ld-2.0.7.so.2 $sd_inst/bin/$sd_binary $1 $2 $3 $4 $5
  $6 $7 $8 $9
 
  Hope this helps. If this helps, does anyone feel to write a mini-HOWTO?
 
  Best regards,
 
 
  Bernard
 
   --- here is a post not beloging to this list ---
 
  Subject: Star Office with Glibc 2.1 (howto doit and what is broken)
  Date: Wed, 07 Apr 1999 07:27:27 GMT
  From: [EMAIL PROTECTED]
  Newsgroups: stardivision.com.support.misc
 
 
  The instructions have already been posted to this group, but here they are
  again (with more details).
 
  You can get already installed soffice to work by doing the following:
 
  1) cd /full/path/to/Office/lib
  2) tar xfz glibc2.tar.gz
  3) mv glib*/* . ; rmdir glib*
  4) cd ../bin
  5) emacs *.bin
  6) using overwrite mode change /lib/ld-linux.so.2 to /lib/ld-2.0.7.so.2 in
 all binaries
  7) ln -s /full/path/to/Office/lib/ld-linux.so.2 /lib/ld-2.0.7.so.2
 
  After this soffice starts and works as it should.
 
  Unfortunately soffice uses system() call, which execvp /bin/sh, when
  printing (even to file) and thus the printing does not work. I tried to
  patch the libc itself (changed /bin/sh in the library to /old/sh, copied sh,
  cat and lpr to /old and patched them as well. Also soffice starting script
  must be edited.  After this printing to file does not give errors, but
  results to empty file.  Normal printing still tries to exec /usr/bin/lpr for
  some reason).
 
   ---
 
 
  On Fri, Apr 23, 1999 at 08:35 -0400, Christian Lavoie wrote:
On Wed, 21 Apr 1999, Brad wrote:
   
By putting together ideas from a few posts here and in linux-kernel, 
i've
managed to get StarOffice 5.01 working on my Potato box. Now, i have 
two
problems:
 1) i know it works on my box. But 

Re: StarOffice 5 and Potato - Solution

1999-05-04 Thread eric a. Farris
See my message posted to the list on Monday; i had the same problem and
fixed it. Basically you have to do the same thing with xlib6g as you did
with glib. (that is, extract it from the .deb manually, put it
someplace, add someplace to soffice's LD_LIBRARY_PATH.

Wim Kerkhoff wrote:
 
 Okay, I finally got around to trying your 'receipe'.  I picked up on a few of
 spelling errors, as noted below.
 
 Here are the errors I still get:
 
 SlimeCity:~$ cd Office50/bin/
 SlimeCity:~/Office50/bin$ ./soffice
 /usr/share/Office50/bin/soffice.bin: error in loading shared libraries
 /usr/X11R6/lib/libX11.so.6: undefined symbol: __bzero
 SlimeCity:~/Office50/bin$
 
 Any idea why?  Do you know if anyone has made up a howto page yet?
 
 Wim
 www.canadianhomes.net/wim
 [EMAIL PROTECTED]
 ---

SNIP

-- 
eric Farris  [EMAIL PROTECTED]  www.bigfoot.com/~eafarris
Microcomputer Support Specialist
Academic Computing
Frostburg State University  www.frostburg.edu

This message composed in an MFCE (Microsoft Free Computing Environment)

Will work for happiness.


Re: StarOffice 5 and Potato - Solution (?)

1999-04-26 Thread Bernard de Rubinat
I got into the same trouble as many people who tried to get staroffice
5.0(1?) to work with glibc2.1. I also did try many things I have seen, and I
also had many failures to make it work with most recepes,
BUT I FINALLY GOT IT TO WORK.

Here is a recipe I made out of my various attemps. I made a simplified
version of all my attemps, so I may be wrong somewhere, but hopefuly it is
correct.

 1/ mkdir /tmp
 2/ get libc6_2.0.7.*.deb from a debian ftp mirror (slink).
 3/ ar -x libc6_2.0.7.19981211-6.deb
 4/ tar xvzf data.tar.gz
 5/ mkdir /usr/local/glibc2.0
 6/ cp -a lib/* /usr/local/glibc2.0
 7/ ln -s /usr/local/glibc2.0/ld-linux.so.2 /lib/ld-2.0.7.so.2
 8/ cd /full/path/to/Office/lib
 9a/ mv soffice.bin soffice.bin.orig
 9b/ mv setup.bin setup.bin.orig
 9c/ mv psetup.bin psetup.bin.orig
 10a/ cat soffice.bin.orig |sed -e 's#/lib/ld-linux.so.2#/lib/ld-2.0.7.so.2#g' \
   soffice.bin # this is a single line or use '\'
 10b/ cat setup.bin.orig |sed -e 's#/lib/ld-linux.so.2#/lib/ld-2.0.7.so.2#g' \
   setup.bin   # this is a single line or use '\'
 10c/ cat psetup.bin.orig |sed -e 's#/lib/ld-linux.so.2#/lib/ld-2.0.7.so.2#g' \
   psetup.bin  # this is a single line or use '\'
 11/ update the /full/path/to/Office/bin/soffice script
change :
  LD_LIBRARY_PATH=$sd_inst/lib:$LD_LIBRARY_PATH
into :
  LD_LIBRARY_PATH=/usr/local/glibc20/:$sd_inst/lib:$LD_LIBRARY_PATH
and change :
  exec $sd_inst/bin/$sd_binary $1 $2 $3 $4 $5 $6 $7 $8 $9
into :
  /lib/ld-2.0.7.so.2 $sd_inst/bin/$sd_binary $1 $2 $3 $4 $5
$6 $7 $8 $9

Hope this helps. If this helps, does anyone feel to write a mini-HOWTO?

Best regards,


Bernard

 --- here is a post not beloging to this list ---

Subject: Star Office with Glibc 2.1 (howto doit and what is broken)
Date: Wed, 07 Apr 1999 07:27:27 GMT
From: [EMAIL PROTECTED]
Newsgroups: stardivision.com.support.misc


The instructions have already been posted to this group, but here they are
again (with more details).

You can get already installed soffice to work by doing the following:

1) cd /full/path/to/Office/lib
2) tar xfz glibc2.tar.gz
3) mv glib*/* . ; rmdir glib*
4) cd ../bin
5) emacs *.bin
6) using overwrite mode change /lib/ld-linux.so.2 to /lib/ld-2.0.7.so.2 in
   all binaries
7) ln -s /full/path/to/Office/lib/ld-linux.so.2 /lib/ld-2.0.7.so.2

After this soffice starts and works as it should.

Unfortunately soffice uses system() call, which execvp /bin/sh, when
printing (even to file) and thus the printing does not work. I tried to
patch the libc itself (changed /bin/sh in the library to /old/sh, copied sh,
cat and lpr to /old and patched them as well. Also soffice starting script
must be edited.  After this printing to file does not give errors, but
results to empty file.  Normal printing still tries to exec /usr/bin/lpr for
some reason).

 ---


On Fri, Apr 23, 1999 at 08:35 -0400, Christian Lavoie wrote:
  On Wed, 21 Apr 1999, Brad wrote:
 
  By putting together ideas from a few posts here and in linux-kernel, i've
  managed to get StarOffice 5.01 working on my Potato box. Now, i have two
  problems:
   1) i know it works on my box. But what about anyone else's?
   2) If it does work, what do i do to let people know how to do it? Just
  letting it sit on my hard drive unused by anyone else doesn't sound
  too appealing...
 
 2) How about writing a 'SO5 and glic2.1 Mini- HOWTO'?
 
 Christian Lavoie
 [EMAIL PROTECTED]
 UIN: 947212
 
 
 -- 
 Unsubscribe?  mail -s unsubscribe [EMAIL PROTECTED]  /dev/null
 


Re: StarOffice 5 and Potato - Solution

1999-04-26 Thread Brad
That's pretty close to the system i came up with, i was just waiting to
hear back if it worked for anyone else before i claimed i solved the
problem ;)

Let's see... diffs. psetup works for me without patching, did you try
that? Also, if you put the glibc 2.0 libs into ${StarOffice}/lib you don't
have to change the packages scripts at all. The extra '/lib/ld-2.0.7.so.2'
in the very last line to exec the soffice.bin is unnecessary once the
binary itself is patched to call the correct lib loader, and that fixes
the system() call to /bin/sh and the error on startup that it can't find
the file $sd_inst/bin/$sd_binary.

i think i will write that mini-HOWTO, although it might be a few days
[weeks] before i can get anything done on it...

The directions i have currently are attached. Given your post, i think
they work for at least 2 people. Out of the alpha stage now. Bug reports
to this address.

On Mon, 26 Apr 1999, Bernard de Rubinat wrote:

 I got into the same trouble as many people who tried to get staroffice
 5.0(1?) to work with glibc2.1. I also did try many things I have seen, and I
 also had many failures to make it work with most recepes,
 BUT I FINALLY GOT IT TO WORK.
 
 Here is a recipe I made out of my various attemps. I made a simplified
 version of all my attemps, so I may be wrong somewhere, but hopefuly it is
 correct.
 
  1/ mkdir /tmp
  2/ get libc6_2.0.7.*.deb from a debian ftp mirror (slink).
  3/ ar -x libc6_2.0.7.19981211-6.deb
  4/ tar xvzf data.tar.gz
  5/ mkdir /usr/local/glibc2.0
  6/ cp -a lib/* /usr/local/glibc2.0
  7/ ln -s /usr/local/glibc2.0/ld-linux.so.2 /lib/ld-2.0.7.so.2
  8/ cd /full/path/to/Office/lib
  9a/ mv soffice.bin soffice.bin.orig
  9b/ mv setup.bin setup.bin.orig
  9c/ mv psetup.bin psetup.bin.orig
  10a/ cat soffice.bin.orig |sed -e 
 's#/lib/ld-linux.so.2#/lib/ld-2.0.7.so.2#g' \
soffice.bin   # this is a single line or use '\'
  10b/ cat setup.bin.orig |sed -e 's#/lib/ld-linux.so.2#/lib/ld-2.0.7.so.2#g' \
setup.bin # this is a single line or use '\'
  10c/ cat psetup.bin.orig |sed -e 's#/lib/ld-linux.so.2#/lib/ld-2.0.7.so.2#g' 
 \
psetup.bin# this is a single line or use '\'
  11/ update the /full/path/to/Office/bin/soffice script
 change :
   LD_LIBRARY_PATH=$sd_inst/lib:$LD_LIBRARY_PATH
 into :
   LD_LIBRARY_PATH=/usr/local/glibc20/:$sd_inst/lib:$LD_LIBRARY_PATH
 and change :
   exec $sd_inst/bin/$sd_binary $1 $2 $3 $4 $5 $6 $7 $8 
 $9
 into :
   /lib/ld-2.0.7.so.2 $sd_inst/bin/$sd_binary $1 $2 $3 $4 $5
 $6 $7 $8 $9
 
 Hope this helps. If this helps, does anyone feel to write a mini-HOWTO?
 
 Best regards,
 
 
 Bernard
 
  --- here is a post not beloging to this list ---
 
 Subject: Star Office with Glibc 2.1 (howto doit and what is broken)
 Date: Wed, 07 Apr 1999 07:27:27 GMT
 From: [EMAIL PROTECTED]
 Newsgroups: stardivision.com.support.misc
 
 
 The instructions have already been posted to this group, but here they are
 again (with more details).
 
 You can get already installed soffice to work by doing the following:
 
 1) cd /full/path/to/Office/lib
 2) tar xfz glibc2.tar.gz
 3) mv glib*/* . ; rmdir glib*
 4) cd ../bin
 5) emacs *.bin
 6) using overwrite mode change /lib/ld-linux.so.2 to /lib/ld-2.0.7.so.2 in
all binaries
 7) ln -s /full/path/to/Office/lib/ld-linux.so.2 /lib/ld-2.0.7.so.2
 
 After this soffice starts and works as it should.
 
 Unfortunately soffice uses system() call, which execvp /bin/sh, when
 printing (even to file) and thus the printing does not work. I tried to
 patch the libc itself (changed /bin/sh in the library to /old/sh, copied sh,
 cat and lpr to /old and patched them as well. Also soffice starting script
 must be edited.  After this printing to file does not give errors, but
 results to empty file.  Normal printing still tries to exec /usr/bin/lpr for
 some reason).
 
  ---
 
 
 On Fri, Apr 23, 1999 at 08:35 -0400, Christian Lavoie wrote:
   On Wed, 21 Apr 1999, Brad wrote:
  
   By putting together ideas from a few posts here and in linux-kernel, i've
   managed to get StarOffice 5.01 working on my Potato box. Now, i have two
   problems:
1) i know it works on my box. But what about anyone else's?
2) If it does work, what do i do to let people know how to do it? Just
   letting it sit on my hard drive unused by anyone else doesn't sound
   too appealing...
  
  2) How about writing a 'SO5 and glic2.1 Mini- HOWTO'?
  
  Christian Lavoie
  [EMAIL PROTECTED]
  UIN: 947212
Thanks to Dave Cinege from linux-kernel and Tor Slettnes from debian-user
for giving me the idea on how to do this.


First, install StarOffice with the /net option as
described by Tor:

 - Create a directory named /usr/local/slink, and get and untar the
   following file in there:
   ftp://ftp.debian.org/debian/dists/slink/main/disks-i386/current/base2_1.tgz

 - Get and untar 'so501_01.tar' into /usr/local/slink/tmp
  # cd /usr/local/slink/tmp
  # tar xvf 

Re: StarOffice 5 and Potato - Solution

1999-04-26 Thread Ryan Losh

 [Lengthy instructions for tricking Star Office 5.0[1] into executing on a
  glibc2.1 system deleted]


I'd like to know if *ANYONE* out there has gotten Star Office 5 to *PRINT*
on a potato system running glibc2.1???  If so, would you please post your
recipe to this list.  **EXECUTING** Star Office is of little value to
(most) people, if you CANNOT PRINT FROM IT!!

Ryan
[EMAIL PROTECTED]