tar gz to uci


Forum: Other Help Topics
Topic: tar gz to uci
started by: JohnJS

Posted by JohnJS on Oct. 19 2007,16:04
Not much luck after many attempts following instructions on page 206 of DSL book.
Are there some assumed steps other than those listed.

Are the tar gz used with dsl extensions already compiled to the correct format, per page 201.

Using DSL3.3.

Posted by roberts on Oct. 19 2007,16:28
The .tar.gz mydsl extension type is not the typical Linux .tar.gz

What error(s) are you getting?

Note the "\" at the end of long lines in the book is a continuation character to break the line. Don't type it if staying on the same line.

Posted by JohnJS on Oct. 19 2007,16:30
Sorry forgot to state 'trying with openoffice-1.1.4.tar.gz and openoffice.tar.gz"
Posted by JohnJS on Oct. 19 2007,16:39
Hi RobertS.
Will try again with the continuation indicator. The last 't' in Line 2 is on the next line.

If I recall correctly with Line 2 I get something like '/opt/bin no such file or directory".

Also tried skipping line 2 and starting OO from /opt/openoffice....
With 1.1.4 I get error referring to "jre" Java? on opening OO.
With 1.1 I get a pop-up (two times) on closing.

Will attempt again today and write down error messages.

Also with Line 2 I entered as root from /home/dsl directory is this correct?.

Thanks for speedy response.
Edit:
from opt/openoffice-1.1.4/soffice/open.. I get this "javaldx: could not create link of name: /ramdisk/opt/openoffice-1.1.4/program/./user/temp/jave/a which links to /opt/jre1_5_0/bin, symlink error: -1
OO then works okay.

As root:
[home/dsl]# tar -ztf openoffice-1.1.4.tar.gz home/ tmp/ opt/bin \ > /tmp/user.list
tar (child): openoffice-1.1.4.tar.gz: cannot open: no such file or directory.
tar (child): error is not recoverable: exiting now.
tar:(child): returned status 2
tar: home: not found in archive.
tar: tmp: not found in archive.
tar: opt/bin: not found in archive.
tar: :not found in archive.
tar: error exit delayed from previous errors.

Note: /opt/bin has only "reame text" referring to zile.
Note 2: /ramdisk/tmp has a user.list with zero bytes.

Hope this helps.

Posted by ^thehatsrule^ on Oct. 19 2007,21:25
Quote
With 1.1.4 I get error referring to "jre" Java? on opening OO.
See the .info

Quote
[home/dsl]# tar -ztf openoffice-1.1.4.tar.gz home/ tmp/ opt/bin \ > /tmp/user.list
If you are entering it all on one line, omit the \

Quote
tar (child): openoffice-1.1.4.tar.gz: cannot open: no such file or directory.
make sure you have that file saved in that directory first...

Posted by JohnJS on Oct. 21 2007,19:42
Success converting openoffice.tar.gz (66.26 mbytes) to .uci (70.36 mbytes).
Using DSL book page 206 I replaced  "zile" with "openoffice". Also had to change "/tmp/user.list" to "/tmp/oouser.list".
Everything now works.
Minor problem.
OO saves Writer and Calc files but with pop-up error windows.
With Writer and Calc files reads:
error saving document
file:///ramdisk/opt/openoffice/user/basic/standard/script.xlb/:general error.
general input/output error.

repeats with "standard/script.xlc". but still saves the file.

Edit. By maximizing the root screen I can avoid using the '\' continuation symbol.

Posted by ^thehatsrule^ on Oct. 21 2007,19:59
Quote
error saving document
file:///ramdisk/opt/openoffice/user/basic/standard/script.xlb/:general error.
general input/output error.
That's because /opt/openoffice is now read-only.  You'll have to do some workaround such as a symlink pointing to somewhere writeable, or some program configuration... you could also check other OO uci packages and see what they've done.

Quote
Edit. By maximizing the root screen I can avoid using the '\' continuation symbol.
If you go past the current line it will just wrap it, so you don't really need to use \ or maximizing the window...

Posted by JohnJS on Oct. 21 2007,20:14
Thanks 'thehatsrule'.
As long as it saves the files I can live with it.

Only need Openoffice when I need to do something more than what I can do with Ted and Siag.

Symlink etc is beyond my knowledge at this point.

Posted by jpeters on Oct. 22 2007,01:15
Quote (JohnJS @ Oct. 21 2007,16:14)
Thanks 'thehatsrule'.
As long as it saves the files I can live with it.

Just curious, are you saving your oo files to a writeable disk, such as /mnt/hda?/myfile ??
Posted by JohnJS on Oct. 22 2007,15:24
Hi jpeters,
Just saving files during session to ramdisk/home/dsl. At the end those that I wish to keep I copy to hda3 (storage).

setup:
dsl3.3 frugal lilo toram.
hda1 swap, hda2 dsl image, hda3 storage.
Noticed 'symlink' button on emelfm. How does that work?

Posted by Juanito on Oct. 22 2007,15:44
Quote
Noticed 'symlink' button on emelfm. How does that work?

- you highlight the file you want to link in one pane of emelFM, you set the other pane to the directory where you want the symlink and then click on the button.

In the case of oo, you probably want to link the oouser directory to /home/dsl? In this case you would move the directory/files from wherever they are (eg /opt/oo/oouser) to /home/dsl and then symlink the directory - something like this:
Code Sample
$ sudo mv -r /opt/oo/oouser /home/dsl
$ sudo ln -s /home/dsl/oouser /opt/oo

Posted by jpeters on Oct. 22 2007,15:51
Quote (JohnJS @ Oct. 22 2007,11:24)
Noticed 'symlink' button on emelfm. How does that work?

It works just like copy, except if you check check the properties of the resulting file, you'll notice it's a link to the original file vs a copy of it.

Posted by JohnJS on Oct. 22 2007,16:05
Thanks juanito and jpeters.

Tried symlink both from emelfm and from aterm.

OO still gives the same errors ie.,
error saving document
file:///ramdisk/opt/openoffice/user/basic/standard/script.xlb/:general error
general input/output errof.
repeats above with script.xlc.

Noticed it moved oouser and user.tar.gz to ramdisk/home/dsl.

Posted by jpeters on Oct. 22 2007,16:20
Have you tried openoffice-2.0.uci in the repository?
Posted by JohnJS on Oct. 22 2007,16:41
Have dial-up.
Will have to get a friend who has Broadband to download it for me.

Thanks for your help.

Powered by Ikonboard 3.1.2a
Ikonboard © 2001 Jarvis Entertainment Group, Inc.