WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: there is no necessary package in Apps  (Read 8374 times)

Offline Yuri

  • Newbie
  • *
  • Posts: 10
there is no necessary package in Apps
« on: August 23, 2020, 12:49:53 PM »
Hello.

Could you add to Apps: https://ugs.jfrog.io/ugs/UGS/nightly/ugs-platform-app-2.0-SNAPSHOT-linux.tar.gz
I am a complete zero in Linux, so it is difficult to add to the system myself.
But I really want to use tinycorelinux for homemade CNC because of its lightness.

Thank you in advance!
Yuri.

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14815
Re: there is no necessary package in Apps
« Reply #1 on: August 23, 2020, 01:18:14 PM »
Which architecture - x86, x86_64?

Offline Yuri

  • Newbie
  • *
  • Posts: 10
Re: there is no necessary package in Apps
« Reply #2 on: August 23, 2020, 01:32:30 PM »
x86_64

Offline jazzbiker

  • Hero Member
  • *****
  • Posts: 934
Re: there is no necessary package in Apps
« Reply #3 on: August 23, 2020, 01:42:38 PM »
Hi, guys!

Seems, that snapshot includes both versions:

Code: [Select]
tc@box:/tmp$ ls -l ugsplatform-linux/bin
total 524
-rwxrwxr-x    1 tc       staff         3795 Aug 10 06:28 ugsplatform
-rwxrwxr-x    1 tc       staff       256512 Aug 10 06:28 ugsplatform.exe
-rwxrwxr-x    1 tc       staff       273920 Aug 10 06:28 ugsplatform64.exe

As I can understand from bin/ugsplatform script, this snapshot don't need to be installed as an extension. I am not sure, but probably it can be unpacked to any directory, and started using bin/ugsplatform script, possibly envoked using link. The script requires bash, so before running Yuri needs to
Code: [Select]
tce-load -wil bash
« Last Edit: August 23, 2020, 01:46:05 PM by jazzbiker »

Offline Yuri

  • Newbie
  • *
  • Posts: 10
Re: there is no necessary package in Apps
« Reply #4 on: August 23, 2020, 02:21:39 PM »
I have installed bash, what should I do next?
It may be useful: ugs-platform requires Java 8 which is in the archive.

Offline jazzbiker

  • Hero Member
  • *****
  • Posts: 934
