Tiny Core Extensions > TCE Bugs
oo2 does't appear to install from tce/optional via app browser
Juanito:
It looks to be a story of symlinks.
oo2.tcel
/usr/local/bin/soffice -> /usr/local/oo2/program/soffice
oo2.tczl
/usr/local/bin/soffice -> /tmp/tcloop/oo2/usr/local/bin/soffice
/tmp/tcloop/oo2/usr/local/bin/soffice -> /usr/local/oo2/program/soffice
/usr/local/oo2/program/soffice -> /tmp/tcloop/oo2/usr/local/oo2/program/soffice
It appears that something gets lost in the chain of symlinks and soffice cannot find these two files:
/tmp/tcloop/oo2/usr/local/bin/pagein
tmp/tcloop/oo2/usr/local/bin/soffice.bin
when it should be looking for these two files:
/tmp/tcloop/oo2/usr/local/oo2/program/pagein
/tmp/tcloop/oo2/usr/local/oo2/program/soffice.bin
This can be fixed by changing the menu item/icon to launch soffice by "/usr/local/oo2/program/soffice" rather than "/usr/local/bin/soffice"
This means that it cannot be started from the command line, but I guess if you use oo2, you probably wil not use the command line anyway :)
Anybody see a better solution?
Jason W:
Placing the scripts that are installed in /usr/local/bin (sbase, soffice, scalc, spadmin, sdraw, swriter, simpress, smath) in a user.tar.gz makes it all work as a tcz. They themselves are symbolic links so they will not take up space.
Juanito:
Yeah - I guess this way we have consistency between the tcel and tczl extensions...
curaga:
Did you find the underlying cause? Which part is unable to follow several symlinks?
dentonlt:
I didn't see anyone reply that this has been 'fixed.' I'm digging for a proper fix.
EDIT: for me, changing a link seems simple enough -
--- Code: ---#!/bin/bash
set -x
rm -rf /usr/local/bin/soffice
ln -s /tmp/tcloop/oo2/usr/local/oo2/program/soffice /usr/local/bin/soffice
exit 0
--- End code ---
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version