Monday, April 8, 2019

Compiling source code (by Autotools) of application in FFP


If you want to compile source code of application by autotools in FFP-0.7 enviroment of NAS, you can commend below steps :

1. Download source code of application
# wget http://../source-code-application.tar.xz

2. Uncompress (-x) source code
# tar -xvf source-code-application.tar.gz

3. Auto Configurate
# cd source-code-application
# autoreconf -i
# ./configure --prefix=/ffp

4. Compile Application
 given the install folder in temp4new

# make
# mkdir /mnt/HD_a2/build/temp4new
# DESTDIR=//mnt/HD_a2/build/temp4new make install

6. Compress (-c) Application
# cd /mnt/HD_a2/build/temp4new
tar -cvf source-code-application-oarm-0.txz ffp

* remark: a. remove -J to uncpmpress package for performance 

7. Install (-i) / Upgrade (-u) Applictaion
# funpkg -u source-code-application-oarm-0.txz

No comments:

Post a Comment