Various open source projects have been ported to run under Native Client. These have been listed as naclports. Theoretically all of these should work with Lind, however, just to confirm we are in the process of compiling and testing each naclport.

Instructions to use NaClPorts

As an example, we will install python available in the naclports. We will use the naclports commit # 16f1e754711043e37dc4d89282411e1ab445c4dd (August 10 2013). The latest commit at the time of this wiki was made on Sept 12th 2013, but we aren't using it because the latest changes rely on NaCl SDK Pepper version 30 (developer version) or above.

  1. Make sure the NaCl SDK is downloaded.
    Follow the instructions at NaCl SDK download to download the latest stable copy of SDK Pepper files. At the time of this wiki, the stable version is pepper_29, but we shall use pepper_28 for reasons in the next step.
  1. We will need the README file in the above downloaded nacl_sdk/pepper_28 folder. Copy the nacl_sdk/pepper_28/README to $NACL_SDK_ROOT folder. Without the README file, when you try to "make" a naclport, you will get an error stating README was not found in the $NACL_SDK_ROOT. If using the latest README from pepper_29, the naclports' make file could not parse the latest README file because of addition of few new lines.
  1. If you used script at Setting up Lind Environment with "all" argument, the naclports should have been downloaded to the $LIND_SRC directory. If not, follow the instructions at Checking out naclports.
  1. Go to the naclports/src directory, and use the make command to install python with NACL_GLIBC=1 argument. By default, naclports are compiled using Newlib, but we need to compile them using Glibc. The complete command is:
    NACL_GLIBC=1 make python
    NOTE: You might need to use "git checkout 16f1e754711043e37dc4d89282411e1ab445c4dd" to go to the previous stable commit.
  1. Copying the built files to lind file system.
  2. running python.
Last modified 4 years ago Last modified on Sep 24, 2013 4:11:18 PM