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. Start the Kunpeng DevKit plugin. Log in to Kunpeng DevKit. In the navigation tree on the left, click Software Porting Assessment and 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
  2. View the scan report. See Figure 2.
    Figure 2 Scan report
  3. Click the dependency file links in the report to obtain the dependency files. Upload the dependency files to the Kunpeng platform environment, and decompress 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 3 Downloading and decompressing the dependency files

    Figure 4 shows the extracted file.

    Figure 4 Extracted file
  4. Configure environment variables.
    1. Open the /etc/profile file.
      1
      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:
      1
      export PATH=/home/usr/bin:$PATH
      
    3. Make the environment variables take effect.
      1
      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