Tiny Core Extensions > TCE Corepure64
[SOLVED] Is the order of TCZ dep important? LOW Priority
gordon64:
Hi
I am testing a possible submission for 64 bit. I have booted up into xbase.lst which is the 6.3 iso file....unchanged.
I am getting strange errors in running this command
--- Code: ---tce-load -i gtk3
--- End code ---
I am working my thru those load errors but show just 2 so you get the idea?
--- Code: ---sudo rm -rf /usr/local/tce.installed/gtk3
tc@box:~$ tce-load -i gtk3
gtk-query-immodules-3.0: error while loading shared libraries: libXinerama.so.1: cannot open shared object file: No such file or directory
gtk3.tcz: OK
tc@box:~$ sudo rm -rf /usr/local/tce.installed/gtk3
tc@box:~$ tce-load -i libXinerama gtk3
libXinerama.tcz: OK
gtk-query-immodules-3.0: error while loading shared libraries: libXcursor.so.1: cannot open shared object file: No such file or directory
gtk3.tcz: OK
--- End code ---
Here is the xbase.lst
--- Quote ---Xfbdev.tcz
Xlibs.tcz
Xorg-fonts.tcz
Xprogs.tcz
aterm.tcz
fltk-1.3.tcz
flwm.tcz
freetype.tcz
glib2.tcz
harfbuzz.tcz
imlib2-bin.tcz
imlib2.tcz
libICE.tcz
libSM.tcz
libX11.tcz
libXau.tcz
libXdmcp.tcz
libXext.tcz
libXfont.tcz
libXi.tcz
libXmu.tcz
libXpm.tcz
libXrandr.tcz
libXrender.tcz
libXt.tcz
libffi.tcz
libfontenc.tcz
libjpeg-turbo.tcz
libpng.tcz
libxcb.tcz
pcre.tcz
wbar.tcz
--- End quote ---
I am aware that Juanito has trouble with Xfbdev with his video card so I am hoping someone else can clue me.
thanks for reading
gtk3 dep file is
--- Quote ---gdk-pixbuf2.tcz
at-spi2-atk.tcz
pango.tcz
shared-mime-info.tcz
libepoxy.tcz
--- End quote ---
I don't discount that my own video card is also a issue. Because I have to delete
.Xauthority
.xsession
to swap between Xfbdev and Xorg
gordon64:
Hi
and just a wild idea ....to add to all my other ones ;)
Maybe we can have a exception to the TCZ submission process and assume anyone on X86_64 (64 bit) is automatically on Xorg?
thanks for reading
gerald_clark:
You have something fundamentally wrong there.
You cannot just remove tce.installed files and expect subsequent tce-loads to work properly.
Libraries are not loaded when tczs are installed, but only when the loaded programs are run.
You do not need to list dependencies in the onboot.lst file. Tce-load manages them when packages are loaded.
gordon64:
EDIT
I have got it. I think.
if the contents of the dep file are
a.tcz
b.tcz
the actual load is in reverse order and so in a way.....order is important.
If any one disagrees then I am still an idiot but here is my test for anyone interested
--- Code: ---cat /mnt/sda4/tce/optional/lilyterm.tcz.dep
vte-2.90.tcz
gtk3.tcz
ncurses.tcz
xf86-input-evdev.tcz
shared-mime-info.tcz
Xorg-fonts.tcz
dejavu-fonts-ttf.tcz
###############
tc@box:~$ tce-load -i lilyterm
dejavu-fonts-ttf.tcz: OK
at-spi2-core.tcz: OK
at-spi2-atk.tcz: OK
gtk3.tcz: OK
vte-2.90.tcz: OK
lilyterm.tcz: OK
--- End code ---
according to my eyesight vte is loading last but was first in my dep list
Please mark as solved.
Juanito:
I think that every dep file should include all of the required deps (recursively) for an extension to work (but not necessarily include optional deps) and not assume that something (Xorg, Xfbdev, etc) is loaded.
I need to spend some time on this for gtk3 to ensure it is correct, but in the meantime, I uploaded your suggested dep file that allows the gtk3 start-up script to work with Xfbdev.
Navigation
[0] Message Index
[#] Next page
Go to full version