Tiny Core Linux

Tiny Core Base => Raspberry Pi => Topic started by: kp on January 09, 2019, 12:49:35 PM

Title: load TC.tcz
Post by: kp on January 09, 2019, 12:49:35 PM
hello,

 i did a wget of TC.tca from 9.0 repo onto 10.0 beta 5. but i see that it contains only /usr/local/share/doc/README.
How do I install TC gui for picore? also anyway I can get mozilla up and running on picker?

Title: Re: load TC.tcz
Post by: Rich on January 09, 2019, 12:58:09 PM
Hi kp
TC.tcz is a meta extension. You need to install all the dependencies:
http://tinycorelinux.net/9.x/armv6/tcz/TC.tcz.dep
You should try to get those dependencies from the 10.0 repository.
Title: Re: load TC.tcz
Post by: kp on January 09, 2019, 01:22:03 PM
TC.tcz is not present in 10.0 repo i.e
# the-load -wi TC.tcz
will fail. so how do I install it?
also, how do I start the guy after installing it?
Title: Re: load TC.tcz
Post by: Rich on January 09, 2019, 03:09:13 PM
Hi kp
Place  http://tinycorelinux.net/9.x/armv6/tcz/TC.tcz  and  http://tinycorelinux.net/9.x/armv6/tcz/TC.tcz.dep  in your  tce/optional/
directory. Then  tce-load -i TC.tcz  will cause it to load from your  tce/optional/  directory and attempt to resolve the required
dependencies from the 10.0 repo. Any dependencies it can't resolve you'll need to get elsewhere.
Title: Re: load TC.tcz
Post by: kp on January 10, 2019, 03:59:29 AM
thanks. TC got installed but with an error that it could not find desktop.sh. I am not able to locate starts on my filesystem. So, how do i start the guy?
Title: Re: load TC.tcz
Post by: polikuo on January 10, 2019, 06:12:53 AM
desktop.sh is in Xlibs.tcz, which should be a dep of TC.tcz, no ?
To start the X server, type "startx" instead of "starts".
Title: Re: load TC.tcz
Post by: kp on January 10, 2019, 06:57:20 AM
Thanks.after installing Xlibs and setting /etc/sysconfig/Xserver to Xorg, i get this error:-
starts: failed in waitforX
i saw on the forum that we need xfbdev. But i cannot find it using wget from 9.x repo or using the-load -wi..
how do we resolve this?
Title: Re: load TC.tcz
Post by: polikuo on January 10, 2019, 08:23:34 AM
starts: failed in waitforX
i saw on the forum that we need xfbdev.

Xfbdev is x86, x86-64 only.
You're looking for Xorg.

TC.tcz is not present in 10.0 repo i.e

piCore 10 does not provide any X server at the moment
You could copy the old ones along with all the dependencies and see if it works.
Title: Re: load TC.tcz
Post by: kp on January 10, 2019, 08:30:08 AM
fine. how do I resolve the error WaitForX when i executed startx?
Title: Re: load TC.tcz
Post by: polikuo on January 10, 2019, 11:10:22 AM
Download the tree file from the repo
http://tinycorelinux.net/9.x/armv6/tcz/TC.tcz.tree

wget every tcz, tcz.dep tcz.md5.txt files from the old repo
Code: [Select]
for A in $(cat TC.tcz.tree); do
  for B in "" ".dep" ".md5.txt"; do
    wget "http://tinycorelinux.net/9.x/armv6/tcz/${A}${B}"
  done
done
Title: Re: load TC.tcz
Post by: kp on January 10, 2019, 11:58:45 AM
Thanks. do I do a the-load -i *.tcz after that?
Title: Re: load TC.tcz
Post by: Rich on January 10, 2019, 12:05:36 PM
Hi kp
Just run  tce-load -i TC.tcz  again. It will pick up the extensions you just downloaded.
Title: Re: load TC.tcz
Post by: kp on January 10, 2019, 12:54:20 PM
Thanks. I started X windows, but clicking "Apps" icon does not result in anything happening. How can I run a browser  from X windows?
Title: Re: load TC.tcz
Post by: Rich on January 10, 2019, 12:59:49 PM
Hi kp
Open a terminal and enter  apps  and see if you get any error messages.
Title: Re: load TC.tcz
Post by: kp on January 10, 2019, 01:36:42 PM
it is not able to load libfontconfig.so.1 and i see it is not present on the device.
Title: Re: load TC.tcz
Post by: Rich on January 10, 2019, 01:51:21 PM
Hi kp
Install  http://tinycorelinux.net/9.x/armv6/tcz/fontconfig.tcz.
Title: Re: load TC.tcz
Post by: kp on January 11, 2019, 09:44:05 AM
Its loaded, but don't know what to do to setup a browser like mozilla on the system. Also, the files installed by doing
#tce-load -i TC.tcz
do not survive on reboot.
Title: Re: load TC.tcz
Post by: Rich on January 11, 2019, 10:00:04 AM
Hi kp
Its loaded, but don't know what to do to setup a browser like mozilla on the system. Also, the files installed by doing
#tce-load -i TC.tcz
do not survive on reboot.


