cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
pawelzz
Contributor
Contributor
1,406 Views
Registered: ‎05-16-2018

Petalinux 2020.1: ERROR: Failed to menu config project component

Jump to solution

Hi! I have a problem with building Petalinux project. When I create a project from the BSP xilinx-zcu102-v2020.1-final.bsp I get an errror:

 

[user@host 2020.1]$ petalinux-create -t project -s xilinx-zcu102-v2020.1-final.bsp
INFO: Create project:
INFO: Projects:
INFO: * xilinx-zcu102-2020.1
INFO: has been successfully installed to /home/pawzap/petalinux/2020.1/
INFO: New project successfully created in /home/pawzap/petalinux/2020.1/
[user@host 2020.1]$ cd xilinx-zcu102-2020.1/
[user@host xilinx-zcu102-2020.1]$ ls
components config.project hardware pre-built project-spec README
[user@host xilinx-zcu102-2020.1]$ petalinux-config
INFO: sourcing build tools
[INFO] generating Kconfig for project
[INFO] menuconfig project
ERROR: Failed to menu config project component
ERROR: Failed to config project.

 

In a log I can see:

[INFO] menuconfig project
env: mconf: No such file or directory
ERROR: Failed to config project.

I have tried to install python36-rpmconf and rpmconf packages, but it did not fix the issue. How to solve it?

Thanks for any reply
Paweł

0 Kudos
1 Solution

Accepted Solutions
pawelzz
Contributor
Contributor
1,201 Views
Registered: ‎05-16-2018

I installed Petalinux 2020.1 into a new directory and now it works correctly. It looks that there was an issue during the previous installation.

Thanks
Paweł

View solution in original post

Tags (1)
0 Kudos
10 Replies
shabbirk
Moderator
Moderator
1,358 Views
Registered: ‎12-04-2016

Hi Pawel

Did you install all the required packages needed for petalinux tool use? Here is the 2020.1 version of UG1144, please check if you have all the packages against your Linux distro

https://www.xilinx.com/support/documentation/sw_manuals/xilinx2020_1/ug1144-petalinux-tools-reference-guide.pdf

 

Best Regards

Shabbir

0 Kudos
pawelzz
Contributor
Contributor
1,344 Views
Registered: ‎05-16-2018

My OS is CentOS 7.7, which is mentioned as supported by Petalinux 2020.1. I run the command:

sudo yum install iproute gcc gcc-c++ net-tools ncurses-devel zlib-devel openssl-devel flex bison libselinux xterm autoconf libtool texinfo SDL-devel glibc-devel glibc glib2-devel automake screen pax libstdc++ gawk python

but all packages were installed and up-to-date. Do you have any other ideas?

Thanks
Paweł

Tags (1)
0 Kudos
shabbirk
Moderator
Moderator
1,339 Views
Registered: ‎12-04-2016

Hi @pawelzz 

Can you once try installing this package:

sudo yum -y install screen

 

Best Regards

Shabbir

0 Kudos
pawelzz
Contributor
Contributor
1,333 Views
Registered: ‎05-16-2018

I run the command and  I got:

Package screen-4.1.0-0.25.20120314git3c2946.el7.x86_64 already installed and latest version
Nothing to do

I tried also reinstallation of the package, but Petalinux output is still the same.

ERROR: Failed to menu config project component
ERROR: Failed to config project

Thanks
Paweł

Tags (1)
0 Kudos
shabbirk
Moderator
Moderator
1,328 Views
Registered: ‎12-04-2016

Hi @pawelzz 

Please check the python version installed matches to what mentioned in UG1144

 

Best Regards

Shabbir

0 Kudos
pawelzz
Contributor
Contributor
1,221 Views
Registered: ‎05-16-2018

I have installed Python 2.7.5. I can not find which version of the python package was used by Xilinx. I checked the document "2020.1_Petalinux_Package_List.xlsx" and compared with my package list:

Package iproute-4.11.0-25.el7_7.2.x86_64 already installed and latest version
Package gawk-4.0.2-4.el7_3.1.x86_64 already installed and latest version
Package gcc-4.8.5-39.el7.x86_64 already installed and latest version
Package net-tools-2.0-0.25.20131004git.el7.x86_64 already installed and latest version
Package ncurses-devel-5.9-14.20130511.el7_4.x86_64 already installed and latest version
Package zlib-devel-1.2.7-18.el7.x86_64 already installed and latest version
Package 1:openssl-devel-1.0.2k-19.el7.x86_64 already installed and latest version
Package flex-2.5.37-6.el7.x86_64 already installed and latest version
Package flex-2.5.37-6.el7.x86_64 already installed and latest version
No package libselinux-2.5-14.1.el7.x86_64 available.
Package xterm-295-3.el7.x86_64 already installed and latest version
Package autoconf-2.69-11.el7.noarch already installed and latest version
Package libtool-2.4.2-22.el7_3.x86_64 already installed and latest version
Package texinfo-5.1-5.el7.x86_64 already installed and latest version
No package SDL-devel-1.2.15-14.el7.x86_64 available.
Package glibc-devel-2.17-307.el7.1.x86_64 already installed and latest version
Package glib2-devel-2.56.1-5.el7.x86_64 already installed and latest version
Package automake-1.13.4-3.el7.noarch already installed and latest version
No package gnome-screenshot-3.22.0-1.el7.x86_64 available.
No package gnome-screenshot-3.22.0-1.el7.x86_64 available.
Package libstdc++-4.8.5-39.el7.x86_64 already installed and latest version
Package gcc-c++-4.8.5-39.el7.x86_64 already installed and latest version
No package python34-pip-8.1.2-10.el7.noarch available.

 Only libselinux, SDL-devel, python34-pip  have different versions (minor). I added gnome-screenshot, because it was missing (but there was a "screen" package). A Petalinux output is still the same.

Tags (1)
0 Kudos
pawelzz
Contributor
Contributor
1,250 Views
Registered: ‎05-16-2018

I have installed Python 2.7.5. I can not find which version was used by Xilinx. I checked the file "2020.1_Petalinux_Package_List.xlsx":

Package iproute-4.11.0-25.el7_7.2.x86_64 already installed and latest version
Package gawk-4.0.2-4.el7_3.1.x86_64 already installed and latest version
Package gcc-4.8.5-39.el7.x86_64 already installed and latest version
Package net-tools-2.0-0.25.20131004git.el7.x86_64 already installed and latest version
Package ncurses-devel-5.9-14.20130511.el7_4.x86_64 already installed and latest version
Package zlib-devel-1.2.7-18.el7.x86_64 already installed and latest version
Package 1:openssl-devel-1.0.2k-19.el7.x86_64 already installed and latest version
Package flex-2.5.37-6.el7.x86_64 already installed and latest version
Package flex-2.5.37-6.el7.x86_64 already installed and latest version
No package libselinux-2.5-14.1.el7.x86_64 available.
Package xterm-295-3.el7.x86_64 already installed and latest version
Package autoconf-2.69-11.el7.noarch already installed and latest version
Package libtool-2.4.2-22.el7_3.x86_64 already installed and latest version
Package texinfo-5.1-5.el7.x86_64 already installed and latest version
No package SDL-devel-1.2.15-14.el7.x86_64 available.
Package glibc-devel-2.17-307.el7.1.x86_64 already installed and latest version
Package glib2-devel-2.56.1-5.el7.x86_64 already installed and latest version
Package automake-1.13.4-3.el7.noarch already installed and latest version
No package gnome-screenshot-3.22.0-1.el7.x86_64 available.
No package gnome-screenshot-3.22.0-1.el7.x86_64 available.
Package libstdc++-4.8.5-39.el7.x86_64 already installed and latest version
Package gcc-c++-4.8.5-39.el7.x86_64 already installed and latest version
No package python34-pip-8.1.2-10.el7.noarch available.

Only libselinux, SDL-devel and python34-pip have different versions (minor). I added gnome-screenshot, because it was missing (but there was "screen" package). A Petalinux output is still the same.

Thanks
Paweł

Tags (1)
0 Kudos
pawelzz
Contributor
Contributor
1,202 Views
Registered: ‎05-16-2018

I installed Petalinux 2020.1 into a new directory and now it works correctly. It looks that there was an issue during the previous installation.

Thanks
Paweł

View solution in original post

Tags (1)
0 Kudos
pmoschov
Visitor
Visitor
842 Views
Registered: ‎04-28-2020

I experienced a similar issue. It seems this is provoked when you alter the installation dir path after installation.
Could it be in your case?

 

Paris

0 Kudos
olekm
Observer
Observer
729 Views
Registered: ‎12-15-2011

Dear Paris,

that is exactly what caused the problem in my case.

Once the petalinux is installed in some directory it cannot be moved.

0 Kudos