LS1028A make error sudo apt update error: Error in ʻappstreamcli'

I encountered an error when installing the OpenIL (open industry linux) environment of LS1028A, the
official NXP operation procedure:

$ git clone https://github.com/openil/openil.git
$ cd openil
$ git checkout OpenIL-201908 -b OpenIL-201908
$ make nxp_ls1028ardb-64b_ubuntu_defconfig
$ make

Encountered this error

./bootstrap: 4: ./bootstrap: aclocal: not found
./bootstrap: 5: ./bootstrap: autoheader: not found
./bootstrap: 6: ./bootstrap: libtoolize: not found
./bootstrap: 7: ./bootstrap: automake: not found
./bootstrap: 8: ./bootstrap: autoreconf: not found
/bin/bash: ./configure: No such file or directory
package/pkg-generic.mk:206: recipe for target '/home/nishant/gitRepos/openil/output/build/libnfc-nci-R2.4/.stamp_configured' failed
make: *** [/home/nishant/gitRepos/openil/output/build/libnfc-nci-R2.4/.stamp_configured] Error 127

I checked on the Internet that sudu apt update needs to be executed, and I encountered the following error when executing this

Error in `appstreamcli’: double free or corruption (!prev): 0x08d10178

The last line of the error:

E: Sub-process returned an error code

So execute the following command

sudo apt purge libappstream3

At this time there was another small error

rmdir: failed to remove ‘/var/cache/app-info/’: Directory not empty

Execute again

sudo apt autoremove

Finally there is no error, only warnning, continue to execute

sudo apt update

No problem, passed.
My ultimate goal is to solve the 1028A openIL,
and then continue to solve this problem, execute

$ sudo apt-get install git make gcc g++ python autoconf automake libtool dh-autoreconf pkg-config

There was still an error, so I executed it again

sudo apt-get update

Execute again

$ sudo apt-get install git make gcc g++ python autoconf automake libtool dh-autoreconf pkg-config

by! ! The reason behind this did not take time to research.

Execute again
Insert picture description here

After a long wait, well done! ! !
Enter ./output/images and
compile the files that need to be burned! ! !
Insert picture description here

During post-compilation, an error is displayed when you execute
make menuconfig
.

*** Unable to find the ncurses libraries or the
*** required header files.
*** 'make menuconfig' requires the ncurses libraries.
*** 
 *** Install ncurses (ncurses-devel) and try again.
*** 
make[2]: *** [scripts/kconfig/dochecklxdialog] Error 1
make[1]: *** [menuconfig] Error 2
make[1]: Leaving directory `/opt/linux/3.14-1.14/linux'
make: *** [menuconfig-linux] Error 2

ncurses provides a GUI-like user interface in a character terminal, so ncurses needs to be installed.

sudo apt-get install libncurses5-dev

Execute make menuconfig
PASS again !!

Guess you like

Origin blog.csdn.net/malcolm_110/article/details/108577759