Tiny Core Extensions > TCE Q&A Forum
TCL 64: Libreoffice Draw and Impress not working
Rich:
Hi Juanito
Never mind. I installed the missing dependencies and nothing changed.
Seems the version on my TC10 is missing some deps but it works:
--- Code: ---tc@E310:/usr/local/lib/libreoffice/program$ for F in `ls lib*.so`; do ldd $F | grep found && echo -e " $F\n"; done
libgstpbutils-1.0.so.0 => not found
libgstvideo-1.0.so.0 => not found
libgstbase-1.0.so.0 => not found
libgstreamer-1.0.so.0 => not found
libavmediagst.so
libpython3.5m.so.1.0 => not found
libpython3.5m.so.1.0 => not found
libpythonloaderlo.so
libpython3.5m.so.1.0 => not found
libpyuno.so
tc@E310:/usr/local/lib/libreoffice/program$
--- End code ---
Juanito:
I tried compiling libreoffice-24.8.3.2, but the build fails with:
--- Code: ---/mnt/sdc1/usr/src/libreoffice-24.8.3.2/workdir/UnpackedTarball/libcmis/src/libcmis/xml-utils.cxx:539:26: error: cannot convert 'unsigned char [20]' to 'unsigned int (&)[5]'
539 | sha1.get_digest( digest );
| ^~~~~~
| |
| unsigned char [20]
--- End code ---
If anybody else would like to try, please go ahead.
lizardidi:
Report for libreoffice (and possibly others) appimage on Tiny Core Linux:
In my desperate attempt to try and run libreoffice, I observed some weird behaviour that I not quite understand.
Out of the box, appimages won't run on Tiny Core Linux for my installations. Even after I downloaded fuse.tcz..
When the default libreoffice draw failed to run, I tried to run a copy of libreoffice appimage that long forgotten in my hard drive. As expected, I got the error message and the appimage won't run.
However, one time I unintentionally loaded my ondemand Firefox made with the get_latest_firefox.sh, and unintentionally clicked the libreoffice.appimage... Boom, libreoffice.appimage launched, with every thing (writer, calc, draw, math, impress) all working...!!!
I tested few other smaller appimages, all were launchable after firefox.tcz was loaded.
At first, I thought this was due to a missing dependency get loaded by firefox. Using the dependencies checker, I manually loaded every tcz needed by Firefox.tcz, but the appimage still unable to launch. But once Firefox.tcz get loaded, appimages will run, possibly fuse is needed too.
So.. Beside above, is there a "normal" way to run appimages on Tiny Core?
CNK:
Firefox_getLatest.sh creates this symlink:
--- Code: ---ln -s /lib /lib64
--- End code ---
That might be what your Appimage needs. Extension dependencies vary between AppImages. In theory any of these libraries might be needed.
polikuo:
--- Quote from: Juanito on November 30, 2024, 06:41:54 AM ---I tried compiling libreoffice-24.8.3.2, but the build fails with:
--- Code: ---/mnt/sdc1/usr/src/libreoffice-24.8.3.2/workdir/UnpackedTarball/libcmis/src/libcmis/xml-utils.cxx:539:26: error: cannot convert 'unsigned char [20]' to 'unsigned int (&)[5]'
539 | sha1.get_digest( digest );
| ^~~~~~
| |
| unsigned char [20]
--- End code ---
If anybody else would like to try, please go ahead.
--- End quote ---
That's a C thing, it can only be solved by the developers.
I'm a hobbyist at best.
Judging by the code, they are trying to cast an unsigned char array (size = 20 x 1 byte = 20 byte) into an unsigned int array (size = 5 x 4 byte = 20 byte).
Presumably to shrink processing time.
However, there should be a work around, checking out the source code leads me here
--- Code: --- // on boost < 1.66.0, digest_type is typedef'd as reference to unsigned int[5]
// on boost >= 1.66.0 and < 1.86.0, digest_type is typedef'd as unsigned int[5]
// on boost >= 1.86.0, digest_type is typedef'd as unsigned char[20]
#if BOOST_VERSION < 106600
unsigned int digest[5];
#else
boost::uuids::detail::sha1::digest_type digest;
#endif
--- End code ---
How about just move on to a newer boost ?
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version