Trouble running Prusa Firmware build script

hey im no good at manjaro troubleshooting but i can ask things. i have a script im trying to run im told works fine on debian but i get an error when i try to run the script. ill post it below.

[dad@dad ~]$ /home/dad/Documents/PRUSA/Firmwa
re-pt100/Prusa-Firmware-3.9.3/PF-build.sh
Linux 64-bit found

Script path : /home/dad/Documents/PRUSA/Firmw
are-pt100/Prusa-Firmware-3.9.3
OS :
OS type : linux

Ardunio IDE : 1.8.5
Build env : 1.0.6
Board : prusa_einsy_rambo
Package name: PrusaResearch
Board v. : 1.0.3
Specific Lib: PrusaLibrary

Unzipping Prusa Firmware build environment…
/home/dad/Documents/PRUSA/Firmware-pt100/Prus
a-Firmware-3.9.3/PF-build.sh: line 389: unzip
: command not found

here is the script link… Prusa-Firmware/PF-build.sh at MK3 · prusa3d/Prusa-Firmware · GitHub
so point me in the right direction and ill try to learn something. thanks in advance

You’re missing the unzip binary. You can install unzip from Add/Remove Software or from the terminal:

pamac install unzip

EDIT: I moved this from #support:plasma to #support because the issue is not related to KDE.

ok thanks i wasnt sure but im am going to try your suggestions

now im getting this error.

sudo /home/dad/Documents/PRUSA/F
irmware-pt100/Prusa-Firmware-3.9.3/PF-build.s
h
Linux 64-bit found
/home/dad/Documents/PRUSA/Firmware-pt100/Prus
a-Firmware-3.9.3/PF-build.sh: line 205: type:
python: not found
Missing 'python' which is important to run th
is script                                     
As Python 2.x will not be maintained from 202
0 please,                                     
install it with the command 'sudo apt-get ins
tall python3'.                                
Check which version of Python3 has been insta
lled using 'ls /usr/bin/python3*'             
Use 'sudo ln -sf /usr/bin/python3.x /usr/bin/
python' (where 'x' is your version number) to
make it default.

Well, what did you learn from the last error? :wink:

i tried to install python3 as suggested by the error but apt-get doesnt work.

i installed via sudo pacman -S python3 and get this error

[dad@dad ~]$ sudo pacman -S python3          warning: python-3.9.1-1 is up to date -- reinstalling
resolving dependencies...
looking for conflicting packages...

Packages (1) python-3.9.1-1

Total Installed Size:  79.38 MiB
Net Upgrade Size:       0.00 MiB

:: Proceed with installation? [Y/n] y
(0/1) checking keys in keyring               (1/1) checking keys in keyring                    
(0/1) checking package integrity             (1/1) checking package integrity                  
(0/1) loading package files                  (1/1) loading package files                       
(0/1) checking for file conflicts            (1/1) checking for file conflicts                 
(0/1) checking available disk space          (1/1) checking available disk space               
:: Processing package changes...
(1/1) reinstalling python                    (1/1) reinstalling python                    (1/1) reinstalling python                    (1/1) reinstalling python                    (1/1) reinstalling python                    (1/1) reinstalling python                    (1/1) reinstalling python                    (1/1) reinstalling python                    (1/1) reinstalling python                    (1/1) reinstalling python                    (1/1) reinstalling python                    (1/1) reinstalling python                    (1/1) reinstalling python                    (1/1) reinstalling python                    (1/1) reinstalling python                    (1/1) reinstalling python                    (1/1) reinstalling python                    (1/1) reinstalling python                    (1/1) reinstalling python                    (1/1) reinstalling python                    (1/1) reinstalling python                    (1/1) reinstalling python                    (1/1) reinstalling python                    (1/1) reinstalling python                    (1/1) reinstalling python                    (1/1) reinstalling python                    (1/1) reinstalling python                    (1/1) reinstalling python                    (1/1) reinstalling python                    (1/1) reinstalling python                    (1/1) reinstalling python                    (1/1) reinstalling python                    (1/1) reinstalling python                    (1/1) reinstalling python                    (1/1) reinstalling python                    (1/1) reinstalling python                    (1/1) reinstalling python                    (1/1) reinstalling python                    (1/1) reinstalling python                    (1/1) reinstalling python                    (1/1) reinstalling python                    (1/1) reinstalling python                    (1/1) reinstalling python                    (1/1) reinstalling python                    (1/1) reinstalling python                    (1/1) reinstalling python                    (1/1) reinstalling python                    (1/1) reinstalling python                    (1/1) reinstalling python                    (1/1) reinstalling python                    (1/1) reinstalling python                    (1/1) reinstalling python                    (1/1) reinstalling python                    (1/1) reinstalling python                    (1/1) reinstalling python                    (1/1) reinstalling python                    (1/1) reinstalling python                    (1/1) reinstalling python                    (1/1) reinstalling python                    (1/1) reinstalling python                    (1/1) reinstalling python                    (1/1) reinstalling python                    (1/1) reinstalling python                    (1/1) reinstalling python                    (1/1) reinstalling python                    (1/1) reinstalling python                    (1/1) reinstalling python                    (1/1) reinstalling python                    (1/1) reinstalling python                    (1/1) reinstalling python                    (1/1) reinstalling python                    (1/1) reinstalling python                    (1/1) reinstalling python                    (1/1) reinstalling python                    (1/1) reinstalling python                    (1/1) reinstalling python                    (1/1) reinstalling python                    (1/1) reinstalling python                    (1/1) reinstalling python                    (1/1) reinstalling python                    (1/1) reinstalling python                    (1/1) reinstalling python                    (1/1) reinstalling python                    (1/1) reinstalling python                    (1/1) reinstalling python                    (1/1) reinstalling python                    (1/1) reinstalling python                    (1/1) reinstalling python                    (1/1) reinstalling python                    (1/1) reinstalling python                    (1/1) reinstalling python                    (1/1) reinstalling python                    (1/1) reinstalling python                    (1/1) reinstalling python                    (1/1) reinstalling python                    (1/1) reinstalling python                    (1/1) reinstalling python                    (1/1) reinstalling python                    (1/1) reinstalling python                    (1/1) reinstalling python                    (1/1) reinstalling python                    (1/1) reinstalling python                    (1/1) reinstalling python                    (1/1) reinstalling python                    (1/1) reinstalling python                    (1/1) reinstalling python                    (1/1) reinstalling python                    (1/1) reinstalling python                    (1/1) reinstalling python                    (1/1) reinstalling python                    (1/1) reinstalling python                    (1/1) reinstalling python                    (1/1) reinstalling python                    (1/1) reinstalling python                    (1/1) reinstalling python                    (1/1) reinstalling python                    (1/1) reinstalling python                    (1/1) reinstalling python                    (1/1) reinstalling python                    (1/1) reinstalling python                    (1/1) reinstalling python                    (1/1) reinstalling python                    (1/1) reinstalling python                    (1/1) reinstalling python                    (1/1) reinstalling python                    (1/1) reinstalling python                    (1/1) reinstalling python                    (1/1) reinstalling python                    (1/1) reinstalling python                    (1/1) reinstalling python                    (1/1) reinstalling python                    (1/1) reinstalling python                    (1/1) reinstalling python                    (1/1) reinstalling python                    (1/1) reinstalling python                    (1/1) reinstalling python                    (1/1) reinstalling python                    (1/1) reinstalling python                    (1/1) reinstalling python                    (1/1) reinstalling python                    (1/1) reinstalling python                    (1/1) reinstalling python                    (1/1) reinstalling python                    (1/1) reinstalling python                    (1/1) reinstalling python                    (1/1) reinstalling python                    (1/1) reinstalling python                    (1/1) reinstalling python                    (1/1) reinstalling python                    (1/1) reinstalling python                    (1/1) reinstalling python                    (1/1) reinstalling python                    (1/1) reinstalling python                    (1/1) reinstalling python                    (1/1) reinstalling python                    (1/1) reinstalling python                    (1/1) reinstalling python                    (1/1) reinstalling python                         
:: Running post-transaction hooks...
(1/1) Arming ConditionNeedsUpdate...

