Scan and Analysis
Prerequisites
- The Kunpeng DevKit has been successfully installed and the required tools have been installed.
- The Kunpeng DevKit plugin has been installed and the remote server has been configured.
Procedure
- Open the Kunpeng DevKit plugin and log in to the Kunpeng DevKit. In the navigation tree on the left, choose Application Porting > Software Porting Assessment. Select Analyze Software Package and click Upload to upload the x86 RPM package to analyze. Select openEuler 22.03 SP3 for Target OS and click Analyze.Figure 1 Scan
- View the scan report. See Figure 2.
- Download the dependency files and run the following commands to decompress and install the dependency files. See Figure 3.
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 decompressed file.
- Set environment variables.
- Open the /etc/profile file.
vi /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:
export PATH=/home/usr/bin:$PATH
- Make the environment variables take effect.
source /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