Add the line  TC.tcz  to the  onboot.lst  file in your  tce  directory.
Title: Re: load TC.tcz
Post by: Juanito on January 11, 2019, 10:05:33 AM
There are the dillo3, lynx and fifth browsers in the piCore 9.x repos
Title: Re: load TC.tcz
Post by: Rich on January 11, 2019, 10:11:06 AM
Hi Juanito
... fifth browsers in the piCore 9.x repos
The fifth browser exists only in the ARM7 repo.
Title: Re: load TC.tcz
Post by: kp on January 11, 2019, 12:51:03 PM
after apps selected the fastest mirror, when i did a browse or search for lynx/dillio , i could not find any.  when i manually installed lynx and tried to run it within X, it said libidn.so.1 not found. Maybe e the repo browsed is for 10.x instead of 9.x

Title: Re: load TC.tcz
Post by: Rich on January 11, 2019, 01:03:39 PM
Hi kp
Apps  will use the repo that matches your installed version which in your case is 10.x.
Quote
... it said libidn.so.1 not found.
Install  libidn.tcz.
Title: Re: load TC.tcz
Post by: kp on January 11, 2019, 01:40:16 PM
i downloaded the .tree and created a symlink to linncursesw.so from libncursesw.so.5 to get lynx working. however, lynx does not support https and i may need javascript support too, to browse normal websites. if not that, can i access email via pop3? static text websites are few and far in between.
Title: Re: load TC.tcz
Post by: Juanito on January 12, 2019, 03:01:56 AM
What hardware are you using?

The fifth browser works fine for me on an RPi3.
Title: Re: load TC.tcz
Post by: kp on January 12, 2019, 05:28:26 AM
i didn't try fifth browser because i don't know the repo for it. I tried only lynx. I have an armv8 on RPI3. Please tell me what i need to wget to install fifth browser.
Title: Re: load TC.tcz
Post by: Juanito on January 12, 2019, 05:33:57 AM
repo.tinycorelinux.net/9.x/armv7/tcz/fifth.tcz
Title: Re: load TC.tcz
Post by: kp on January 12, 2019, 06:49:52 AM
Thanks. when fifth is run, it complains that libssl.1.0.0 and  lib crypto.so.1.0.0 require openssl 1.0.0 but the one we get from repo is openssl_270. Note that fifth has a requirement for ssl 1.0.0 and crypt o 1.0.0
Title: Re: load TC.tcz
Post by: Juanito on January 12, 2019, 07:34:56 AM
fifth will not be updated for piCore-10.x before the final version is released

In the meantime, you could use the piCore-9.x openssl alongside the piCore-10.x version by renaming it...
Title: Re: load TC.tcz
Post by: kp on January 12, 2019, 08:27:23 AM
/usr/local/lib/libopenssl.so.*
is not part of openssl.tcz or openssl-dev.tcz or gnutls.tcz. So how do I update my libopenssl.so.*?
Title: Re: load TC.tcz
Post by: Juanito on January 12, 2019, 08:40:50 AM
I meant rename the piCore-9.x openssl extension to openssl_old or similar
Title: Re: load TC.tcz
Post by: kp on January 12, 2019, 08:47:34 AM
where do I fetch the libopenssl for 9.x?
Title: Re: load TC.tcz
Post by: Juanito on January 12, 2019, 09:02:19 AM
/usr/local/lib/libssl.so and /usr/local/lib/libcrypto.so are provided by the openssl extension at:

