Saturday, August 1, 2015

Compiling GNU tools on QNAP box - busybox linux

1. Use the ipkg utility to install the following - not exhaustive - list

  1. gcc
  2. sed
  3. pcre
  4. pcre-dev 
  5. gmp 
  6. optware-devel

gcc and sed are the important ones - without those, configure won't run

2. Set the LD_LIBRARY_PATH to /opt/lib

3. Set C_INCLUDE_PATH/CPLUS_INCLUDE_PATH to /opt/include

3. run  configure, make and install in the usual way.