WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: [SOLVED] Is the order of TCZ dep important? LOW Priority  (Read 4844 times)

gordon64

  • Guest
[SOLVED] Is the order of TCZ dep important? LOW Priority
« on: July 27, 2015, 11:02:28 PM »
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: [Select]
tce-load -i gtk3
I am working my thru those load errors but show just 2 so you get the idea?

Code: [Select]
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

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

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

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
« Last Edit: July 28, 2015, 07:55:30 PM by Rich »

gordon64

  • Guest
Re: Is the order of TCZ dep important? LOW Priority
« Reply #1 on: July 27, 2015, 11:10:01 PM »
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

Offline gerald_clark

  • TinyCore Moderator
  • Hero Member
  • *****
  • Posts: 4254
Re: Is the order of TCZ dep important? LOW Priority
« Reply #2 on: July 27, 2015, 11:11:26 PM »
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

  • Guest
Re: Is the order of TCZ dep important? LOW Priority
« Reply #3 on: July 28, 2015, 04:28:23 AM »
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: [Select]
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

according to my eyesight vte is loading last but was first in my dep list

Please mark as solved.
« Last Edit: July 28, 2015, 04:55:26 AM by gordon64 »

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14817
Re: Is the order of TCZ dep important? LOW Priority
« Reply #4 on: July 28, 2015, 01:12:52 PM »
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.

gordon64

  • Guest
Re: Is the order of TCZ dep important? LOW Priority
« Reply #5 on: July 28, 2015, 07:46:56 PM »
Juanito
Thankyou for taking time out from your busy schedule to look into this.

cheers and good luck tho you don't need it.  ;D

gordon