repo.tinycorelinux.net/9.x/armv6/tcz/openssl.tcz
Title: Re: load TC.tcz
Post by: kp on January 12, 2019, 09:26:56 AM
i already have libel.so and lib crypto.so in my /usr/local/lib. after removing libopenssl-27 , how do i get the tc for libopenssl.so.1.0.0? openssl.tcz does not have it.
Title: Re: load TC.tcz
Post by: Juanito on January 12, 2019, 09:43:17 AM
Are you sure it's libopenssl.so.1.0.0 and not libssl.so.1.0.0 you're looking for?
Title: Re: load TC.tcz
Post by: Rich on January 12, 2019, 09:47:05 AM
Hi kp
i already have libel.so and lib crypto.so in my /usr/local/lib. after removing libopenssl-27 , how do i get the tc for libopenssl.so.1.0.0? openssl.tcz does not have it.
You said:
Quote
Thanks. when fifth is run, it complains that libssl.1.0.0 and  lib crypto.so.1.0.0 ...
If you look at the list file for openssl you'll see it provides those libraries:
http://tinycorelinux.net/9.x/armv6/tcz/openssl.tcz.list
Where are you getting this  libopenssl.so.1.0.0  file name from?
Title: Re: load TC.tcz
Post by: kp on January 12, 2019, 10:06:57 AM
it does nt show libopenssl.1.0.0 but shows libssl.1.0.0. is that what you meant?
Title: Re: load TC.tcz
Post by: Rich on January 12, 2019, 10:17:02 AM
Hi kp
Yes, that's what I meant.
Title: Re: load TC.tcz
Post by: kp on January 12, 2019, 10:45:48 AM
when I created a symlink
# ln -s /usr/local/lib/libssl.so.1.0.0 /usr/local/lib/libopenssl.so.1.0.0
and execute, I get this error
# fifth
fifth: /usr/local/lib/libssl.1.0.0: OPENSSL_1.0.0 not found (required by fifth)
fifth: /usr/local/lib/libcrypto.so.1.0.0: OPENSSL_1.0.0 not found (required by fifth)
Title: Re: load TC.tcz
Post by: NinjaCowboy on January 12, 2019, 11:08:33 AM
If you want to find what package contains a file, you can (with a working internet connection), run tce, and press P to search for extensions that provide the file, type the name of the file, and press Enter.
Title: Re: load TC.tcz
Post by: Juanito on January 13, 2019, 02:48:36 AM
fifth depends on the openssl extension from piCore-9.x - this is openssl-1.0.1j, which contains libssl.so.1.0.0
Code: [Select]
$ ldd `which fifth` | grep ssl
        libssl.so.1.0.0 => /usr/local/lib/libssl.so.1.0.0 (0x00007f985e39c000)

The openssl extension was updated in piCore-10.x - this is openssl-1.1.0.h, which contains libssl.so.1.1

In order for fifth to work in piCore-10.x, you need to:

* download the openssl extension from piCore-9.x
* rename the openssl extension from piCore-9.x to openssl_old
* load the openssl_old extension in piCore-10.x
Title: Re: load TC.tcz
Post by: kp on January 13, 2019, 09:25:58 AM
I installed openssl from 9.x and fifth gets installed. but when I execute, I get this error
# fifth
limpng warning: iCCP: known incorrect sRGB profile
<3 times>

when I type url google, com or any other url, it exits with sig 11 segmentation fault. Maybe you can try if it works for you and let me know.
Title: Re: load TC.tcz
Post by: NinjaCowboy on January 13, 2019, 09:32:04 PM
Google works fine for me with Fifth, but going to Wikipedia or Facebook results in an immediate Segmentation Fault.
Title: Re: load TC.tcz
Post by: Juanito on January 14, 2019, 01:04:13 AM
limpng warning: iCCP: known incorrect sRGB profile
<3 times>

This warning can be ignored.

If you start fifth from a terminal window, does it give any error messages when it crashes?
Title: Re: load TC.tcz
Post by: NinjaCowboy on January 19, 2019, 12:24:23 PM
I just get a segmentation fault. For example:
Code: [Select]
$ fifth www.wikipedia.org
libpng warning: iCCP: known incorrect sRGB profile
libpng warning: iCCP: known incorrect sRGB profile
libpng warning: iCCP: known incorrect sRGB profile
libpng warning: iCCP: profile 'Photoshop ICC profile': 'RGB ': RGB color space not permitted on grayscale PNG
Opening remote URL www.wikipedia.org
Crashing with signal Segmentation fault (11)
It also crashes frequently when scrolling on this forum. Disabling CSS can help if you don't mind the page looking awful.