Re: there is no necessary package in Apps
« Reply #5 on: August 23, 2020, 02:30:48 PM »
I may be wrong (I've never used Java), but I think You need to unpack the downloaded archive somewhere excepts You home dir, because its huge. In order to try You may unpack it to /tmp, for example. Expect You ave enough RAM - unpacked archive will eat 300M. Then You can try to execute from Your home dir
Code: [Select]
/tmp/ugsplatform-linux/bin/ugsplatform

Offline Yuri

  • Newbie
  • *
  • Posts: 10
Re: there is no necessary package in Apps
« Reply #6 on: August 23, 2020, 02:57:29 PM »
/mnt/sda1/tce/UGS/ugsplatform-linux/jdk/jdk-13.0.1+9-jre/bin/java: line 1: ELF: not found
/mnt/sda1/tce/UGS/ugsplatform-linux/jdk/jdk-13.0.1+9-jre/bin/java: line 2: syntaxis error: unterminated quoted string
I understand that there is something with java, but how to fix it? :(

Offline jazzbiker

  • Hero Member
  • *****
  • Posts: 934
Re: there is no necessary package in Apps
« Reply #7 on: August 23, 2020, 03:17:24 PM »
Unfortunately I'm totally alien to java, repo has only openjdk8-jre, and it has dependencies Xorg-7.7-lib.tcz and libasound.tcz. Maybe, You need to download and install this extensions.
By the way, are You running Xorg | Xvesa | Xfbdev ?
« Last Edit: August 23, 2020, 03:19:14 PM by jazzbiker »

Offline Yuri

  • Newbie
  • *
  • Posts: 10
Re: there is no necessary package in Apps
« Reply #8 on: August 23, 2020, 03:34:49 PM »
openjdk8-jre installed, Xorg-7.7-lib.tcz and libasound.tcz were already installed.
The mistakes are the same  :'(

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11621
Re: there is no necessary package in Apps
« Reply #9 on: August 23, 2020, 04:54:23 PM »
Hi Yuri
/mnt/sda1/tce/UGS/ugsplatform-linux/jdk/jdk-13.0.1+9-jre/bin/java: line 1: ELF: not found
/mnt/sda1/tce/UGS/ugsplatform-linux/jdk/jdk-13.0.1+9-jre/bin/java: line 2: syntaxis error: unterminated quoted string
I understand that there is something with java, but how to fix it? :(
I got the same error.

I then loaded  bash.tcz  and it changed to:
Code: [Select]
tc@E310:~/UGS/ugs-platform-app-2.0-SNAPSHOT-linux/ugsplatform-linux/bin$ ./ugsplatform
./../platform/lib/nbexec: line 421: /home/tc/UGS/ugs-platform-app-2.0-SNAPSHOT-linux/ugsplatform-linux/jdk/jdk-13.0.1+9-jre/bin/java: cannot execute binary file: Exec format error
tc@E310:~/UGS/ugs-platform-app-2.0-SNAPSHOT-linux/ugsplatform-linux/bin$
I think it may be trying to run the Windows executables.

I have installed bash, what should I do next? ...
I don't think so. What response do you get if you execute this:
Code: [Select]
tce-load -i bash

Offline Yuri

  • Newbie
  • *
  • Posts: 10
Re: there is no necessary package in Apps
« Reply #10 on: August 23, 2020, 06:25:38 PM »
bash.tcz: OK
and yes, now the error is like yours :-[
« Last Edit: August 23, 2020, 06:30:09 PM by Yuri »

Offline jazzbiker

  • Hero Member
  • *****
  • Posts: 934
Re: there is no necessary package in Apps
« Reply #11 on: August 23, 2020, 06:59:40 PM »
If I was at Your place, I would try to run this package under the 32-bit TC.

PS: I've tried but with the same error. But under Xfbdev.
Are You running Xorg? Have You do installed Xorg-7.7-libs and libasound?
« Last Edit: August 23, 2020, 07:08:06 PM by jazzbiker »

Offline Yuri

  • Newbie
  • *
  • Posts: 10
Re: there is no necessary package in Apps
« Reply #12 on: August 23, 2020, 07:52:53 PM »
TC - Tiny Core or?

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11621
Re: there is no necessary package in Apps
« Reply #13 on: August 23, 2020, 09:21:42 PM »
Hi jazzbiker
If I was at Your place, I would try to run this package under the 32-bit TC. ...

The package linked to contains mostly 64 bit Linux executables (ELF64), 2 scripts (Script), and a handful Windows executables (Win):
Code: [Select]
tc@E310:~$ for F in `find UGS/ -type f`; do ./FindMagic $F; done
ELF64   UGS/ugs-platform-app-2.0-SNAPSHOT-linux/ugsplatform-linux/jdk/jdk-13.0.1+9-jre/bin/rmid
ELF64   UGS/ugs-platform-app-2.0-SNAPSHOT-linux/ugsplatform-linux/jdk/jdk-13.0.1+9-jre/bin/jjs
ELF64   UGS/ugs-platform-app-2.0-SNAPSHOT-linux/ugsplatform-linux/jdk/jdk-13.0.1+9-jre/bin/unpack200
ELF64   UGS/ugs-platform-app-2.0-SNAPSHOT-linux/ugsplatform-linux/jdk/jdk-13.0.1+9-jre/bin/rmiregistry
ELF64   UGS/ugs-platform-app-2.0-SNAPSHOT-linux/ugsplatform-linux/jdk/jdk-13.0.1+9-jre/bin/java
ELF64   UGS/ugs-platform-app-2.0-SNAPSHOT-linux/ugsplatform-linux/jdk/jdk-13.0.1+9-jre/bin/keytool
ELF64   UGS/ugs-platform-app-2.0-SNAPSHOT-linux/ugsplatform-linux/jdk/jdk-13.0.1+9-jre/bin/jrunscript
ELF64   UGS/ugs-platform-app-2.0-SNAPSHOT-linux/ugsplatform-linux/jdk/jdk-13.0.1+9-jre/bin/jaotc
ELF64   UGS/ugs-platform-app-2.0-SNAPSHOT-linux/ugsplatform-linux/jdk/jdk-13.0.1+9-jre/bin/pack200
ELF64   UGS/ugs-platform-app-2.0-SNAPSHOT-linux/ugsplatform-linux/jdk/jdk-13.0.1+9-jre/bin/jfr
ELF64   UGS/ugs-platform-app-2.0-SNAPSHOT-linux/ugsplatform-linux/jdk/jdk-13.0.1+9-jre/lib/libnet.so
ELF64   UGS/ugs-platform-app-2.0-SNAPSHOT-linux/ugsplatform-linux/jdk/jdk-13.0.1+9-jre/lib/libjawt.so
ELF64   UGS/ugs-platform-app-2.0-SNAPSHOT-linux/ugsplatform-linux/jdk/jdk-13.0.1+9-jre/lib/libzip.so
ELF64   UGS/ugs-platform-app-2.0-SNAPSHOT-linux/ugsplatform-linux/jdk/jdk-13.0.1+9-jre/lib/libunpack.so
ELF64   UGS/ugs-platform-app-2.0-SNAPSHOT-linux/ugsplatform-linux/jdk/jdk-13.0.1+9-jre/lib/libjavajpeg.so
ELF64   UGS/ugs-platform-app-2.0-SNAPSHOT-linux/ugsplatform-linux/jdk/jdk-13.0.1+9-jre/lib/libdt_socket.so
ELF64   UGS/ugs-platform-app-2.0-SNAPSHOT-linux/ugsplatform-linux/jdk/jdk-13.0.1+9-jre/lib/libsctp.so
ELF64   UGS/ugs-platform-app-2.0-SNAPSHOT-linux/ugsplatform-linux/jdk/jdk-13.0.1+9-jre/lib/libjaas.so
ELF64   UGS/ugs-platform-app-2.0-SNAPSHOT-linux/ugsplatform-linux/jdk/jdk-13.0.1+9-jre/lib/libfontmanager.so
ELF64   UGS/ugs-platform-app-2.0-SNAPSHOT-linux/ugsplatform-linux/jdk/jdk-13.0.1+9-jre/lib/libawt_headless.so
ELF64   UGS/ugs-platform-app-2.0-SNAPSHOT-linux/ugsplatform-linux/jdk/jdk-13.0.1+9-jre/lib/libnio.so
ELF64   UGS/ugs-platform-app-2.0-SNAPSHOT-linux/ugsplatform-linux/jdk/jdk-13.0.1+9-jre/lib/libj2pkcs11.so
ELF64   UGS/ugs-platform-app-2.0-SNAPSHOT-linux/ugsplatform-linux/jdk/jdk-13.0.1+9-jre/lib/libjimage.so
ELF64   UGS/ugs-platform-app-2.0-SNAPSHOT-linux/ugsplatform-linux/jdk/jdk-13.0.1+9-jre/lib/libjli.so
ELF64   UGS/ugs-platform-app-2.0-SNAPSHOT-linux/ugsplatform-linux/jdk/jdk-13.0.1+9-jre/lib/libawt_xawt.so
ELF64   UGS/ugs-platform-app-2.0-SNAPSHOT-linux/ugsplatform-linux/jdk/jdk-13.0.1+9-jre/lib/libmlib_image.so
ELF64   UGS/ugs-platform-app-2.0-SNAPSHOT-linux/ugsplatform-linux/jdk/jdk-13.0.1+9-jre/lib/libmanagement.so
ELF64   UGS/ugs-platform-app-2.0-SNAPSHOT-linux/ugsplatform-linux/jdk/jdk-13.0.1+9-jre/lib/libextnet.so
ELF64   UGS/ugs-platform-app-2.0-SNAPSHOT-linux/ugsplatform-linux/jdk/jdk-13.0.1+9-jre/lib/libprefs.so
ELF64   UGS/ugs-platform-app-2.0-SNAPSHOT-linux/ugsplatform-linux/jdk/jdk-13.0.1+9-jre/lib/libjsound.so
ELF64   UGS/ugs-platform-app-2.0-SNAPSHOT-linux/ugsplatform-linux/jdk/jdk-13.0.1+9-jre/lib/libjava.so
ELF64   UGS/ugs-platform-app-2.0-SNAPSHOT-linux/ugsplatform-linux/jdk/jdk-13.0.1+9-jre/lib/libfreetype.so
ELF64   UGS/ugs-platform-app-2.0-SNAPSHOT-linux/ugsplatform-linux/jdk/jdk-13.0.1+9-jre/lib/libjsig.so
ELF64   UGS/ugs-platform-app-2.0-SNAPSHOT-linux/ugsplatform-linux/jdk/jdk-13.0.1+9-jre/lib/jspawnhelper
ELF64   UGS/ugs-platform-app-2.0-SNAPSHOT-linux/ugsplatform-linux/jdk/jdk-13.0.1+9-jre/lib/libj2gss.so
ELF64   UGS/ugs-platform-app-2.0-SNAPSHOT-linux/ugsplatform-linux/jdk/jdk-13.0.1+9-jre/lib/server/libjvm.so
ELF64   UGS/ugs-platform-app-2.0-SNAPSHOT-linux/ugsplatform-linux/jdk/jdk-13.0.1+9-jre/lib/server/libjsig.so
ELF64   UGS/ugs-platform-app-2.0-SNAPSHOT-linux/ugsplatform-linux/jdk/jdk-13.0.1+9-jre/lib/libinstrument.so
ELF64   UGS/ugs-platform-app-2.0-SNAPSHOT-linux/ugsplatform-linux/jdk/jdk-13.0.1+9-jre/lib/libawt.so
ELF64   UGS/ugs-platform-app-2.0-SNAPSHOT-linux/ugsplatform-linux/jdk/jdk-13.0.1+9-jre/lib/libmanagement_ext.so
ELF64   UGS/ugs-platform-app-2.0-SNAPSHOT-linux/ugsplatform-linux/jdk/jdk-13.0.1+9-jre/lib/librmi.so
ELF64   UGS/ugs-platform-app-2.0-SNAPSHOT-linux/ugsplatform-linux/jdk/jdk-13.0.1+9-jre/lib/jexec
ELF64   UGS/ugs-platform-app-2.0-SNAPSHOT-linux/ugsplatform-linux/jdk/jdk-13.0.1+9-jre/lib/libjdwp.so
ELF64   UGS/ugs-platform-app-2.0-SNAPSHOT-linux/ugsplatform-linux/jdk/jdk-13.0.1+9-jre/lib/libj2pcsc.so
ELF64   UGS/ugs-platform-app-2.0-SNAPSHOT-linux/ugsplatform-linux/jdk/jdk-13.0.1+9-jre/lib/libsplashscreen.so
ELF64   UGS/ugs-platform-app-2.0-SNAPSHOT-linux/ugsplatform-linux/jdk/jdk-13.0.1+9-jre/lib/libmanagement_agent.so
ELF64   UGS/ugs-platform-app-2.0-SNAPSHOT-linux/ugsplatform-linux/jdk/jdk-13.0.1+9-jre/lib/libsunec.so
ELF64   UGS/ugs-platform-app-2.0-SNAPSHOT-linux/ugsplatform-linux/jdk/jdk-13.0.1+9-jre/lib/libverify.so
ELF64   UGS/ugs-platform-app-2.0-SNAPSHOT-linux/ugsplatform-linux/jdk/jdk-13.0.1+9-jre/lib/liblcms.so
ELF64   UGS/ugs-platform-app-2.0-SNAPSHOT-linux/ugsplatform-linux/platform/modules/lib/amd64/linux/libjnidispatch-nb.so
Win     UGS/ugs-platform-app-2.0-SNAPSHOT-linux/ugsplatform-linux/platform/modules/lib/amd64/jnidispatch-nb.dll
Win     UGS/ugs-platform-app-2.0-SNAPSHOT-linux/ugsplatform-linux/platform/modules/lib/x86/jnidispatch-nb.dll
ELF32   UGS/ugs-platform-app-2.0-SNAPSHOT-linux/ugsplatform-linux/platform/modules/lib/i386/linux/libjnidispatch-nb.so
Win     UGS/ugs-platform-app-2.0-SNAPSHOT-linux/ugsplatform-linux/platform/lib/nbexec.dll
Win     UGS/ugs-platform-app-2.0-SNAPSHOT-linux/ugsplatform-linux/platform/lib/nbexec64.dll
Win     UGS/ugs-platform-app-2.0-SNAPSHOT-linux/ugsplatform-linux/platform/lib/nbexec64.exe

Script  UGS/ugs-platform-app-2.0-SNAPSHOT-linux/ugsplatform-linux/platform/lib/nbexec
#!/bin/sh
# Licensed to the Ap

Win     UGS/ugs-platform-app-2.0-SNAPSHOT-linux/ugsplatform-linux/platform/lib/nbexec.exe

Script  UGS/ugs-platform-app-2.0-SNAPSHOT-linux/ugsplatform-linux/bin/ugsplatform
#!/bin/sh

# Licensed to the A

Win     UGS/ugs-platform-app-2.0-SNAPSHOT-linux/ugsplatform-linux/bin/ugsplatform.exe
Win     UGS/ugs-platform-app-2.0-SNAPSHOT-linux/ugsplatform-linux/bin/ugsplatform64.exe
tc@E310:~$

Offline jazzbiker

  • Hero Member
  • *****
  • Posts: 934
Re: there is no necessary package in Apps
« Reply #14 on: August 24, 2020, 01:55:37 AM »
Hi, Rich!

So Your investigation shows, that both 64 and 32-bit objects are contained. Is it possible, that such a snapshot needs multilib environment? If yes, these are bad news for Yuri.