You are not logged in.
Pages: 1
Hi
I installed avr8-burn-o-mat 2.1.2-2 from AUR and it works if I start the start.sh file from the console within the same directory.
[roman@air AVR8_Burn-O-Mat]$ pwd
/home/roman/Downloads/avr8-burn-o-mat/src/AVR8_Burn-O-Mat
[roman@air AVR8_Burn-O-Mat]$ ls -all
total 416
drwxr-xr-x 3 roman users 4096 Mar 7 2009 .
drwxr-xr-x 3 roman users 4096 Aug 19 11:01 ..
-rw-r--r-- 1 roman users 91823 Feb 28 2015 AVR8_Burn_O_Mat_Config.xml
-rw-r--r-- 1 roman users 709 Mar 1 2009 AVR8_Burn-O-Mat_Icon_16.png
-rwxr-xr-x 1 roman users 167959 Feb 28 2015 AVR8_Burn_O_Mat.jar
-rw-r--r-- 1 roman users 52115 Feb 28 2015 AVR8_Burn-O-Mat.png
-rwxr-x--- 1 roman users 43520 Mar 3 2009 'AVR Burn-O-Mat.exe'
-rwxr-x--- 1 roman users 627 Mar 3 2009 'Java Exe Wrapper Windows.xml'
drwxr-xr-x 2 roman users 4096 Feb 28 2015 lib
-rw-r--r-- 1 roman users 35147 Jan 13 2009 license_gpl-3.0.txt
-rwxrwxrwx 1 roman users 42 Jan 13 2009 start.sh
[roman@air AVR8_Burn-O-Mat]$ ./start.sh
But I get an error "Error: Unable to access jarfile AVR8_Burn_O_Mat.jar" as soon as I try to run the start.sh file from outside of its directory.
[roman@air AVR8_Burn-O-Mat]$ cd ..
[roman@air src]$ pwd
/home/roman/Downloads/avr8-burn-o-mat/src
[roman@air src]$ AVR8_Burn-O-Mat/start.sh
Error: Unable to access jarfile AVR8_Burn_O_Mat.jar
Could it be a problem with the java path?
Thanks for any tips in advance.
Last edited by Eskimo (2020-08-19 14:01:53)
Offline
You didn't install the package yet.
You need to build and install the AUR package, and then the PKGBUILD will set up the necessary links to /usr/bin so that you can just start it with
avr-burn-o-mat
from anywhere.
Maybe read https://wiki.archlinux.org/index.php/Ar … he_package and in fact that entire page
Alternatively fix the start.sh and either make the path to the jar file absolute directly or do a cd to the correct dir before the java command is ran. But properly installing the package and then using the relevant /usr/bin link should be preferred.
Last edited by V1del (2020-08-19 11:21:25)
Online
Thanks for your fast answer.
I did install the package with "makepkg -sri", but I was not able to find out the right command to start the program. I only found the start.sh file.
Your comment about the /usr/bin link brought me on the right track. I do not need the start.sh file. I can start the program directly with the "avr-burn-o-mat" command in /us/share.
I was able now to create the .desktop file for integration into the xfce menu and it works now.
Offline
If you're unsure about the command any given package is installed under it might help to ask pacman. Directly executable binaries from pacman packages should always be in /usr/bin so you can check the command used for execution with
pacman -Ql $packagename | grep /usr/bin
... or by checking where and under what name the PKGBUILD stores the executable and you should always read PKGBUILDs before installing them into your system
Last edited by V1del (2020-08-19 14:13:58)
Online
Pages: 1