Troubleshooting, Installing the application on the m6, Via nfs mount – ThingMagic Mercury API v1.23.0 User Manual

Page 116: Via wget, Troubleshooting 116, Via nfs mount 116 via wget 116, Wget

Advertising
background image

Building On-Reader Applications

116

On Reader Applications

Troubleshooting

The build process for on-reader applications requires some Linux utilities that aren’t
installed as part of many default Linux distributions. If errors reporting missing
executables occur during the build you can use the Linux

apt-get install utility to

install the necessary binaries. For example, the error:

SDKROOT/c/src/api/lib/install_LTKC.sh: 37: patch: not found

indicates the

patch binaries are missing. These can be installed by running:

Your-Linux-PC-Prompt>

sudo apt-get install patch

Another utility used that is not installed by default in most Linux distributions is xsltproc. It

can be installed by running:

Your-Linux-PC-Prompt>

sudo apt-get install xsltproc

Installing the Application on the M6

Via NFS Mount

If you have successfully completed

Connecting the M6 to an NFS Mount

the binary

executable can simply be copied to the shared directory (see

Saving the Program to the

JFFS2 File System

).

Via wget

If using an FTP or HTTP server then copy the file to the server ,

Telnet to the Reader

, from

the M6 console interface:

1. Navigate to /tm/bin

2. run the following to get the file:

[root@m6-21071f] $ wget [URL to binary]

3. change permissions on the saved binary executable so its executable

[root@m6-21071f] $ chmod 777 [filename]

Advertising