09-22-2019 10:23 PM
I wanted to install the Petalinux tools in Ubuntu 18.04
First I noticed the installer (run file) is not executable and UG1144 mentions:
For example: To install PetaLinux tools under /opt/pkg/petalinux/2019.1: $ mkdir -p /opt/pkg/petalinux/2019.1 $ ./petalinux-v2019.1-final-installer.run /opt/pkg/petalinux/2019.1 Note: Do not change the installer permissions to CHMOD 775 as it can cause BitBake errors
So how can I run it? I changed it to 754 and ran it but came with an error "cannot extract installer"
Could it be related to that I downloaded the installer to a windows machine then moved it to a VM with Linux?
09-26-2019 06:01 PM
09-24-2019 06:43 AM
09-26-2019 12:08 PM
Yes, I ran:
sudo apt-get install -y gcc git make net-tools libncurses5-dev tftpd zlib1g-dev libssl-dev flex
bison libselinux1 gnupg wget diffstat chrpath socat xterm autoconf libtool tar unzip texinfo
zlib1g-dev gcc-multilib build-essential -dev zlib1g:i386 screen pax gzip
same as in UG1144
09-26-2019 02:47 PM
09-26-2019 06:01 PM
09-27-2019 01:57 AM
As mentioned in this thread, have you double checked it you have installed the gawk package?
10-05-2019 08:58 AM
Thanks to the solution provided I could finally install it.
Weird that a problem from 2016 is not updated in the docs by 2019...
There was this message during the install, I wonder if I got the installer corrupted, or is something I can ignore or not:
INFO: Checking installation environment requirements... WARNING: This is not a supported OS INFO: Checking free disk space INFO: Checking installed tools environment: line 305: ((: 10#30+ > 10#24: syntax error: operand expected (error token is "> 10#24") environment: line 309: ((: 10#30+ < 10#24: syntax error: operand expected (error token is "< 10#24") INFO: Checking installed development libraries INFO: Checking network and other services INFO: Checking installer checksum... INFO: Extracting PetaLinux installer... LICENSE AGREEMENTS