Scan and Analysis
Prerequisites
The Kunpeng DevKit has been installed.
Procedure
- Log in to the Kunpeng DevKit. In the navigation tree on the left, choose . Then click
to go to the software porting assessment page. - Select Analyze Software Package and click Upload to upload the x86 software package to be analyzed. Select CentOS 7.6 for Target OS and perform software package porting assessment.Figure 1 Scan
- View the scan report. See Figure 2.
- Click the dependency file links in the report to obtain the dependency files. Upload the dependency files to the Kunpeng platform environment, and extract and install them. See Figure 3.
1 2
rpm2cpio cmake-2.8.12.2-2.el7.aarch64.rpm | cpio -div rpm2cpio cmake-gui-2.8.12.2-2.el7.aarch64.rpm | cpio -div
Figure 4 shows the extracted files.
- Configure environment variables.
- Open the /etc/profile file.
1vi /etc/profile - Add the following content to the end of the /etc/profile file. Press Esc, type :wq!, and press Enter to save the file and exit:
1export PATH=/home/usr/bin:$PATH
- Make the environment variables take effect.
1source /etc/profile
- Open the /etc/profile file.
- Verify the binary file.
If an error occurs during the verification due to the lack of dynamic link libraries, see Missing Dynamic Link Library.
Figure 5 Verification 1
Figure 6 Verification 2
Figure 7 Verification 3
Figure 8 Verification 4
Figure 9 Verification 5