ok i realised you used pamac and not pacman so is that the standard for manjaro?

i got the python error to work and ran the script. now i have this error is this at all related to this topic or should i search around?

sudo /home/dad/Documents/PRUSA/F
irmware-pt100/Prusa-Firmware-3.9.3/PF-build.s
h
Linux 64-bit found

Script path : /home/dad/Documents/PRUSA/Firmw
are-pt100/Prusa-Firmware-3.9.3
OS          :
OS type     : linux

Ardunio IDE : 1.8.5
Build env   : 1.0.6
Board       : prusa_einsy_rambo
Package name: PrusaResearch
Board v.    : 1.0.3
Specific Lib: PrusaLibrary

Unzipping Prusa Firmware build environment...
Archive:  PF-build-env-WinLin-1.0.6.zip       
 inflating: ../PF-build-env-1.0.6/1.8.5-1.0.
3-linux-64/hardware/tools/avr/avr/lib/ldscrip
ts/avr6.xn                                    
                                             
1) Firmware/variants/1_75mm_MK25S-RAMBo13a-E
3Dv6full.h
2) Firmware/variants/1_75mm_MK3-EINSy10a-E3D
v6full.h
3) Firmware/variants/1_75mm_MK2-RAMBo10a-E3D
v6full.h
4) Firmware/variants/1_75mm_MK2-RAMBo13a-E3D
v6full.h
5) Firmware/variants/1_75mm_MK25-RAMBo10a-E3
Dv6full.h
6) Firmware/variants/1_75mm_MK25S-RAMBo10a-E
3Dv6full.h
7) Firmware/variants/1_75mm_MK25-RAMBo13a-E3
Dv6full.h
8) Firmware/variants/1_75mm_MK3S-EINSy10a-E3
Dv6full.h
9) All
10) Quit
Select a variant: 8

Which lang-build do you want?
1) Multi languages
2) English only
Select a language: 1
/home/dad/Documents/PRUSA/Firmware-pt100/Prus
a-Firmware-3.9.3/PF-build.sh: line 510: cd: .
./PF-build-env-1.0.6/1.8.5-1.0.3-linux-64: No
such file or directory

When pasting terminal output, highlight it and use the Preformatted text </> button.

Before we go any further, please go back and edit your posts so they’re easier to read.

good tip im fixing it now

Pamac is Manjaro’s package manager. You can use it or Pacman, that’s up to you. Pamac can be easier to learn as the syntax is similar to Debian’s apt.

I renamed the topic title, so yes it’s related. However, since you apparently have your dependencies in order, maybe you should create an issue upstream. They’re familiar with it, we’re not.

ok thanks for that. this whole thing is to create a prusa .hex file that allows for the user to have the pt100 thermistor upgrade. you are supposed to follow the github instructions (which are not clear to me) listed above.