Rate This Document
Findability
Accuracy
Completeness
Readability

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

  1. 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
  2. View the scan report. See Figure 2.
    Figure 2 Scan report
  3. 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 3 Downloading and decompressing the dependency files

    Figure 4 shows the decompressed file.

    Figure 4 Decompressed file
  4. Set environment variables.
    1. Open the /etc/profile file.
      vi /etc/profile
    2. 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
    3. Make the environment variables take effect.
      source /etc/profile
  5. 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